I believe it is failing on the line:
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)
So maybe the file already exists in the cache? But then, sources has not
been updated, and if I try
fedpkg local it will attempt to build the old version 1.8.1, not the new
1.9.0.
On Wed, Mar 16, 2022 at 11:44 AM Neal Becker <ndbecker2(a)gmail.com> wrote:
On Wed, Mar 16, 2022 at 11:28 AM Ankur Sinha <sanjay.ankur(a)gmail.com>
wrote:
> On Wed, Mar 16, 2022 10:46:43 -0400, Neal Becker 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?
>
> Another thing to check: did you run the kinit bit before trying the
> `new-sources`?
>
> ```
> kinit <FAS username>(a)FEDORAPROJECT.ORG
> ```
>
Yes, without running kinit I got "not authorized"
--
*Those who don't understand recursion are doomed to repeat it*