-
Notifications
You must be signed in to change notification settings - Fork 62
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
Ability to specify a commit message for a non-interactive braid push
#112
Comments
braid push
I'm glad you've found Braid useful! We don't have a good way right now to collect data about who is using Braid and how, so these bits of information in issue reports are nice. I don't want to change the behavior of Another issue: I don't think we want to remove the "Braid: " from the commit messages automatically generated by commands such as I leave it to you whether you're interested in doing the work to upstream the feature now. Note that it would also require a simple test case. Or we can wait and see if there's evidence of demand from more users. |
You are absolutely right, a better approach would be to do this with a flag, or even a dedicated braid commit command? Another general flaw, not realted to the patch is that what gets pushed in the subrepo is kind of like a sqash commit, it "forgets" previous commits. Btw, there is also a patch to apply to braid's ruby-main dependency, which complains about the finalizers. We think we fixed it here. Not sure I got the time to work on a more general solution to commit messages in braid. |
Yes, that would probably be nice to have, but it's a bigger project to figure out the right semantics and a reasonable implementation. Feel free to file a separate issue and we can see if there's enough demand to justify the work. In the meantime, users for whom this is a major problem might be better served by Git submodules (or for that matter, by maintaining a fork repo of the subproject as they would when using a Git submodule, but then bringing that fork repo into the superproject using Braid instead of a Git submodule).
Yes, |
We have recently migrated to braid from git-subrepo, works really great.
Perfect for our use case, we got 5000+ package repos all added to one controlling braid repo.
https://gitea.artixlinux.org/pkgbuild/main
Anyhow, we slightly patched the braid, so that the commit message is passed from the local head to the push of a given added repo.
The commit editor is thus not popping up.
I am not sure you want this patch upstream, but I could open a PR any time if there is interest.
https://github.com/artix-linux/braid/tree/no-editor
The text was updated successfully, but these errors were encountered: