#24 centpkg prep does not work for forked repos
Closed a year ago by tdawson. Opened 3 years ago by xhorak.

git clone ssh://xhorak@pkgs.fedoraproject.org/forks/xhorak/rpms/mozjs78.git
? git checkout c9s                                                                                                                               17:45:53
Already on 'c9s'
Your branch is up to date with 'origin/c9s'.
~/centos-stream/firefox c9s
? centpkg prep                                                                                                                                   17:46:12
Downloading firefox-78.8.0esr.source.tar.xz
######################################################################## 100.0%
Remove downloaded invalid file /home/jhorak/centos-stream/firefox/firefox-78.8.0esr.source.tar.xz
Could not execute prep: Server returned status code 404
~/centos-stream/firefox c9s
? centpkg -d prep                                                                                                                                17:46:20
Downloading firefox-78.8.0esr.source.tar.xz
######################################################################## 100.0%
Remove downloaded invalid file /home/jhorak/centos-stream/firefox/firefox-78.8.0esr.source.tar.xz
Traceback (most recent call last):
File "/usr/bin/centpkg", line 19, in <module>
main(sig=False)
File "/usr/lib/python3.8/site-packages/centpkg/__main__.py", line 99, in main
sys.exit(client.args.command())
File "/usr/lib/python3.8/site-packages/pyrpkg/cli.py", line 2542, in prep
self.sources()
File "/usr/lib/python3.8/site-packages/pyrpkg/cli.py", line 2605, in sources
self.cmd.sources(outdir)
File "/usr/lib/python3.8/site-packages/pyrpkg/__init__.py", line 2044, in sources
self.lookasidecache.download(
File "/usr/lib/python3.8/site-packages/pyrpkg/lookaside.py", line 194, in download
raise DownloadError('Server returned status code %d' % status)
pyrpkg.errors.DownloadError: Server returned status code 404

Metadata Update from @tdawson:
- Issue tagged with: Bug, Needs Testing

2 years ago

This should be fixed in centpkg 0.6.8 which is currently in fedora and epel-testing.

centpkg 0.6.8, which fixes this issue is in stable.

Metadata Update from @tdawson:
- Issue status updated to: Closed (was: Open)

a year ago

Login to comment on this ticket.

Metadata