Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Can pkg_nofetch determine if a file is already downloaded?
Date: Mon, 15 Oct 2018 18:05:51
Message-Id: 1539626738.1014.0.camel@gentoo.org
In Reply to: [gentoo-dev] Can pkg_nofetch determine if a file is already downloaded? by Michael Haubenwallner
1 On Mon, 2018-10-15 at 13:34 +0200, Michael Haubenwallner wrote:
2 > Hi,
3 >
4 > in pkg_nofetch, beyond to "direct the user to download relevant source files",
5 > I've found it useful to tell the user which filesystem directory to put the
6 > files into once downloaded.
7 >
8 > Beyond that, I've also found it useful to tell the user whether a relevant
9 > source file is 'already there' or 'still missing'.
10 >
11 > Since the EAPI 6 related update to pkg_* phases to not have access to DISTDIR
12 > (even in earlier EAPI) any more, I'm wondering if both informations are still
13 > available to pkg_nofetch in one or another way.
14 >
15 > Any idea?
16 >
17 > Or is my only option to reduce the information to "all these files need to be
18 > put in your DISTDIR", requiring the user to find out both the right DISTDIR
19 > and which of the listed files are still missing herself?
20 >
21
22 How would you know whether the file in DISTDIR is correct and complete?
23
24 --
25 Best regards,
26 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
[gentoo-dev] Re: Can pkg_nofetch determine if a file is already downloaded? Michael Haubenwallner <haubi@g.o>