I tried to setup my development environment using centpkg for osbuild-composer. I ran:
centpkg clone -a rpms/osbuild-composer
but the second command returned exit code 1 and the following message:
Could not execute do_distgit_fork: name 'header' is not defined
Interestingly enough, it created the fork. Running centpkg fork for the second time succeeds with this message:
Repo 'https://gitlab.com/ondrejbudai/centos_rpms_osbuild-composer' already exists.
Adding as remote 'ondrejbudai'.
Looks like an typo issue, it should be using "headers" instead of "header": https://git.centos.org/centos/centpkg/blob/develop/f/src/centpkg/utils.py#_70
The fork is created because the post request occurs before the delere request.
I've sent a PR to fix it: https://git.centos.org/centos/centpkg/pull-request/50
I was hoping to release this as part of a new version of centpkg, but we haven't merged any other changes recently. I went ahead and applied the patch to the existing version of centpkg in the Fedora and EPEL packages as centpkg-0.6.6-3. Updates have been submitted and should be available in the testing repos shortly.
Metadata Update from @carlwgeorge:
- Issue status updated to: Closed (was: Open)
to comment on this ticket.
SSH Hostkey/Fingerprint | Documentation