From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3414F138334 for ; Mon, 15 Oct 2018 11:34:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E2978E08EC; Mon, 15 Oct 2018 11:34:52 +0000 (UTC) Received: from atfriesa01.ssi-schaefer.com (atfriesa01.ssi-schaefer.com [193.186.16.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4A8C7E088B for ; Mon, 15 Oct 2018 11:34:51 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.54,384,1534802400"; d="scan'208";a="21737223" X-IPAS-Result: =?us-ascii?q?A2FzDQAlesRb/+shHKxiHAEBAQQBAQcEAQGBZQKIBIgYjHs?= =?us-ascii?q?GgQiJL44GgXkNE4laPwMMAQMBAQEBAQECAgKBEYVkgQsCJgJsCAEBgxyBdaUSE?= =?us-ascii?q?YEigS6Ed4RcgQuKWHmBB4ESJ4g2gjaCNSICjn2PLQmBWI59BheBT4dehnEsiG6?= =?us-ascii?q?NE4FxMoEufQiDKJBXjFUBAQ?= Received: from samail03.wamas.com (HELO mailhost.salomon.at) ([172.28.33.235]) by atfriesa01.ssi-schaefer.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Oct 2018 13:34:49 +0200 Received: from [172.28.42.244] by mailhost.salomon.at with esmtp (Exim 4.77) (envelope-from ) id 1gC196-0008OM-BD; Mon, 15 Oct 2018 13:34:48 +0200 From: Michael Haubenwallner Subject: [gentoo-dev] Can pkg_nofetch determine if a file is already downloaded? To: gentoo-dev@lists.gentoo.org Message-ID: Date: Mon, 15 Oct 2018 13:34:48 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Archives-Salt: ed54a8fb-ea59-417e-b1f0-8bedb77d0661 X-Archives-Hash: fa12ebf91844d0ef22d448f97db0d326 Hi, in pkg_nofetch, beyond to "direct the user to download relevant source files", I've found it useful to tell the user which filesystem directory to put the files into once downloaded. Beyond that, I've also found it useful to tell the user whether a relevant source file is 'already there' or 'still missing'. Since the EAPI 6 related update to pkg_* phases to not have access to DISTDIR (even in earlier EAPI) any more, I'm wondering if both informations are still available to pkg_nofetch in one or another way. Any idea? Or is my only option to reduce the information to "all these files need to be put in your DISTDIR", requiring the user to find out both the right DISTDIR and which of the listed files are still missing herself? Thanks, /haubi/