Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1438019

Re: [PATCH v3 01/21] backports: move legacy and SmPL patch application into helper

From "Luis R. Rodriguez" <mcgrof@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v3 01/21] backports: move legacy and SmPL patch application into helper
Date 2016-07-07 02:20 +0200
Message-ID <rS5cR-7Pk-9@gated-at.bofh.it> (permalink)
References <oleQa-UW-9@gated-at.bofh.it> <oleZP-16B-3@gated-at.bofh.it> <rR8wa-3U6-29@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Jul 04, 2016 at 11:33:03AM +0200, Johannes Berg wrote:
> On Tue, 2014-11-11 at 00:14 -0800, Luis R. Rodriguez wrote:
> > From: "Luis R. Rodriguez" <mcgrof@suse.com>
> > 
> > This allows us to extend how backports uses patches for
> > different types of applications. This will later be used
> > for kernel integration support, for example.
> > 
> > This should have no functional change.
> 
> Obviously this patch was applied a long time ago,

Geesh yes over 2 year ago.

> but you lied - it has a functional change:
> 
> > +        if process.returncode != 0:
> > +            if not args.verbose:
> > +                logwrite("Failed to apply changes from %s" %
> > print_name)
> > +                for line in output:
> > +                    logwrite('> %s' % line)
> > +            raise Exception('Patch failed')
> 
> vs.
> 
> > -        if process.returncode != 0:
> > -            if not args.verbose:
> > -                logwrite("Failed to apply changes from %s" %
> > print_name)
> > -                for line in output:
> > -                    logwrite('> %s' % line)
> > -            return 2
> 
> This had a major impact on the devel/git-tracker.py tool.

Sorry about that, is there an easy fix for it? Is there a test
we can do to avoid further regressions against the tracker ?

  Luis

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v3 01/21] backports: move legacy and SmPL patch  application into helper Johannes Berg <johannes@sipsolutions.net> - 2016-07-04 11:40 +0200
  Re: [PATCH v3 01/21] backports: move legacy and SmPL patch  application into helper "Luis R. Rodriguez" <mcgrof@kernel.org> - 2016-07-07 02:20 +0200
    Re: [PATCH v3 01/21] backports: move legacy and SmPL patch  application into helper Johannes Berg <johannes@sipsolutions.net> - 2016-07-07 06:20 +0200

csiph-web