Suggestion to add build/revision number to "pkg stats"
Arto Pekkanen
isoa at kapsi.fi
Wed Sep 30 10:31:16 UTC 2015
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.
>
> 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 ports 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 nice.
> 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 options. Both options allow to sync a ports tree to be in line with the repository 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 revision of the ports tree that existed just before this specific time please", and you get what you wanted.
Not all repository tools support this (in GIT it is a lot less reliable to check out revisions by date). But SVN does, and this is all that matters, since you can sync your ports tree with svn alone.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-pkg/attachments/20150930/c7941624/attachment.bin>
More information about the freebsd-pkg
mailing list