Gentoo Archives: gentoo-portage-dev

From: Brian Dolbec <dolsen@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] Re: [PATCH V2] emerge: check correctly for --sync success (bug 606588)
Date: Mon, 23 Jan 2017 02:20:28
Message-Id: 20170122182020.236a8a2b.dolsen@gentoo.org
In Reply to: Re: [gentoo-portage-dev] Re: [PATCH V2] emerge: check correctly for --sync success (bug 606588) by Zac Medico
1 On Sun, 22 Jan 2017 17:29:39 -0800
2 Zac Medico <zmedico@g.o> wrote:
3
4 > On 01/20/2017 11:23 AM, Alexandru Elisei wrote:
5 > > The class SyncRepos will keep a list of (repo, returncode) tuples.
6 > > If sync is unsuccessful emerge will use this list to return the
7 > > first failed repository return code.
8 >
9 > I've pushed a minimal fix:
10 >
11 > https://gitweb.gentoo.org/proj/portage.git/commit/?id=23f239134b0290cbe0435e13d8f1b1757c6d8524
12 >
13 > It just returns 1 on failure. Would it really be useful to preserve
14 > the returncode from the first failed repo? Probably not.
15
16 Thanks Alexandru, Zac.
17
18 --
19 Brian Dolbec <dolsen>