hi,
On Sun, Jan 18, 2015 at 11:00 PM, Dan Kortschak
<
dan.ko...@adelaide.edu.au> wrote:
> After suggestions by Vladimír regarding approaches to code review and
> git history, I have been trying out a code review workflow that works
> more like the rietveld/gerrit approach in its impact on the project
> history. It turns out this approach is already documented, e.g. [1].
>
> How do people feel about this approach and, regardless of the approach
> taken, formalising the code review/contribution process in a document?
I am fine with it.
I would even go one step further and use a git-merge with fast-forward
to have a more linear history.
requiring to squash the commits of the feature branch before the merge
and then merging with --no-ff presents us with a tree with "little
bubbles" of commits with much noise:
* | | | | 32e5070 Merge pull request #78 from sbinet/io-support
|\ \ \ \ \
| |_|/ / /
|/| | | |
| * | | | 16f372e (origin/io-support) mat64: implement Binary(Un)Marshaler
* | | | | e777627 Merge pull request #87 from gonum/errors
|\ \ \ \ \
| * | | | | f95ec98 Fixup error docs and drop Must
|/ / / / /
* | | | | 373197b Merge pull request #85 from gonum/de-zero
|\ \ \ \ \
| * | | | | b520df3 Remove receiver zeroing in Pow test
|/ / / / /
* | | | | 41e0763 Merge pull request #86 from gonum/usezeroed
(with a merge commit and a squashed-commit, you get 50% of
overhead/noise in the commit history)
I am not sure this can be achieved with vanilla github... (that's
probably why go went with gerrit+git-review)
-s