freebsd / poudriere

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

NO_RESTRICTED only cleans packages but still builds them #677

Open bdrewery opened 5 years ago

bdrewery commented 5 years ago

The FreeBSD cluster builds packages with NO_RESTRICTED=yes in its poudriere.conf which only causes bulk to delete the packages after the build. We still build+delete every time though. Presumably this is because RESTRICTED is only documented in bsd.port.mk as preventing publishing of packages: it doesn't necessarily mean we can't use the packages for producing other packages. An example of a built-and-deleted package is bicom. The license framework does properly prevent even building of packages that have special restrictions as can be seen in the IGNORED list here if filtering on "license".

Poudriere should keep these restricted packages in a separate directory so that future incremental builds can benefit from having them already. Just avoid publishing them to the main package directory. This is more easily done if ATOMIC_PACKAGE_REPOSITORY is enabled.

bdrewery commented 4 years ago

747 related