raspberrypi / rpi-update

An easier way to update the firmware of your Raspberry Pi
MIT License
132 stars 18 forks source link

rpi-update: Retrieve 100 artifact results from Github. #22

Closed 6by9 closed 8 months ago

6by9 commented 8 months ago

Github pages the artifact results, by default only giving the latest 30, but can be increased to 100 per page. If your build has fallen off that list, then tough luck.

Ideally we want to iterate through the pages as well by adding &page=N, but that can come later.

https://github.com/raspberrypi/rpi-update/issues/21

pelwell commented 8 months ago

Looks good to me. I was concerned about the extra time to download all 100 records, but it's 74KB and takes 0.4s.

6by9 commented 8 months ago

Even if it takes a couple of seconds, then we probably ought to be doing that more thorough search if you've asked for a specific branch.

As you're probably aware, with Nick having pushed so many updates to a PR recently, it had bumped rpi-6.5.y off the first page of 30. (I think it may have been beyond the first 100).