From owner-freebsd-pkg@freebsd.org Wed Sep 30 10:31:16 2015 Return-Path: Delivered-To: freebsd-pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 53976A0CC02 for ; Wed, 30 Sep 2015 10:31:16 +0000 (UTC) (envelope-from isoa@kapsi.fi) Received: from mail.kapsi.fi (mx1.kapsi.fi [IPv6:2001:1bc8:1004::1:25]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C7B0A1CC7; Wed, 30 Sep 2015 10:31:15 +0000 (UTC) (envelope-from isoa@kapsi.fi) Received: from 91-159-15-56.elisa-laajakaista.fi ([91.159.15.56] helo=[192.168.255.112]) by mail.kapsi.fi with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1ZhEfG-0000an-Lg; Wed, 30 Sep 2015 13:31:10 +0300 Subject: Re: Suggestion to add build/revision number to "pkg stats" To: mfv@bway.net References: <20150916165829.46ba52f6@gecko4> <55FC6977.6010704@gmx.net> <20150922220600.GE16800@ivaldir.etoilebsd.net> <56027399.8040101@kapsi.fi> <20150923163731.70398452@gecko4> Cc: freebsd-pkg@freebsd.org, Baptiste Daroussin From: Arto Pekkanen X-Enigmail-Draft-Status: N1110 Message-ID: <560BB9E6.6010404@kapsi.fi> Date: Wed, 30 Sep 2015 13:31:02 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20150923163731.70398452@gecko4> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="hg4Q6whAGsTb9jWOHEe7Q1Tc3s9va5lu9" X-SA-Exim-Connect-IP: 91.159.15.56 X-SA-Exim-Mail-From: isoa@kapsi.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2015 10:31:16 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --hg4Q6whAGsTb9jWOHEe7Q1Tc3s9va5lu9 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 23.9.2015 23:37, mfv wrote: > The following website may provide an answer to Arto's question as to > when a build begins. >=20 > https://pkg-status.freebsd.org/ Okay, cool, thanks. I really had no idea this site existed. Now I can parse the start time of build from that site, and then sync a p= orts tree by svn revision date. Well, at least until there is a revision = number or a start of build date available in pkg stats, which would be ni= ce. =20 > I've tried to sync the ports tree and packages based on a date but have= > not been able to identify one. However, between a date and a build > number my guilt feeling is that the latter is the safer option. My gut feeling says that there is no difference in "safety" between the o= ptions. Both options allow to sync a ports tree to be in line with the re= pository you are using during a specific span of time. I have a rationale for this. You see, the primary repository of ports is = hosted with Subversion aka svn. Svn permanently records the dates of each= commit along with the revision number. You can ask "give me the latest r= evision of the ports tree that existed just before this specific time ple= ase", and you get what you wanted. Not all repository tools support this (in GIT it is a lot less reliable t= o check out revisions by date). But SVN does, and this is all that matter= s, since you can sync your ports tree with svn alone. --hg4Q6whAGsTb9jWOHEe7Q1Tc3s9va5lu9 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.19 (MingW32) iF4EAREIAAYFAlYLuesACgkQTBivhqtJa25xnAD+IWhupSJKpL1/kqgZHBbx+29d HOjLKCPtkZ/2ntw7HVwBAJh5S0iv5dHiTGJXV00umuwsf9/vwp9deqbK1WxhPJOV =G311 -----END PGP SIGNATURE----- --hg4Q6whAGsTb9jWOHEe7Q1Tc3s9va5lu9--