From owner-freebsd-ports@FreeBSD.ORG Mon Oct 21 11:02:12 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 58C546FD for ; Mon, 21 Oct 2013 11:02:12 +0000 (UTC) (envelope-from matthew@freebsd.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F1D0F2D81 for ; Mon, 21 Oct 2013 11:02:11 +0000 (UTC) Received: from ox-dell39.ox.adestra.com ([178.78.126.226]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.7/8.14.7) with ESMTP id r9LB27ed081013 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Mon, 21 Oct 2013 12:02:07 +0100 (BST) (envelope-from matthew@freebsd.org) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk r9LB27ed081013 Authentication-Results: smtp.infracaninophile.co.uk/r9LB27ed081013; dkim=none reason="no signature"; dkim-adsp=none (unprotected policy) X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host [178.78.126.226] claimed to be ox-dell39.ox.adestra.com Message-ID: <526509A7.3080301@freebsd.org> Date: Mon, 21 Oct 2013 12:01:59 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: poudriere distfiles - explain the process References: <201310101000.r9AA0hER042130@mech-cluster241.men.bris.ac.uk> <52569607.1060806@FreeBSD.org> <2fbfeff01de0036c09ee3e8db08db4f8@mail.0x20.net> In-Reply-To: <2fbfeff01de0036c09ee3e8db08db4f8@mail.0x20.net> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="W15VgOcWckgIaG3msuC1qFwpPodVLUiRC" X-Virus-Scanned: clamav-milter 0.97.8 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=0.2 required=5.0 tests=AWL,BAYES_00,DCC_CHECK, RDNS_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2013 11:02:12 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --W15VgOcWckgIaG3msuC1qFwpPodVLUiRC Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 10/21/13 11:39, Lars Engels wrote: > Maybe that can be written to a sqlite database? > pkgng already uses them, so poudriere could do the same. > Add the distfiles on the first run of "distclean" and then update the > database > every time "portsnap update" is run. Maybe even better if the database > was part > of the ports tree, just like the INDEX files. pkgng doesn't know anything about distfiles. By the time pkgng gets it's claws into a new package it's already been compiled and the whole question of what distfiles it was compiled from is pretty much moot. Adding tracking of distfiles to /var/db/pkg/local.sqlite isn't going to be something we put into pkgng -- it's basically not what pkgng is all about. On the other hand, if you want to hack on poudriere to give it more intelligent distfile tracking capabilities, possibly involving storing data via sqlite in some other file under /var/db/pkg then I'm sure that would be received with interest. (Although maybe not the sqlite part -- poudriere is currently pure shell with minimal dependencies, which is a good thing.) Cheers, Matthew --W15VgOcWckgIaG3msuC1qFwpPodVLUiRC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJ8BAEBCgBmBQJSZQmvXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnLpsP/ia/ghT1k4aUOM39tIJqCh0l dihV/XR9A9Mjek81pzcA1I8WdfP5bjc/GexV2n/1bY+SvKT84RDE3feOZnZvOtkH 4ZXA3eZqBwrAfjEB6uQtZzfTFV+ln4GTDEjfAqpyQwa7nEAutd7jLnR9Ss6ZNWAi QVXYl5ooPxK9OO7dCqpS+OkCRyr1Ub4UA9cJV/ouyxendWApPp6aTf6s4/HZK9Di rP5WGC4QFqEKw98is+C3rUnQWpwksFGjF25TPhYZ5e3RZ0ZYORBwm/vOuDlDSyaR 7+ZCGpEq8neKGR1QaQd9e0Ngua/gGkRXQLHyOKlvBHbPAsm8BxKul/442ARDT+/K YJrIGphZMdyM4OxFanBSYDV88W6TgtN7SZJpaOL1BV7u/dKE3RG9Bp8JDo50zUPV 3kZC61Ess8rTjKIrjoNTgMtdaLuj0kDKNIj+lfUKcy+tQxQ9wrFrTbgtmhCcjMnz /vCPTTd6kC5mZasl9o7pJqWPZZi6qReg7aa+nlDDORYpFTAe8dpdSfmzuQ/7UTq8 7ppp8+U/J2DfFAHUzoZliu1AOi+YDbJJ4JMfeBII9ihqVdLhpAL+ygAds7FJGVhh BudJCuAqnVxuYzLnGskOKnVzxoa4lxpt+wElnSoSrsY/35pcmsfU7jCfDDuMDN3w siDaWKZympvAaOfvHwTE =eWw4 -----END PGP SIGNATURE----- --W15VgOcWckgIaG3msuC1qFwpPodVLUiRC--