--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
Interesting. I would find it very confusing if a single rietveld issue
had multiple commits. I've always assumed that if you needed to tie N
commits together you'd do that using a bug.
Our tools do not work well for multiple commits on a single review page. Among other reasons:
- It generates confusing source history where the same description could get listed twice.
- It sets a precedent of LGTMing an idea instead of code.
Once an issue number is approved, it's approved. Reusing the issue sidesteps our approval process.
I feel that if a patch got reverted, by default we should ask for a fresh lgtm before a reland (with lots of exceptions to this rule).John, would Scott's suggestion of uploading the original CL before further hacking be sufficient for your workflow?
--
+1 to what John, Albert, and Darin said.
Nico
What problem was this solving? Based on the thread so far, it seems to just preclude a reasonable use case. I'm not seeing the upside.
-- If I see 3 patchsets on a page, and it says committed at the top, is patchset 3 committed? Or maybe patchset 2 was committed and the author uploaded patchset 3 in preparation for relanding?
I can't comment on the reason for the presubmit check, however, a similar issue: In http://crbug.com/162012 I filed a request for disallowing uploading new patchsets to a closed review.The reason for this is that our tools fail badly on closed issues (e.g. tryjobs don't start).
I guess that's mainly because they don't scanned closed issues. Rather than silently failing, my reasoning is, we should bail out early.
You can work around this restriction by opening the issue before uploading. Then our tools also work again (somewhat, the CQ is still confused about LGTMs).
Coming back to the original topic of this thread (the presubmit check). I personally prefer using a fresh review. I realize that there are several short-comings, however, like not easily seeing the delta to the last committed version, or having to manually add the old reviewers.
Aside from that, I'd prefer a uniform way.I wonder whether most of the concerns (workflows we got used to will break) could be adressed by adding something like git cl revert and git cl reland: They'd both take either a rietveld issue number of git hash, create a fresh branch with the revert or cl applied, do the necessary setup of the new issue (first upload the old version in case of the reland, add all reviewers, for a revert query a reason to add to the description, pick the right reviewer)?
I didn't realize that some were using this as a regular workflow; apologies for not proposing this in advance.IsaacOn Tue, Dec 4, 2012 at 10:42 PM, Darin Fisher <da...@chromium.org> wrote:
What problem was this solving? Based on the thread so far, it seems to just preclude a reasonable use case. I'm not seeing the upside.
1) To encourage developers to pick a title for each commit, even for a reland with minor changes. I find multiple commits with the same description pretty confusing and I suspect I am not alone.
2) To make rietveld issues less confusing.-- If I see 3 patchsets on a page, and it says committed at the top, is patchset 3 committed? Or maybe patchset 2 was committed and the author uploaded patchset 3 in preparation for relanding?
-- The review url is included in commit #1 svn logs. But the review might no longer be about commit #1.
On Wed, Dec 5, 2012 at 1:47 AM, Isaac Levy <il...@chromium.org> wrote:
I didn't realize that some were using this as a regular workflow; apologies for not proposing this in advance.IsaacOn Tue, Dec 4, 2012 at 10:42 PM, Darin Fisher <da...@chromium.org> wrote:
What problem was this solving? Based on the thread so far, it seems to just preclude a reasonable use case. I'm not seeing the upside.
1) To encourage developers to pick a title for each commit, even for a reland with minor changes. I find multiple commits with the same description pretty confusing and I suspect I am not alone.Developers can change the description after reuploading. Note that since uploading to the same issue is in the case of relands, having the same description _is_ the norm.2) To make rietveld issues less confusing.-- If I see 3 patchsets on a page, and it says committed at the top, is patchset 3 committed? Or maybe patchset 2 was committed and the author uploaded patchset 3 in preparation for relanding?Anthony's suggestion of listing the patchset that the commit queue used is another solution to this.-- The review url is included in commit #1 svn logs. But the review might no longer be about commit #1.I don't understand this comment. A reland is the same patch! It might have an extra fix, say for a platform that wasn't in the tryjobs, but the comments in the review still apply. Disassociating them makes it harder when going back through svn history and trying to understand why a particular line was changed.
Peter Mayo | | Waterloo | | pete...@google.com | | 519-880-3439 |
On Wed, Dec 5, 2012 at 7:47 AM, John Abd-El-Malek <j...@chromium.org> wrote:
On Wed, Dec 5, 2012 at 1:47 AM, Isaac Levy <il...@chromium.org> wrote:
I didn't realize that some were using this as a regular workflow; apologies for not proposing this in advance.IsaacOn Tue, Dec 4, 2012 at 10:42 PM, Darin Fisher <da...@chromium.org> wrote:
What problem was this solving? Based on the thread so far, it seems to just preclude a reasonable use case. I'm not seeing the upside.
1) To encourage developers to pick a title for each commit, even for a reland with minor changes. I find multiple commits with the same description pretty confusing and I suspect I am not alone.Developers can change the description after reuploading. Note that since uploading to the same issue is in the case of relands, having the same description _is_ the norm.2) To make rietveld issues less confusing.-- If I see 3 patchsets on a page, and it says committed at the top, is patchset 3 committed? Or maybe patchset 2 was committed and the author uploaded patchset 3 in preparation for relanding?Anthony's suggestion of listing the patchset that the commit queue used is another solution to this.-- The review url is included in commit #1 svn logs. But the review might no longer be about commit #1.I don't understand this comment. A reland is the same patch! It might have an extra fix, say for a platform that wasn't in the tryjobs, but the comments in the review still apply. Disassociating them makes it harder when going back through svn history and trying to understand why a particular line was changed.+1. This is the logical way to do it. On the few occasions I've had to walk back the history where it was done differently I found it extremely confusing.
I wonder whether most of the concerns (workflows we got used to will break) could be adressed by adding something like git cl revert and git cl reland: They'd both take either a rietveld issue number of git hash, create a fresh branch with the revert or cl applied, do the necessary setup of the new issue (first upload the old version in case of the reland, add all reviewers, for a revert query a reason to add to the description, pick the right reviewer)?
On Wed, Dec 5, 2012 at 12:11 AM, Jochen Eisinger <joc...@chromium.org> wrote:
I wonder whether most of the concerns (workflows we got used to will break) could be adressed by adding something like git cl revert and git cl reland: They'd both take either a rietveld issue number of git hash, create a fresh branch with the revert or cl applied, do the necessary setup of the new issue (first upload the old version in case of the reland, add all reviewers, for a revert query a reason to add to the description, pick the right reviewer)?I vote for having "git cl reland" either way - whether the same issue is used or not, it could populate the description with all of the useful metadata about the reland (the original issue number if applicable, the land revision, the revert revision, and a placeholder for the reason for revert and explanation of the fix to re-land.)
I added a note to the bug Ben filed.- Dominic
+1 to what John, Albert, and Darin said.
On Tue, Dec 4, 2012 at 10:31 PM, John Abd-El-Malek <j...@chromium.org> wrote:It's abundantly clear now, but I missed this last night. I'm fine w/
>
>
> On Tue, Dec 4, 2012 at 9:33 PM, Dirk Pranke <dpr...@chromium.org> wrote:
>>
>> Interesting. I would find it very confusing if a single rietveld issue
>> had multiple commits. I've always assumed that if you needed to tie N
>> commits together you'd do that using a bug.
>
>
> To be clear, I'm not talking about different changes. I'm talking about the
> same change with fixes after a reland.
>
re-using the same issue to reland a patch w/ fixes. More importantly,
I don't think a new lgtm should always be required, new issue or no
(there are times when the change might justify it, of course).