-
Notifications
You must be signed in to change notification settings - Fork 31
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
feature/question: Support for projects instead of labels? #184
Comments
Hi @codebytere 👋 In case you missed it |
@LekoArts hi! i did totally miss this, thanks for the ping! I'd be curious what your envisioned workflow would be for projects? e.g how would you monitor the lifecycle of a given backport? Depending on how it's implemented I don't think i'd be against it on principle, but labels provide more of a 1:1 mapping for the backport process in my estimation which is why i think it might ultimately be a simpler model 🤔 |
So what we currently do (and like) is via stages in a project: https://github.com/gatsbyjs/gatsby/projects/25
While writing this down I realize that we miss the tracking of the cherry-picked PR itself. Just for verbosity, with labels you track every stage, right?
Thanks for the tool and answer! :) |
@LekoArts yes! There are four possible states in the cycle - a PR destined for backport to let's say Then, once the PR is merged, the bot will check out a new branch off If either succeed, then it'll open up that new PR, update the original PR's label to say Additionally, the bot can track manual backports, so if I e.g. open up a PR and fix conflicts after the bot failed, and then include Last fun fact is the tracking works up the chain, so if i need a PR to go to 12, 11, and 10, and 12 is clean but 11 and 10 require the same manual, I can run the bot from the manual PR to 11 to target 10 and it'll track back to update the original. |
Thanks for the explanation! I think once we're settled with our major release this week 😅 we'll try it out with labels. Thanks again for the tool! :) |
Hello folks!
At https://github.com/gatsbyjs/gatsby we recently introduced a release process that includes the necessity for backports. We're only backporting to the current minor at the moment but already that feels like a hassle to do it all manual 😅 So we currently have a self-written CLI that interacts with GitHub's API to backport a specific PR (cherry-pick, create new PR, label it).
While researching better ways I stumbled upon your tool and really like it!
We're currently using a GitHub project (https://github.com/gatsbyjs/gatsby/projects/25) to organize all this. This tool uses labels to mark things for the bot.
So I guess this is more of an open-ended question:
Did you consider using projects instead of labels / why did you chose labels instead of a project?
At the moment we'd prefer project over labels as we already have - what feels like - too many labels. But we're surely not locked into this, open to changing this to labels after all.
We'll surely test it out nevertheless and if we'd after that still prefer project based, would you be open for accepting a PR from us adding this functionality? (Saying no is totally fine of course)
Thanks for the tool and taking the time to respond to this :)
The text was updated successfully, but these errors were encountered: