#659 Harmless warnings printed when using outside of Git repository
Closed: Fixed a year ago by onosek. Opened a year ago by oturpe.

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.

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.


Login to comment on this ticket.

Metadata
Related Pull Requests
  • #660 Merged a year ago