Re: Can't fedpkg new-sources (403)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 On Wed, Mar 16, 2022 at 10:57 AM Alexander Sosedkin <asosedkin@xxxxxxxxxx> wrote:
On Wed, Mar 16, 2022 at 3:47 PM Neal Becker <ndbecker2@xxxxxxxxx> wrote:
>
> Sorry if this is a duplicate message, previous one was held for moderation.
>
> $ fedpkg new-sources ~/Downloads/unuran-1.9.0.tar.gz
> Could not execute new_sources: Fail to upload files. Server returns status 403
>
> I haven't been active in packaging for some time, did I miss something?

Just a guess, but given how new-sources also updates at least .gitignore,
I think it expects maintainers to have the file in the checkout.
Does it fail the same if you place it there and pass a relative filepath?
fedpkg new-sources unuran-1.9.0.tar.gz
 
fedpkg --verbose new-sources unuran-1.9.0.tar.gz
Creating repo object from /home/nbecker/fedora.git/unuran
Could not execute new_sources: Fail to upload files. Server returns status 403
Traceback (most recent call last):
  File "/usr/bin/fedpkg", line 33, in <module>
    sys.exit(load_entry_point('fedpkg==1.42', 'console_scripts', 'fedpkg')())
  File "/usr/lib/python3.10/site-packages/fedpkg/__main__.py", line 89, in main
    sys.exit(client.args.command())
  File "/usr/lib/python3.10/site-packages/pyrpkg/cli.py", line 2688, in new_sources
    self.cmd.upload(
  File "/usr/lib/python3.10/site-packages/pyrpkg/__init__.py", line 3078, in upload
    self.lookasidecache.upload(
  File "/usr/lib/python3.10/site-packages/pyrpkg/lookaside.py", line 298, in upload
    if self.remote_file_exists(name, filename, hash):
  File "/usr/lib/python3.10/site-packages/pyrpkg/lookaside.py", line 259, in remote_file_exists
    self.raise_upload_error(status)
  File "/usr/lib/python3.10/site-packages/pyrpkg/lookaside.py", line 128, in raise_upload_error
    raise UploadError(message, http_status=http_status)
pyrpkg.errors.UploadError: Fail to upload files. Server returns status 403



--
Those who don't understand recursion are doomed to repeat it
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux