-
Notifications
You must be signed in to change notification settings - Fork 345
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
Add support for pushing stacked reviews to GitHub, GitLab, etc. #485
Comments
I love this feature in Sapling and would love to see it in Jujutsu as well! |
|
See also https://github.com/ejoffe/spr and @sunshowers's fork, which has experimental jj support https://github.com/sunshowers/spr |
Note that spr (and all other stacked diff tooling for GH, afaik) requires that you have push access to the repo you're proposing changes to. |
For anyone who stumbles across this issue, I have a little nushell script that gets me some of the way there. https://github.com/eopb/jj-gh-pr.nu Even if you don't use nushell, maybe it'll still be useful to get ideas to adapt for your own scripts that you can use until |
in the spirit of @eopb 's comment, here's some bash for submitting stacked PRs to graphite.dev from a jujutsu repo: https://gist.github.com/riwsky/38b17ea3fca70acf20a18c752663aff4 |
[topic: one command to handle all forges? replying to @dbarnett's comment in this thread since this is the forge-agnostic thread]
I'm no longer in favor —
Reproducing some messages from the Discord thread here:
[topic: verb choice]
[topic: standardization and code sharing] In git-branchless, I haven't been able to abstract over the different forges that much. The current common interface is here: In particular, I haven't been able to abstract over topologically submitting updates and setting dependencies, although it might be possible.
Ideally we would also reuse certain UI components to make the output formatting consistent.
|
Another possible integration is with aviator.co and their stacked PRs |
Description
For users who prefer one review per commit (as we do in this project), it would be useful to have some support for pushing a stack of commits and have it automatically create (or reuse) PRs for each commit. In the case of GitHub, we should also set the base branch appropriately then. I don't know about GitLab or any other providers we would care about.
Maybe we'd want commands like
jj github push
andjj gitlab push
or something like, to make it clear that they're specifically for those providers.The text was updated successfully, but these errors were encountered: