Learn more about these different git repos.
Other Git URLs
In some cases, the custom script to produce sources/specs can be the same for multiple packages except for the package name. For example when rebuilding from CentOS git. Therefore it would be nice to be able to re-use the package name from the package metadata in the script by setting an environment variable such as COPR_PACKAGE for the custom script. It seems that for this it would need to be added to the config.json data to be extracted from there in rpmbuild/copr_rpmbuild/providers/custom.py. It might also be useful to provide other information from the config as environment variables.
COPR_PACKAGE
rpmbuild/copr_rpmbuild/providers/custom.py
All the methods are overloaded, you can submit a build using custom method (copr at that time doesn't know what is the package name, till the srpm is generated).
But still, we can provide COPR_PACKAGENAME environment variable when it already is known.
Metadata Update from @praiskup: - Issue tagged with: RFE
This issue has been migrated to GitHub: https://github.com/fedora-copr/copr/issues/1063
Metadata Update from @nikromen: - Issue close_status updated to: MIGRATED - Issue status updated to: Closed (was: Open)
Log in to comment on this ticket.