Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Issue 397593004: Add git cherry picking extension (Closed)

Created:
6 years, 5 months ago by smut
Modified:
6 years, 4 months ago
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, iannucci+depot_tools_chromium.org, ilevy-cc_chromium.org
Project:
tools
Visibility:
Public.

Description

Add git cherry picking extension This extension uploads a fake cherry pick-style diff to rietveld with a modified project parameter. The modified project is intended to be used by the commit queue to attempt to land the change on a branch. This works by grabbing the parent of the targeted revision and generating the diff. It is intended to be used to CQ trivial cherry picks which apply cleanly on top of other branches without conflicts. BUG=387111 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=286273

Patch Set 1 : #

Total comments: 14

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 5

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+324 lines, -40 lines) Patch
A + git-cherry-pick-upload View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A git_cherry_pick_upload.py View 1 2 3 4 5 6 1 chunk +144 lines, -0 lines 0 comments Download
A + man/html/git-cherry-pick-upload.html View 1 2 3 4 5 5 chunks +37 lines, -39 lines 0 comments Download
A man/man1/git-cherry-pick-upload.1 View 1 2 3 4 5 1 chunk +89 lines, -0 lines 0 comments Download
A man/src/_git-cherry-pick-upload_desc.helper.txt View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A man/src/git-cherry-pick-upload.txt View 1 2 3 4 5 1 chunk +35 lines, -0 lines 0 comments Download
A man/src/git-cherry-pick-upload.demo.1.sh View 1 2 3 4 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
smut
A cherry picking prototype. Sample cherry picked CL: https://chromereviews.googleplex.com/63797016. The goal here is to upload ...
6 years, 5 months ago (2014-07-15 21:57:44 UTC) #1
ghost stip (do not use)
seems like this should just be part of git cl upload, right? I guess that ...
6 years, 5 months ago (2014-07-15 22:21:51 UTC) #2
smut
On 2014/07/15 22:21:51, stip wrote: > seems like this should just be part of git ...
6 years, 5 months ago (2014-07-15 22:29:29 UTC) #3
agable
https://chromiumcodereview.appspot.com/397593004/diff/30001/git_asdf.py File git_asdf.py (right): https://chromiumcodereview.appspot.com/397593004/diff/30001/git_asdf.py#newcode24 git_asdf.py:24: author = run('config', 'user.email') use config() from git_common, rather ...
6 years, 5 months ago (2014-07-15 22:47:20 UTC) #4
smut
https://chromiumcodereview.appspot.com/397593004/diff/30001/git_asdf.py File git_asdf.py (right): https://chromiumcodereview.appspot.com/397593004/diff/30001/git_asdf.py#newcode24 git_asdf.py:24: author = run('config', 'user.email') On 2014/07/15 22:47:20, agable wrote: ...
6 years, 5 months ago (2014-07-16 17:34:35 UTC) #5
iannucci
To be clear, this is not really a cherry pick, but just uploading a diff ...
6 years, 5 months ago (2014-07-21 23:24:39 UTC) #6
smut
On 2014/07/21 23:24:39, iannucci wrote: > To be clear, this is not really a cherry ...
6 years, 5 months ago (2014-07-22 17:52:46 UTC) #7
iannucci
On 2014/07/22 17:52:46, smut wrote: > On 2014/07/21 23:24:39, iannucci wrote: > > To be ...
6 years, 5 months ago (2014-07-22 18:44:34 UTC) #8
iannucci
On 2014/07/22 18:44:34, iannucci wrote: > On 2014/07/22 17:52:46, smut wrote: > > On 2014/07/21 ...
6 years, 5 months ago (2014-07-22 18:46:13 UTC) #9
smut
On 2014/07/22 18:46:13, iannucci wrote: > On 2014/07/22 18:44:34, iannucci wrote: > > On 2014/07/22 ...
6 years, 5 months ago (2014-07-22 22:09:13 UTC) #10
iannucci
On 2014/07/22 22:09:13, smut wrote: > On 2014/07/22 18:46:13, iannucci wrote: > > On 2014/07/22 ...
6 years, 5 months ago (2014-07-22 22:16:03 UTC) #11
smut
On 2014/07/22 22:16:03, iannucci wrote: > On 2014/07/22 22:09:13, smut wrote: > > On 2014/07/22 ...
6 years, 5 months ago (2014-07-22 22:21:23 UTC) #12
iannucci
On 2014/07/22 22:21:23, smut wrote: > On 2014/07/22 22:16:03, iannucci wrote: > > On 2014/07/22 ...
6 years, 5 months ago (2014-07-22 22:34:08 UTC) #13
smut
On 2014/07/22 22:34:08, iannucci wrote: > On 2014/07/22 22:21:23, smut wrote: > > On 2014/07/22 ...
6 years, 5 months ago (2014-07-22 22:36:14 UTC) #14
smut
I've added a manpage entry for git-asdf. Does anyone want to propose a useful name? ...
6 years, 5 months ago (2014-07-23 21:42:44 UTC) #15
agable
On 2014/07/23 21:42:44, smut wrote: > I've added a manpage entry for git-asdf. Does anyone ...
6 years, 4 months ago (2014-07-28 21:31:55 UTC) #16
smut
git-cherry-pick-upload
6 years, 4 months ago (2014-07-29 18:38:53 UTC) #17
iannucci
lgtm, Can probably beef up the CL description a smidge. https://codereview.chromium.org/397593004/diff/150001/man/src/git-cherry-pick-upload.demo.1.sh File man/src/git-cherry-pick-upload.demo.1.sh (right): https://codereview.chromium.org/397593004/diff/150001/man/src/git-cherry-pick-upload.demo.1.sh#newcode4 ...
6 years, 4 months ago (2014-07-29 18:41:35 UTC) #18
smut
The CQ bit was checked by smut@google.com
6 years, 4 months ago (2014-07-29 18:54:35 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/smut@google.com/397593004/170001
6 years, 4 months ago (2014-07-29 18:55:17 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-07-29 18:57:09 UTC) #21
commit-bot: I haz the power
Presubmit check for 397593004-170001 failed and returned exit status 1. Running presubmit commit checks ...
6 years, 4 months ago (2014-07-29 18:57:10 UTC) #22
smut
The CQ bit was checked by smut@google.com
6 years, 4 months ago (2014-07-29 18:59:04 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/smut@google.com/397593004/190001
6 years, 4 months ago (2014-07-29 18:59:21 UTC) #24
commit-bot: I haz the power
Change committed as 286273
6 years, 4 months ago (2014-07-29 19:01:15 UTC) #25
smut
https://codereview.chromium.org/397593004/diff/150001/man/src/git-cherry-pick-upload.txt File man/src/git-cherry-pick-upload.txt (right): https://codereview.chromium.org/397593004/diff/150001/man/src/git-cherry-pick-upload.txt#newcode12 man/src/git-cherry-pick-upload.txt:12: 'git cherry-pick-upload' On 2014/07/29 18:41:35, iannucci wrote: > should ...
6 years, 4 months ago (2014-07-29 22:15:44 UTC) #26
iannucci
6 years, 4 months ago (2014-07-29 22:53:01 UTC) #27
Message was sent while issue was closed.
On 2014/07/29 22:15:44, smut wrote:
>
https://codereview.chromium.org/397593004/diff/150001/man/src/git-cherry-pick...
> File man/src/git-cherry-pick-upload.txt (right):
> 
>
https://codereview.chromium.org/397593004/diff/150001/man/src/git-cherry-pick...
> man/src/git-cherry-pick-upload.txt:12: 'git cherry-pick-upload'
> On 2014/07/29 18:41:35, iannucci wrote:
> > should have example options here, probably -b <local_branch_ref>
> > <hash_to_cherry_pick>
> 
> Done.
> 
>
https://codereview.chromium.org/397593004/diff/150001/man/src/git-cherry-pick...
> man/src/git-cherry-pick-upload.txt:19: and then uploads that diff to rietveld.
> On 2014/07/29 18:41:35, iannucci wrote:
> > This paragraph is confusing. I think you mean 
> > 
> > It cherry-picks '<hash>' onto the specified branch, using your local clone's
> > state of the branch. Because of this, make your local branch ref is
up-to-date
> > (using git-fetch) before using this command. Otherwise the CL that this
> uploads
> > may not apply cleanly to the branch when you try to land it.
> > 
> > mebbeh?
> 
> It doesn't cherry pick the hash onto anything. It finds the parent of the
hash,
> generates the diff, and uploads that diff to rietveld with a modified
'project'
> parameter.

oh, right. okie dokie.

Powered by Google App Engine
This is Rietveld 408576698