Learn more about these different git repos.
Other Git URLs
fedpkg retire did not work as expected for golang-github-src-d-gcfg and attempts to workaround it neither.
fedpkg retire
golang-github-src-d-gcfg
What's the issue that you are encountering?
I don't recall the error, but was not retired from PDC.
I tried restoring files and running fedpkg retire again but it was not working.
Metadata Update from @phsmoura: - Issue tagged with: low-gain, low-trouble, ops
See https://pagure.io/releng/issue/12192
Metadata Update from @patrikp: - Issue assigned to patrikp
@mikelo2 I am looking at the package in dist-git [0]. By the looks of it it appears that you attempted to retire the package several months ago so I understand it may be difficult to remember, but could you please try to describe the steps that you did?
1) Run the fedpkg retire utility. 2) Remove the dead.package file [1] as an attempted workaround.
dead.package
Was there anything else? Thank you kindly!
[0] https://src.fedoraproject.org/rpms/golang-github-src-d-gcfg [1] https://src.fedoraproject.org/rpms/golang-github-src-d-gcfg/c/1710fa0d78e4532508bb83ca9f24c4b3c025c734?branch=rawhide
3) try with fedpkg retire again:
$ fedpkg retire "trying with retire again" fatal: pathspec '.' did not match any files Could not execute retire: Failed to execute command.
There seems to be some issue in the fedpkg codebase I created an issue for it
Likely because it expects there to be some files to remove. ;) But yeah, it should check...
So I reverted the commit that removed dead.package (i.e. I want to re-add the file) but I ran into an issue when trying to push the revert commit.
On compose-branched01.iad2.fedoraproject.org: $ GIT_SSH=/usr/local/bin/relengpush fedpkg --user releng push (tried with --no-verify option as well, same result) Could not execute push: This package or module is retired. The action has stopped.
compose-branched01.iad2.fedoraproject.org
$ GIT_SSH=/usr/local/bin/relengpush fedpkg --user releng push
Could not execute push: This package or module is retired. The action has stopped.
Does anyone happen know why this is happening and how I could work around it? Thank you. cc: @jnsamyak @humaton @kevin
$ pwd /home/fedora/patrikp/retire/golang-github-src-d-gcfg
$ pwd
So, this is coming from rpkg (which fedpkg depends on).
Can you try just using 'git push' directly?
I successfully managed to push the revert commit and manually blocked the F41 tag in Koji.
When I try to run: $ fedpkg retire "Not required after migration to golang-github-git-5"
$ fedpkg retire "Not required after migration to golang-github-git-5"
I get: dead.package found, package or module is already retired. Will not remove files from git or overwrite existing dead.package file.
dead.package found, package or module is already retired. Will not remove files from git or overwrite existing dead.package file.
The package is still not orphaned in dist-git: https://src.fedoraproject.org/rpms/golang-github-src-d-gcfg
What would be the proper next steps in order to retire this? Manually orphan it in dist-git? Anything else?
Yeah, orphan and then check/confirm it shows up in https://src.fedoraproject.org/lookaside/retired_in_rawhide.json after the next run of that.
The package is now orphaned in dist-git. https://src.fedoraproject.org/rpms/golang-github-src-d-gcfg
I'll leave this open for a short while, until it appears in the list of retired pkgs.
It's there. :thumbsup:
Metadata Update from @patrikp: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Thanks for fixing this complicated ticket!
Log in to comment on this ticket.