-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support DVCS #321
Comments
I set one of the repos in my meta repo linked above as an array with two git repos to see what it would do.
That's pretty dense, but the command that ran was:
And the problem is obviously that it ran a single command with both git repos, instead of the set of commands to add the additional repos after the first as push targets. |
interesting - wasn't aware you could have multiple push targets for a remote. meta-project is mostly just executing commands in child processes, so doesn't sound too difficult to create theoretically |
|
Found a sequence of commands that may be helpful. Requires Used like this:
|
all is just a name though, right? you could set up origin to push to many as well? |
Yeah, correct; technically |
🚀 Feature Proposal
DVCS, or Distributed Version Control Systems, like git, allow for code to be hosted in a distributed manner. I am now beginning to replicate my projects on 2, 3, 4 (more?!?) different source forges. I am also starting to convert at least one of these projects into a "distributed" meta repo using this tool (🛖1, 🧊2, 🧪3, 🐙4!).
My goal is for each sub-project to push to an "all" instead of an "origin", where "all" targets several remote repositories.
Motivation
Without this feature it seems that I'll need to not use most of this project's features and run lots of manual commands on each sub-project.
Example
meta git push all
would push to all.Of course I can already do
meta exec git push all
... So this feature request is about how to configure the multi-repo'd projects.Currently we have:
I'd like to have a way to run the necessary commands (as in my summary article already linked) to setup the "all" remote with many target repos. Perhaps a new command
distribute
:meta project distribute [folder (existing project)] [repo (new)] [remote name (default "all")]
And that would run something like this:
NOTES:
distribute
is run. If "all" already exists it will just fail that command, as follows:The text was updated successfully, but these errors were encountered: