You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Question: how do you make a PR that included WIP in a commit no longer a WIP #53
Got it. I'm familiar with that process. So basically have to get any
commits with WIP out of the PR. Sounds like Labels and Titles are the way
to go then for ease of use. Unless you're working on something that you're
quite sure will always be a WIP (e.g. disposable prototype) and want to
make it difficult to convert to non-WIP.
Yeah, it'd be nice if there was a way to disable the check on commit messages. Having to tell developers that they need to rebase their commits (some may not be comfortable with rewriting git history, etc) isn't great (especially for what is otherwise a very simple low overhead tool).
Reacted by Alexey Alekhin, Rory Koehein, Mona, Tomasz Wójcik, Stephen Tse, Steve "Ardalis" Smith, Zeke Sikelianos, Pedro Carrasco, Chad Walstrom, Mohammed Asif and 10 more
Having to tell developers that they need to rebase their commits (some may not be comfortable with rewriting git history, etc) isn't great (especially for what is otherwise a very simple low overhead tool).
You don’t have to, you can use GitHub’s "squash & merge" button. The WIP App setting the status to "pending" will then just serve as a reminder to not accidentally merge it with the other two options.
An alternative would be to remove the check in commit messages entirely, I would not make it configurable in order to keep the WIP bot as simple as it is right now
Reacted by Alexey Alekhin, Michael Warkentin, Craig Harley, Tomasz Wójcik, Steve "Ardalis" Smith, Arnaud Benhamdine, Chad Tolkien, Pedro Carrasco, Chad Walstrom, Christopher Dignam and 4 more
Reacted by Pedro Carrasco, Chad Walstrom, Motonori Iwata and Johan Andersson
@gr2m squash and merge is subject to the same branch protection configs as the other types of merges isn't it? So developers would still be blocked if we've configured it that way?
I would be 👍 to removing the check from commit messages, but I know that was originally requested by other people. Maybe worth a poll or similar to see how people feel about it?
squash and merge is subject to the same branch protection configs as the other types of merges isn't it? So developers would still be blocked if we've configured it that way?
ah yes of course, sorry I am mostly an admin on the repos I maintain so I can get around that.
Can you just not use it organizationally and instead rely on the labels and
issue titles? What's the harm in keeping it in the tool?
I’m not sure what you mean exactly? How would you tell the WIP bot to set the state to success if there are still WIP commits on the PR?
I’m not sure what you mean exactly? How would you tell the WIP bot to set the state to success if there are still WIP commits on the PR?
I guess I’m saying don’t use commits to indicate WIP ever and instead using titles/labels. That way you won't have to worry about trying to unset the status via commit later.
Typically a WIP commit should always be the last commit (e.g. synchronizing between machines), and later be --amended. Having WIP commits merged to master seems wrong to me. Commits should be atomic, i.e. any commit should work on its own.
I have a commit in this pull that states that it is a work in progress design (commit is atomic though). Not so great that this makes the thing not mergable (without admin rights)
I'm either for disabling that check OR when you add a wip-ignore label (or similar) to the pull it will make it mergable.
I can understand making a PR a work in progress when a commit message includes "work in progress" or something similar. But the WIP check should only look at the most recent commit message and, if it doesn't include the phrase, allow the PR to be merged.
Reacted by Steve "Ardalis" Smith, Pedro Carrasco, Chad Walstrom, Ben Menesini, Geoff Hubbard, Scott Addie, Explore, Te Riu Warren, Bill Wagner, Sebastian Scholle and 7 more
All revenue from the "pro" plan will be donated to Rails Girls Summer of Code. I only added the paid plan to make the WIP a real-life GitHub App example. If you cannot pay but depend on the pro features you can add your account with an explanation to the pro-plan-for-free.js file.
@gr2m we're trying to use @wip ready for review but it doesn't seem to be doing anything - any pointers / debugging? We're on the enterprise plan afaik.
Activity
gr2m commentedon Mar 8, 2018
Thanks for opening the issue, that’s a very good question, I think we should address it in the README and the app’s description.
You’ll have to update the commits for the pull request. You usually do that locally on your machine and then
git push -fto the branch of the pull request. There are some tutorials out there, my fav is https://egghead.io/courses/how-to-contribute-to-an-open-source-project-on-github, the final chapters are about cleaning up the commit history of a pull requestbradical commentedon Mar 8, 2018
mwarkentin commentedon Mar 14, 2018
Yeah, it'd be nice if there was a way to disable the check on commit messages. Having to tell developers that they need to rebase their commits (some may not be comfortable with rewriting git history, etc) isn't great (especially for what is otherwise a very simple low overhead tool).
bradical commentedon Mar 14, 2018
gr2m commentedon Mar 14, 2018
You don’t have to, you can use GitHub’s "squash & merge" button. The WIP App setting the status to "pending" will then just serve as a reminder to not accidentally merge it with the other two options.
Does that work for you?
gr2m commentedon Mar 14, 2018
An alternative would be to remove the check in commit messages entirely, I would not make it configurable in order to keep the WIP bot as simple as it is right now
mwarkentin commentedon Mar 14, 2018
@gr2m squash and merge is subject to the same branch protection configs as the other types of merges isn't it? So developers would still be blocked if we've configured it that way?
I would be 👍 to removing the check from commit messages, but I know that was originally requested by other people. Maybe worth a poll or similar to see how people feel about it?
bradical commentedon Mar 14, 2018
gr2m commentedon Mar 14, 2018
ah yes of course, sorry I am mostly an admin on the repos I maintain so I can get around that.
I’m not sure what you mean exactly? How would you tell the WIP bot to set the state to success if there are still WIP commits on the PR?
bradical commentedon Mar 16, 2018
I guess I’m saying don’t use commits to indicate WIP ever and instead using titles/labels. That way you won't have to worry about trying to unset the status via commit later.
gr2m commentedon Mar 16, 2018
yeah I’m thinking of doing that.
FranklinYu commentedon Mar 23, 2018
Typically a WIP commit should always be the last commit (e.g. synchronizing between machines), and later be
--amended. Having WIP commits merged to master seems wrong to me. Commits should be atomic, i.e. any commit should work on its own.panmona commentedon Apr 13, 2018
I have a commit in this pull that states that it is a
work in progressdesign (commit is atomic though). Not so great that this makes the thing not mergable (without admin rights)I'm either for disabling that check OR when you add a
wip-ignorelabel (or similar) to the pull it will make it mergable.rpetrusha commentedon May 9, 2018
I can understand making a PR a work in progress when a commit message includes "work in progress" or something similar. But the WIP check should only look at the most recent commit message and, if it doesn't include the phrase, allow the PR to be merged.
22 remaining items
martincostello commentedon Sep 12, 2018
steveoh commentedon Sep 12, 2018
martincostello commentedon Sep 12, 2018
gr2m commentedon Sep 12, 2018
steveoh commentedon Sep 12, 2018
gr2m commentedon Sep 14, 2018
steveoh commentedon Sep 15, 2018
gr2m commentedon Sep 16, 2018
gr2m commentedon Oct 14, 2018
Pending status override is here 🎉
I’ve pushed it to the beta version of the WIP app and would love all your help testing it, please see my update in the 🤖📯 Updates issue.
Thank you all for your patience and help 🙏
gr2m commentedon Oct 23, 2018
🎉 This issue has been resolved in version 3.1.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀
gr2m commentedon Oct 24, 2018
you can now add
@wip ready to reviewto override a "pending" status, this requires the Pro plan: https://github.com/marketplace/wip.All revenue from the "pro" plan will be donated to Rails Girls Summer of Code. I only added the paid plan to make the WIP a real-life GitHub App example. If you cannot pay but depend on the pro features you can add your account with an explanation to the
pro-plan-for-free.jsfile.mwarkentin commentedon Dec 12, 2018
@gr2m we're trying to use
@wip ready for reviewbut it doesn't seem to be doing anything - any pointers / debugging? We're on the enterprise plan afaik.gr2m commentedon Dec 12, 2018
@mwarkentin Did you put the
@wip ready for reviewinto the pull request body or in a comment? It has to be in the pull request body right nowCan you share the PR URL, even if the repo is public? You can send me a twitter dm if you prefer: https://twitter.com/gr2m. I can check the logs