Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Sep 2023 13:56:05 +0200
From:      Michael Grimm <trashcan@ellael.org>
To:        Pat Maddox <pat@patmaddox.com>
Cc:        freebsd-pkg@freebsd.org, User Questions <freebsd-questions@freebsd.org>
Subject:   Re: How to monitor latest packages?
Message-ID:  <2BA1D394-D767-4ABB-99AC-C3F4147A6FF2@ellael.org>
In-Reply-To: <0f633e1b-7e6a-4d22-b67d-450749bc2352@app.fastmail.com>
References:  <0E65D858-0885-4BC8-BC05-981B9D682F7C@ellael.org> <0f633e1b-7e6a-4d22-b67d-450749bc2352@app.fastmail.com>

index | next in thread | previous in thread | raw e-mail

Pat Maddox <pat@patmaddox.com> wrote:
> On Mon, Sep 25, 2023, at 8:13 AM, Michael Grimm wrote:

>> I am trying to monitor the dates of pkg compilation runs by 
>> http://pkg.freebsd.org/FreeBSD:14:amd64/latest/
>> Is that the correct way?
>> 
>> If so, how can I find out when e.g. rust has been compiled the last 
>> time, because http://pkg.freebsd.org/FreeBSD:14:amd64/latest/All/ seems 
>> to be forbidden to watch ;-)
>> 
>> If not, what would be an alternative?
> 
> Here’s some tooling I use to fetch the git commit of the most recent package build: https://patmaddox.com/info?name=fba4b4491f48d81ffbe7f4304d3dd17797ec47dd7829bddec327422d4c6f346f&ln=16-23
> 
> That helps poudriere’s package fetching by ensuring my local tree is consistent with the latest build and doesn’t have newer stuff.
> 
> You can get build metadata from the API e.g. https://pkg-status.freebsd.org/api/1/builds?type=package&jailname=132amd64
> 
> I haven’t seen API documentation, I worked out query params by looking at the implementation: https://github.com/bdrewery/pkg-status.freebsd.org/blob/master/pkgstatus.py

Thanks, that is very valuable information. This will help me setting up own scripting in order to find out, what the current status of a given package is. I should have thought about investigating how poudriere is deciding which package to download, sorry.

I was hoping that there would be an easy way to find out via that webpage ;-) 


Regards,
Michael

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2BA1D394-D767-4ABB-99AC-C3F4147A6FF2>