[OE-core] [PATCH] Add support for ccache builds with the SDK

Richard Purdie richard.purdie at linuxfoundation.org
Tue Sep 2 07:11:05 UTC 2014


On Tue, 2014-09-02 at 09:22 +0300, Fathi Boudra wrote:
> On 1 September 2014 21:04, Otavio Salvador <otavio at ossystems.com.br> wrote:
> > Laszlo,
> >
> > On Mon, Sep 1, 2014 at 2:47 PM, Laszlo Papp <lpapp at kde.org> wrote:
> >> Just in case the severity is not clear. Without this change, the Yocto
> >> SDK breaks the build for our software since we do prefer to use ccache
> >> for speeding the build process up. We are probably not alone with that
> >> ...
> >
> > Saul request is very valid. He is asking you to conform to the commit
> > guidelines we use and it is no-sense you to expect that he or someone
> > else does this for you.
> >
> > So I think if you expect this to be merged you need to fix and send a v2.
> 
> fwiw, we've been hit by this maintainers behavior. Several patches are
> stuck in the queue after 10 days of non-activity, followed up by a
> nitpick comment.
> It's a source of frustration for the submitter and is killing his
> motivation. Such comment could come earlier, while he's in the heat of
> the action and he's usually more receptive to the review.
> 
> As a result, we lose a contribution. The
> project/maintainer/submitter/end-user doesn't benefit from the
> contribution.
> 
> my 2cts.

There are two sides to this. There can be frustrations on the submitters
side, equally, we don't have that many people prepared to review other
people's code. Code review is a pretty thankless task (as this thread is
showing) and trying to pull together all the different patches, testing
them and ensuring there are no regressions takes significant time and
effort.

In this case, the commit message does not match the guidelines. It is
not the reviewers responsibility to rewrite it so it does.

The other big problem that we see is that once a patch hits master, the
submitter considers their job done. If there are regressions found, we
sometimes see a "not my problem" attitude to getting those regressions
fixed. Obviously the change can be reverted but that has its own set of
problems too.

Personally speaking, I just do not have the time to try and do
everything I'd like to do. Ideally I'd read and reply to every patch in
real time with comprehensive review. For better or worse there are other
demands on my time (such as writing my own patches, mentoring others and
so on). This means I try and do an best effort and this applies to
others doing this work too. Even my best effort leaves me working crazy
hours and is actually likely having an effect on my health :(.

So I do regret people are frustrated, we doing the best we can with the
people available. If more people want to step up and help consolidate
patches that would be great but these kind of threads aren't going to
encourage it. 

The kernel gets around this by having subsystem maintainers. With
OE-Core, its certainly true that particular contributors do have
"ownership" of parts of the system in my mind and their changes to those
parts of the system are easier to review and accept. It would be good to
see more of that kind of ownership too but that trust takes time to
develop and its not something many are willing to work on. The layers
model obviously tries to help that too.

Cheers,

Richard




More information about the Openembedded-core mailing list