Learn more about these different git repos.
Other Git URLs
While the main use case for the x-pkg family is to use it inside a Git repository, with the --release option it is also useful outside of Git repository. One important use case is creation of new Fedora packages, which can be done with fedpkg without initializing a local Git repository. For example, see Packaging Tutorial: GNU Hello.
--release
fedpkg
Currently, all use outside of a Git repository prints the following warnings:
Failed to get repository name from Git url or pushurl Failed to get ns from Git url or pushurl
Since there are valid use cases for running outside of Git repository, and many operations work perfectly fine, and in case of errors, a more descriptive error is also printed, these notification should only be shown when debug printing is enabled.
Commit e9d386e fixes this issue
Login to comment on this ticket.