freebsd / poudriere

Port/Package build and test system
https://github.com/freebsd/poudriere/wiki
BSD 2-Clause "Simplified" License
396 stars 164 forks source link

First draft for a Fetch Only check #1164

Closed hauptsignal closed 3 months ago

hauptsignal commented 4 months ago

This is a first draft for a Fetch Only check funtion. It should offer the functionality described in Issue #1129 .

I have developed the function here on my locally installed version (3.4.1_1) of poudriere. I did a few small tests (undefined configuration, empty list, filled list, entries with asterisk), which at least worked for me.

But I have too little experience in developing poudriere. So I don't know if the function call is in a suitable place. And whether this installation does not interfere with other functions. Therefore I ask you to take a very close look at the whole thing and test it before integration.

hauptsignal commented 3 months ago

Okay. My attempt does not work, if all the packages have to be rebuilt after a jail upgrade.

I think the Fetch Only check has to be at a later stage in the process. Maybe just before or at the start of the builder, that would build a mentioned port?