Hi contributors!

Cyril Bur cyrilbur at gmail.com
Wed May 25 11:04:52 AEST 2016


On Tue, 24 May 2016 15:03:50 -0500
Patrick Williams <patrick at stwcx.xyz> wrote:

> On Tue, May 24, 2016 at 03:30:00PM +1000, Cyril Bur wrote:
> > ...
> > Sincerely,
> > 
> > Cyril
> > _______________________________________________  
> 
> Cyril,
> 
> You wrote a lot.
> 
> On commit messages:
>     I totally agree.  Poor commit messages are a pet peeve of mine as
>     well.  I also recommend http://chris.beams.io/posts/git-commit/ .
>     Going forward, I will attempt to do a better job of encouraging
>     better formed messages in reviews.
> 

Someone in ozlabs (who heard me ranting over the past few days as I wrote all
that) pointed out that part of the issue there is that good commit or bad
commit message, code gets merged. There is no incentive for contributors to put
any effort there.

> On git documentation:
>     Thanks for the write up.  Rather than put yet another git tutorial
>     in a wiki, I would prefer we point to a good existing tutorial.  For
>     some reason new people seem to always want a "cookbook" of simple
>     git commands.  [Un]Fortunately, nothing in git is that simple.

Yeah I won't put it in the wiki. I didn't expect to have to write quite as much
myself, when I started I thought I'd put a series of links to existing stuff
but all I could find was the 'perfect workflow' style thing that didn't address
what I (hope) I did.

There's a blog I sometimes contribute to, I think I'll expand a bit and write a
full post there if even more googling doesn't yield a good existing tutorial

> 
> On Reviews:
>     We do have a problem with some people reviewing in Github
>     (Reviewable.io) and some people reviewing via mailing list.  We also
>     have an issue with maintainers not ensuring all comments have been
>     addressed.
> 
>     We discussed at the Wed (5/18 PM for US) call last week how to do
>     reviews going forward.  We agreed to the following:
>         1) For OpenBMC specific packages we are going to set up a Gerrit
>            server for all code reviews.  There is a Github integration
>            module for Gerrit that allows mirroring pull requests into
>            Gerrit and replicating merged code back to Github.  Look for
>            this in the near future.

Word of this has peculated to us in Canberra. Admittedly a lot of us are stuck
in our ways for better and (probably worse). After the debacle involving
github/reviewable I will admit I wasn't thrilled to hear that some other tool
was being considered and we aren't just going to use mailing lists.

Joel did step in here and back Gerrit and say that it can be used to improve
productivity and not be a hindrance. Of course it remains to be seen if our
employer who fails at giving people correct emails solutions can give us a
'real and useable' Gerrit instance.

>         2) For packages we are modifying from upstream, we should use
>            upstream method (ie. mailing lists for kernel, yocto, etc.).
>            Patches accepted into the openbmc meta-layers should have
>            already be submitted upstream and have a reasonable
>            confidence about their long-term acceptance.
>         3) For packages we are _temporarily_ forking from upstream, to
>            do significant and focused development on, we can use either
>            Gerrit or this mailing list.  Eventually, changes should be
>            submitted, via path #2, upstream.
> 

Can't say I have strong opinions, 3 feels like it is just a subset of 2
though...

>     Once we get the Gerrit server in place, I plan to deprecate the
>     automatic pull-request mailer.
> 
> On 'Reply-All' issue with patches:
>     At some level, this is an intrinsic problem with Github.  People can

I was afraid of this

>     optionally set their Github profile to "Hide my email address
>     whenever possible."  The content for the cover letter comes from the
>     pull request information they have entered into the Github
>     web-field.  When my patch mailer gets the content from the pull
>     request to make the cover letter, it has to ask Github for their
>     email address.  For people who have hidden their email address in
>     their profile this yields something like "Joe Developer
>     <joey_d at users.github.com>" (I forget the exact format off the top of
>     my head).  Unfortunately, this means my auto-mailer and anyone
>     responding to the cover gets lots of bounces, so I disabled the
>     auto-cc on the cover.  (There is an obvious solution to filter out
>     the @...github.com email addresses but I haven't had the spare
>     cycles).
> 
>     For the code patches themselves, I use git-format-patch and
>     git-send-email and I don't think I suppress-cc at all.  That means
>     the author, per the commit message, should be cc'd.
> 
>     Like I said early, this script is planned to be deprecated at some
>     point in the not-too-distant future anyhow.

Sounds like the sooner we move away from the github solution the better, this
problem goes away once we inforce a 'this is through Gerrit' or 'this is
through the list' and github can stop polluting the list.

Looking forward to a new and improved openbmc soon!!

> 



More information about the openbmc mailing list