Workflow: posting draft patches that are not ready for review yet
Categories
(Conduit :: moz-phab, enhancement, P2)
Tracking
(Not tracked)
People
(Reporter: botond, Assigned: glob)
Details
(Keywords: conduit-triaged)
Attachments
(1 file)
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
Comment 3•7 years ago
|
||
Instead of mucking around more with how we handle draft mode, we're going to add a feature to moz-phab for ignoring reviewers present in commit messages (similar to the feature from MozReview that :botond mentioned).
Updated•7 years ago
|
for example: a --wip switch that doesn't set any reviewers on the revision and marks it as "changes planned".
Updated•7 years ago
|
Comment 5•7 years ago
|
||
--wip is already implemented - do you think we should remove reviewers recognition for this bug?
(In reply to Piotr Zalewa [:zalun] from comment #5)
--wipis already implemented - do you think we should remove reviewers recognition for this bug?
yes
| Reporter | ||
Comment 9•6 years ago
|
||
Thank you for implementing this!
| Reporter | ||
Comment 10•6 years ago
|
||
Actually, I may not be clear on how to use this.
So when I initially want to post a patch series that's not ready for review yet, I run:
moz-phab submit --wip <first> <last>
This creates revisions that are marked as "plan changes", and are also in the "draft" state, and there are no reviewers assigned to them even though there were "r=<nick>" strings in the commit message. So far, so good.
Later, I update the patches and they're ready for review. I run:
moz-phab submit <first> <last> # no --wip option
Now the revisions are no longer marked as "plan changes" (good), and they have reviewers assigned (good), but they're still in the draft state (not good, I think)? Am I supposed to be passing some other flag to get them out of the draft state?
| Assignee | ||
Comment 11•6 years ago
|
||
We don't use the draft state for its intended purpose (WIP patches); instead it's a transient state which is removed once Bugzilla has updated the revision to match the associated bug's security controls. If you can provide an example revision I'll investigate.
| Reporter | ||
Comment 12•6 years ago
|
||
(In reply to Byron Jones ‹:glob› 🎈 from comment #11)
If you can provide an example revision I'll investigate.
For example, D32774 is a patch I've submitted using moz-phab submit --wip hours ago. It's still in the draft state. Should it not be?
| Assignee | ||
Comment 13•6 years ago
|
||
Looks like you found a different bug - filed as bug 1555409.
Are you able to provide the revision where the transition from WIP to GTG didn't remove the draft state?
| Reporter | ||
Comment 14•6 years ago
|
||
(In reply to Byron Jones ‹:glob› 🎈 from comment #13)
Are you able to provide the revision where the transition from WIP to GTG didn't remove the draft state?
I just updated the same patch D32774 to not be WIP and it's still in the draft state.
Comment 15•6 years ago
|
||
(In reply to Botond Ballo [:botond] from comment #14)
(In reply to Byron Jones ‹:glob› 🎈 from comment #13)
Are you able to provide the revision where the transition from WIP to GTG didn't remove the draft state?
I just updated the same patch D32774 to not be WIP and it's still in the draft state.
In the action menu, is there an request review choice? when a revision is ready for review, choosing that action should take it out of the draft state. BMO will not move a revision out of the draft state if it is set to "changes planned", etc.
| Reporter | ||
Comment 16•6 years ago
|
||
(In reply to David Lawrence [:dkl] from comment #15)
(In reply to Botond Ballo [:botond] from comment #14)
(In reply to Byron Jones ‹:glob› 🎈 from comment #13)
Are you able to provide the revision where the transition from WIP to GTG didn't remove the draft state?
I just updated the same patch D32774 to not be WIP and it's still in the draft state.
In the action menu, is there an request review choice? when a revision is ready for review, choosing that action should take it out of the draft state. BMO will not move a revision out of the draft state if it is set to "changes planned", etc.
Yes, there is. My hope, though, was that running moz-phab submit without the --wip option would accomplish this, without having to interact with the Phabricator UI.
I mean, suppose I have a 20-patch patch series that I previously posted as a WIP and now want to post for review. I certainly don't want to be performing a UI action for each of the 20 patches.
| Assignee | ||
Comment 17•6 years ago
|
||
let's move this discussion to bug 1555409
Description
•