Skip to content

Smarter fetch detection

Benjamin Winger requested to merge bmwinger/portmod:smart-fetchable into master

Mods now are fetchable if they are mirrorable or have a uri. It is recommended to no longer use RESTRICT="fetch" and instead let Portmod detect whether a mod can be fetched using its license and URI.

Note that the old behaviour with RESTRICT="fetch" is still supported, and will override this new, smarter behaviour.

While we detect the ability to fetch sources individually, there currently is no mechanism to specify which sources cannot be fetched. Perhaps in future the sources needed to be fetched should be passed as an argument to mod_nofetch.

Merge request reports