From: David Turner <dturner@twopensource.com>
To: Richard Ipsum <richard.ipsum@codethink.co.uk>
Cc: git@vger.kernel.org
Subject: Re: [PATCH 2/2] contrib/git-candidate: Add README
Date: Wed, 11 Nov 2015 15:15:54 -0500 [thread overview]
Message-ID: <1447272954.20147.36.camel@twopensource.com> (raw)
In-Reply-To: <20151111094816.GA2949@salo>
On Wed, 2015-11-11 at 09:48 +0000, Richard Ipsum wrote:
> >
> > > + (master)$ git candidate submit origin archiverepo
> > > + Review added successfully
> >
> > Is the contributor automatically (optionally) emailed on this? If not,
> > consider this a feature request for this.
>
> There's no server integration of any kind at the moment,
> this is clearly something we will want to add.
I don't think this needs server integration. It could just work like
git send-email and send the email from the local machine.
> > "git candidate diff" might be nice too to show the diff between v1 and
> > v2. You might even have "git candidate commit-diff" (or some better
> > name) so you can see which commit has changed in a changeset containing
> > multiple commits.
>
> Yes, we definitely want that. I think "git candidate diff" to diff
> between revisions would be sufficient, and it could take a list of files
> to diff as an arg?
That's a good start, but often I want to review per-patch, so it would
be nice (if complicated) to track the evolution of a patchset.
> > > + (master)$ git candidate review origin/archiverepo --vote +2
> > > + -m "Looks good, merging. Thanks for your efforts"
> > > + Review added successfully
> >
> > Is that +2 "+1 because I like it, +1 because I previously -1'd it?" If
> > so, it might be nice to have --replace-vote so you don't have to track,
> > "wait, I did -1, then +1, then -1 again..."
>
> Votes are per-review, perhaps they should simply be per-revision?
> Then --vote sets the vote for the revision and there's no need for
> a --replace-vote option?
> This would use user.name and user.email as identification.
I like votes being per-revision.
> > > + (master)$ git candidate submit origin archiverepo
> > > + Candidate was submitted successfully.
> >
> > I don't understand what the verb "submit" means here. Is it "mark this
> > as accepted"? If so, "accept" might be a better word.
>
> I'm tempted to change this to 'push', 'submit' comes from gerrit.
SGTM.
> > > + (master)$ git merge candidates/origin/archiverepo
> >
> > I would like "git candidate merge" to do a submit+merge the way that
> > pull does a fetch+merge. It seems like the common case. Also, if it
> > turns out at this point that there's a merge conflict, I might want to
> > back out the acceptance.
>
> There is currently no git-candidate-merge, I removed this recently
> because I decided that you can merge candidates with git-merge
> and that this is more flexible. Often a candidate will be rebased
> before it is merged, it would be nice to avoid having to create
> a merge command that needs to handle all the different cases for
> merging a candidate.
I like the convenience, but it could always be added later.
One more random note: it might be nice to have a Documentation/technical
article describing review storage.
next prev parent reply other threads:[~2015-11-11 20:16 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-10 12:56 [PATCH 0/2] git-candidate: git based patch tracking and review Richard Ipsum
2015-11-10 12:56 ` [PATCH 1/2] contrib: Add git-candidate subcommand Richard Ipsum
2015-11-10 12:56 ` [PATCH 2/2] contrib/git-candidate: Add README Richard Ipsum
2015-11-10 20:19 ` David Turner
2015-11-11 9:48 ` Richard Ipsum
2015-11-11 20:15 ` David Turner [this message]
2016-01-06 20:50 ` Sebastian Schuberth
2015-11-11 9:55 ` [PATCH 0/2] git-candidate: git based patch tracking and review Michael Haggerty
2015-11-11 15:12 ` Richard Ipsum
2015-11-14 8:17 ` Jeff King
2015-11-14 13:07 ` Junio C Hamano
2015-12-01 20:55 ` Jonathan Nieder
2015-12-01 21:00 ` Dave Borowitz
2016-01-06 15:49 ` Richard Ipsum
-- strict thread matches above, loose matches on Subject: below --
2015-10-14 17:30 [RFC] Git " Richard Ipsum
2015-10-14 17:30 ` [PATCH 2/2] contrib/git-candidate: Add README Richard Ipsum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1447272954.20147.36.camel@twopensource.com \
--to=dturner@twopensource.com \
--cc=git@vger.kernel.org \
--cc=richard.ipsum@codethink.co.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.