Re: Trying to release a new version of a package

Fabio Valentini <[email protected]>
Newsgroups gmane.linux.redhat.fedora.devel
Message-ID <CAB-QmhScri5_XF49vRK5Dxn=+Mj2tq8XLZoDSd_KwuVwcdP-Pg@mail.gmail.com>
On Mon, Jun 22, 2026 at 8:37 PM Kenneth Goldman <[email protected]> wrote:
>
> Evidently my notes are wrong (or something else). I don’t do this too often.
>
>
>
> I cloned the repo: git clone https://src.fedoraproject.org/rpms/tss2.git

I would recommend to clone with "fedpkg clone".

Using "https" remotes will cause issues with authentication on "push"
(as you note later).

> updated the .spec file
>
> tested with fedpkg --release rawhide --name tss2 mockbuild
>
>         (did f43 and f44 as well)
>
> How do I push the changes?
>
> In the past, I used:
>
> fedpkg --release f43 --name tss2 new-sources ibmtss2.5.0.tar.gz

This should be OK (though the "--release" and "--name" arguments
should be unnecessary, especially if you're running it inside the git
checkout).

> Output is:
>
> Uploading: ibmtss2.5.0.tar.gz to https://src.fedoraproject.org/repo/pkgs/upload.cgi
>
> Could not execute new sources: Fail to upload files. Server returns status 403

This might have been a transient server error, it sometimes happens. Try again?

> and
>
> git push origin rawhide
>
> Output is:
>
> fatal: Authentication failed for 'https://src.fedoraproject.org/rpms/tss2.git/'
>
> I think my user name and password are ok since ‘koji moshimoshi’ succeeds.

This is because pushing over https is not set up by default.
You either need to clone / push over ssh, *or* use "fedpkg push"
instead of plain "git push" which sets up authentication for you when
pushing over https.

Fabio
-- 
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.