Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

add a "force" or "redo" command? #196

Closed
Pomax opened this issue Sep 25, 2018 · 3 comments
Closed

add a "force" or "redo" command? #196

Pomax opened this issue Sep 25, 2018 · 3 comments

Comments

@Pomax
Copy link

Pomax commented Sep 25, 2018

Sometimes someone new to dependabot PRs will update a file in its commit, without a way to undo that, so dependabot will go "sorry, someone else edited my files, I can't rebase anymore now" even though we don't care about whether or not it "can", just that it "does" =)

Would it be possible to add a new command like @dependabot force-rebase or @dependabot redo, to make it throw away any changes past its own and only redoing the dependency bump based on whatever master is right now?

@greysteil
Copy link
Contributor

That's a really good suggestion. I'll try to get it added today.

@Pomax
Copy link
Author

Pomax commented Sep 25, 2018

Thanks so much! The "redo" command is probably the better of the two, since that suggests a do-over rather than a rebase (which normally includes all changes made).

@greysteil
Copy link
Contributor

Took a little longer than I though but I've just shipped this as @dependabot recreate (I couldn't think of a perfect name for it, as recreate suggests that Dependabot would close the PR and open a new one, but I think that's closest to what's happening. If folks get confused I may change it so that it actually does close the PR and open a new one).

Thanks for the feedback!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants