On 21-05-2024 18:04, Dominik Wombacher wrote:
On 05/21/2024 5:54 PM CEST Tom Hughes via devel <[email protected]> wrote:The automatic tar ball URLs on github just do a git archive and are separate to uploaded release artifacts. Just use a URL like: https://github.com/OWNER/PROJECT/archive/REVISION/NAME.tar.gz where tag can be any tag or head or commit hash. More here: https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/#_commit_revisionI know that, but as shared, upstream has a .gitattributes [1] defined that sets export-ignore [2] for a majority of the repo content, including /tests/. They upload the same archive to the releases as they are generated by GitHub ad-hoc. So in both cases the files are missing and can't retrieved without a git clone. Dom [1] https://github.com/guzzle/guzzle/blob/7.8/.gitattributes [2] https://git-scm.com/docs/gitattributes#_export_ignore
In that situation you should probably follow the instructions in the Packaging Guidelines regarding Troublesome URLs (second part) [3] and create additional sources manually.
[3] https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/#_troublesome_urls
-- Sandro -- _______________________________________________ devel mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
