Gentoo Archives: gentoo-portage-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-portage-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-portage-dev] [PATCH 0/4] Proper fix for colliding (un)compressed files
Date: Fri, 28 Sep 2018 07:55:36
Message-Id: 20180928075529.7322-1-mgorny@gentoo.org
1 Hi,
2
3 Here's a proper fix for the problem, as promised. I've also taken
4 the liberty of reverting the ugly hack that is no longer necessary,
5 and reintroducing parallel compression as requested earlier.
6
7 I've also increased verbosity of the messages. If precompressed files
8 are found, Portage now explicitly prints the list of them. If colliding
9 files are found, Portage explicitly prints which files collide and asks
10 the ebuild maintainer to fix that.
11
12 It no longer tries to silently ignore this major issue and/or discard
13 some of the files but explicitly fails, given that there are no valid
14 circumstances for ebuilds to install colliding files. It only indicates
15 a serious issue with the ebuild, and Portage should explicitly force
16 the developer to fix it.
17
18 --
19 Best regards,
20 Michał Górny
21
22
23 Michał Górny (4):
24 Revert "ecompress-file: de-duplicate filtered_args (bug 667072)"
25 ecompress: Run compression in parallel
26 ecompress: Detect and report colliding (un)compressed files
27 ecompress: Fix duplicate pre-compressed file warning
28
29 bin/ecompress | 44 ++++++++++++++++++++++++++++++++++++++++++--
30 bin/ecompress-file | 22 ++++++----------------
31 2 files changed, 48 insertions(+), 18 deletions(-)
32
33 --
34 2.19.0

Replies