Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: "William L. Thomson Jr." <wlt-ml@××××××.com>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Package file name requirement for binary ebuilds
Date: Mon, 17 Oct 2016 20:34:36
Message-Id: 20161017223415.3145f985.mgorny@gentoo.org
In Reply to: Re: [gentoo-dev] Package file name requirement for binary ebuilds by "William L. Thomson Jr."
1 On Mon, 17 Oct 2016 16:03:02 -0400
2 "William L. Thomson Jr." <wlt-ml@××××××.com> wrote:
3
4 > On Monday, October 17, 2016 7:34:57 PM EDT you wrote:
5 > > On Mon, 17 Oct 2016 12:18:32 -0400
6 > >
7 > > "William L. Thomson Jr." <wlt-ml@××××××.com> wrote:
8 > > > On Monday, October 17, 2016 6:08:41 PM EDT Michał Górny wrote:
9 > > > > On Mon, 17 Oct 2016 11:48:53 -0400
10 > > > >
11 > > > > Portage shows the repo it comes from because it is necessary for
12 > > > > the package specification to be unique, i.e. two repositories can
13 > > > > provide the same version of the same package.
14 > > >
15 > > > It does not have to show it for that function. Showing the repo is a
16 > > > visual
17 > > > thing for the user during merge output. Portage does not have to have ANY
18 > > > output to do its job. Visual output is a user thing.
19 > >
20 > > Excuse me but what is your goal here? I stated the rationale for that
21 > > particular change. Your disagreement won't change why it was done.
22 >
23 > What is your goal? Your assumption is wrong, this change is clearly visual
24 > only...
25 >
26 > Bug #510538: Include "::repository" in more messages.
27 > https://github.com/gentoo/portage/commit/
28 > 3f110090e50207d4ae3f6031ce6b1beafc80de46
29 >
30 > Not technical purely visual...
31 > https://bugs.gentoo.org/show_bug.cgi?id=510538
32
33 We could start with the fact that we're talking of two different
34 changes. I was talking of the *original* change that started
35 introducing repository name in various parts of output. You're talking
36 about a followup commit.
37
38 Now, let me explain this to you. The goal for ::repository output is to
39 provide minimal package identifiers that can be used to 100% uniquely
40 identify packages. As in, you see 'emerge -pv' output, you copy-paste
41 the package from it and you get a guarantee that emerge will select
42 the same package from the same repository.
43
44 Yes, it's purely visual. However, this visual change was motivated by
45 an intent to provide functionally useful output.
46
47 As a side note, Portage for some time did limit ::repository output to
48 non-Gentoo repositories only. This was changed later in order to reduce
49 the use of 'main repository' and make Portage less tied to the old
50 Gentoo layout.
51
52 --
53 Best regards,
54 Michał Górny
55 <http://dev.gentoo.org/~mgorny/>

Replies

Subject Author
Re: [gentoo-dev] Package file name requirement for binary ebuilds "William L. Thomson Jr." <wlt-ml@××××××.com>