Hello,
Created a fork [https://src.fedoraproject.org/fork/rhasti/rpms/libwacom] for libwacom . Made some changes and and tried to push changes back. For authentication data i used username rhasti and a API Key from the project that has "Commit to a git repository via http(s)" permissions.
libwacom]$ git push --set-upstream origin add_yoga6 Password for 'https://rhasti@src.fedoraproject.org': fatal: Authentication failed for 'https://src.fedoraproject.org/forks/rhasti/rpms/libwacom.git/'
Can you please help me with troubleshooting this issue?
Regards, Joe
I can reproduce, investigating
Metadata Update from @pingou: - Issue assigned to pingou
Alright, so the issue is that the API token sent is being capture by the OIDC/oauth2 set-up which refuses it (for the obvious reason that this token isn't an oauth2 token).
In other words, fedpkg push works but git push doesn't atm
fedpkg push
git push
Metadata Update from @humaton: - Issue tagged with: high-trouble, medium-gain, ops
Have been following https://docs.pagure.org/pagure/usage/ .
I just tried with fedpkg but got no permission to pull from there. Probably because i am not a packager.
[joe@flummi la]$ cat ~/.fedora.upn rhasti [joe@flummi la]$ klist Ticket cache: KCM:1000 Default principal: rhasti@FEDORAPROJECT.ORG
Valid starting Expires Service principal 02/08/21 15:11:50 02/09/21 15:11:42 krbtgt/FEDORAPROJECT.ORG@FEDORAPROJECT.ORG renew until 02/15/21 15:11:42 [joe@flummi la]$ fedpkg clone forks/rhasti/rpms/libwacom Cloning into 'libwacom'... rhasti@pkgs.fedoraproject.org: Permission denied (publickey). fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists. Could not execute clone: Failed to execute command.
For fedpkg you can find the doc at: https://docs.fedoraproject.org/en-US/ci/pull-requests/#_you_are_not_a_packager
fedpkg
Metadata Update from @smooge: - Issue priority set to: Waiting on Assignee (was: Needs Review) - Issue tagged with: src.fp.o
Thank you pingou, i got my change committed. Really cool infrastructure. Takes some time to get familiar with it. :)
Glad you got it working :)
Let us know if you need anything else!
Metadata Update from @pingou: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Log in to comment on this ticket.