Re: Spec file using github repo - not tarball

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 21/05/2024 16:37, Dominik Wombacher wrote:

I have a case were upstream excludes the test suite from the export [1].
But I want the tests to be part of the package build to validate that everything is fine.
So this requires a bit of local git clone and create an own archive file.
I can't just grab the archive from the GitHub release in that case.

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_revision

Tom

--
Tom Hughes (tom@xxxxxxxxxx)
http://compton.nu/
--
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux