Date: Fri, 29 Sep 2023 02:34:22 -0700 From: "Pat Maddox" <pat@patmaddox.com> To: "Michael Grimm" <trashcan@ellael.org>, freebsd-pkg@freebsd.org, "User Questions" <freebsd-questions@freebsd.org> Subject: Re: How to monitor latest packages? Message-ID: <0f633e1b-7e6a-4d22-b67d-450749bc2352@app.fastmail.com> In-Reply-To: <0E65D858-0885-4BC8-BC05-981B9D682F7C@ellael.org> References: <0E65D858-0885-4BC8-BC05-981B9D682F7C@ellael.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 25, 2023, at 8:13 AM, Michael Grimm wrote: > Hi, > > I used to compile all of my ports from the git repository using=20 > poudriere.=20 > Recently I started to use poudriere's pre-fetching functionality (due=20 > to resource hog rust). > I am using pkg+http://pkg.FreeBSD.org/\${ABI}/latest=20 > <pkg+http://pkg.FreeBSD.org/%5C$%7BABI%7D/latest> and my current ABI i= s=20 > FreeBSD:14:amd64. > > I am trying to monitor the dates of pkg compilation runs by=20 > 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=20 > time, because http://pkg.freebsd.org/FreeBSD:14:amd64/latest/All/ seem= s=20 > to be forbidden to watch ;-) > > If not, what would be an alternative? > > Thanks in advance and regards, > Michael Here=E2=80=99s some tooling I use to fetch the git commit of the most re= cent package build: https://patmaddox.com/info?name=3Dfba4b4491f48d81ffb= e7f4304d3dd17797ec47dd7829bddec327422d4c6f346f&ln=3D16-23 That helps poudriere=E2=80=99s package fetching by ensuring my local tre= e is consistent with the latest build and doesn=E2=80=99t have newer stu= ff. You can get build metadata from the API e.g. https://pkg-status.freebsd.= org/api/1/builds?type=3Dpackage&jailname=3D132amd64 I haven=E2=80=99t seen API documentation, I worked out query params by l= ooking at the implementation: https://github.com/bdrewery/pkg-status.fre= ebsd.org/blob/master/pkgstatus.py Pat
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0f633e1b-7e6a-4d22-b67d-450749bc2352>