-
|
I was wondering if I could tell a xbps-src template to get the source files from a (local or remote) directory. Yes, I could clone the repo, create a tag locally, push it and then direct the template to my github tag - but I'd like to be able to skip all that work and get xbps-src directly access the source - it unpacks the package anyway, why not direct the template to the source files pre-packaging... Or, if that is not possible, is it possible to create a package file locally using e.g. git, i.e. not having to push a tag to github to let it create the package file and then download it from github? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
You can already get download urls for any commit on github, here is an example:
In general none of this should be done unless strictly required and probably won't be accepted into the repo unless there is a really good reason. |
Beta Was this translation helpful? Give feedback.
You can already get download urls for any commit on github, here is an example:
srcpkgs/rtl8822bu-dkms/template:distfiles="https://github.com/cilynx/rtl88x2bu/archive/${_gitrev}.tar.gz"xbps-srcitself only supports fetching files over http, you can overwritedo_fetchto clone a repository but that probably won't be accepted since it 1. circumvents our checksum mechanism and since its not really supported there is no cache.In general none of this should be done unless strictly required and probably won't be accepted into the repo unless there is a really good reason.