-
Notifications
You must be signed in to change notification settings - Fork 66
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 nested vendor repositories #94
Comments
I assume the effect of The harder part would be nailing down the command-line usage. If we implement #63 first, it probably wouldn't be hard to generalize it to "find the nearest ancestor .braids.json of the working directory and treat that as the project root". But if we want to support I have way too long a backlog of other projects to do much more than provide friendly issue responses right now. But I think we would accept a contribution if you can convince us that the value justifies the added maintenance costs. Can you describe a complete example scenario (with specific projects and revisions) in which you'd want to use the feature? A side note: If the following sequence of steps occurs:
then the last step has a high risk of producing messy conflicts or even silently producing an unintended result. This is because
I'm flattered that you're interested in making such sophisticated use of Braid! But for this case, I think you're probably better off finding a real package manager with the features you need (here, coordinating versions of indirect dependencies) and then checking in the files and managing diffs on top of that. It might be possible to design a reasonable enhancement to Braid that would do the second part. If we just added the specific feature you described, I'm afraid you would just run into another missing package-manager feature that you need. |
Hello,
I would like to have a support for nested vendor repositories with a
.braids.json
file each.e.g. I have following repositories
my tree is looking:
On top-level I can run
braid update projectA
(which is of course working), but I would also like to run it for only a nested vendor repository, e.g.braid update projectA/frameworkA
orbraid update projectB/frameworkB/base
.In a next step also the
braid update
command should support the following call:braid update --url <url> [--branch <branch> | --tag <tag> | --revision <revision>]
e.g.
braid update --url http://...base.git --branch master
This command should lead to an update of all
base
repositories (found recursive within all.braids.json
file via given url). As a result eachbase
repository is updated with given branch/tag/revision (in this casemaster
branch) and also the correct.braids.json
file (in whichbase
is specified) is updated.Is there any chance to support this?
Best Regards,
Thorsten
The text was updated successfully, but these errors were encountered: