-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Loss of title and description when doing cherry_picker --continue
#7
Comments
This happened to me when I did |
@brettcannon Did you use In @serhiy-storchaka's situation, when there are more than one commits in a branch, GitHub will prepopulate the PR title with the branch name. Is this what you meant by losing the title and description? One way to solve this is to have cherry_picker create the PR using GitHub API / gidgethub, where we can specify the PR title and description ourselves instead of relying on GitHub web UI. Printing out the original commit message for copy-pasting is the easy way out for now 😛 |
In PR #109 the commit message is printed out so you can copy-paste. |
@Mariatta it was with |
This may also align with #107, which we're pretty sure will need a "persistent scratch-pad" where cherry-picker can leave notes for itself in order to remember the original command line options for use with Probably the simplest option for that would be a JSON file with a config dictionary in it, but if we made it officially an opaque format (e.g. |
Now with the work done in #295/#277 it should possible to implements storing more state-related data in |
I also ran into the same issue recently when manually fixing some conflicts. I just want to point out that it is now apparently possible to supply the title and description (as Mariatta suggested originally) inside the query string of the Github PR url i.e. We could just add the title and description to this url: cherry-picker/cherry_picker/cherry_picker.py Lines 206 to 207 in e4ece75
|
Maybe I'm doing something wrong, but when I have used
cherry_picker --continue
I inevitably lose the title and description I would have ended up with had there not been any merge conflict. Not sure if there's any way to prevent that or to output what the message would have been so I can copy-and-paste it into the eventual PR?The text was updated successfully, but these errors were encountered: