Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o, Fabian Groffen <grobian@g.o>
Subject: Re: [gentoo-dev] New distfile mirror layout
Date: Tue, 29 Oct 2019 11:12:05
Message-Id: 839D1F8E-35EE-43C9-B513-9895F087D77A@gentoo.org
In Reply to: Re: [gentoo-dev] New distfile mirror layout by Fabian Groffen
1 Dnia October 29, 2019 9:34:01 AM UTC, Fabian Groffen <grobian@g.o> napisał(a):
2 >On 29-10-2019 05:27:37 +0100, Michał Górny wrote:
3 >> On Tue, 2019-10-29 at 00:24 +0100, Chí-Thanh Christopher Nguyễn
4 >wrote:
5 >> > Hi!
6 >> >
7 >> > > Today you get chastised for using /space/distfiles-local and not
8 >> > > following policy changes. The devmanual states that it's
9 >deprecated
10 >> > > since at least 2011, and talks of using d.g.o [1].
11 >> > > [1]
12 >> >
13 >https://devmanual.gentoo.org/general-concepts/mirrors/index.html#suitable-download-hosts
14 >> >
15 >> > Sorry I'm late to the party, but I would like to enquire about what
16 >happens
17 >> > if a file with existing filename but different b2sum gets uploaded
18 >to
19 >> > /space/distfiles-local now?
20 >>
21 >> The same as before. It gets put in top-level disfiles directory.
22 >> Hashes are calculated from filenames, so this wouldn't affect it.
23 >That
24 >> is, if it put those files in subdirectories in the first place
25 >because
26 >> it doesn't.
27 >
28 >/space/distfiles-local is no longer copied to the mirrors? or just not
29 >copied in the subdir-hierarchy?
30
31 The latter.
32
33 >
34 >> > Doing so and updating the Manifest used to be another (not
35 >necessarily
36 >> > preferred) method to address upstream remaking release packages.
37 >> >
38 >>
39 >> It's no longer valid.
40 >
41 >Just wondering. Do you mean it isn't valid that some upstreams do this
42 >(yes horror)? We surely need a way to work around that ...
43
44 I mean the method using same filename and expecting distfiles-local to overwrite it. It is preferable to just rename it.
45
46 >
47 >Thanks,
48 >Fabian
49
50
51 --
52 Best regards,
53 Michał Górny

Replies

Subject Author
Re: [gentoo-dev] New distfile mirror layout Ulrich Mueller <ulm@g.o>