Re: Experience on src.fedoraproject.org as non-packager

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

 



On Wed, Jun 16, 2021 at 03:05:59PM +0200, Ewoud Kohl van Wijngaarden wrote:
> Interesting, I had not tried that.
> 
> What I used was the clone button. That shows a small dialog with this (as
> packager):
> 
>    Source Code
> 
>      SSH <SSH_URL>
>      GIT <GIT_URL>
> 
> As non-packager it does NOT have the SSH URL. So what I initially did was to
> manually clone it with git, not fedpkg. Then you have no way to push.

You can stll use 'fedpkg push' in this case and it will setup things and
push. But you have to use fedpkg for one of clone/push. 

> 
> It looks like fedpkg clone does configure a credential helper which probably
> allows you to push via SSH.

It's via https and a token. fedpkg sets up the token for you. After the
initial setup in fedpkg, you can use normal git for everything. 

> It would be my recommendation to add a third "URL" to it and that's the
> fedpkg command to clone.

Yeah, might be a reasonable idea indeed. Can you file a issue at
https://pagure.io/pagure/issues/ ?

> If a non-packager can push using SSH, I would also add that URL
> unconditonally. I could not find the URL as non-packager so I can't say if
> you have that permission. It would make sense to me that you do.

non-packager cannot push via ssh at all. 

> This may be difficult. It looks like this is the relevant template:
> 
> https://pagure.io/pagure/blob/master/f/pagure/templates/repo_master.html
> 
> That suggests it can't easily be modified just for Fedora.

Yeah, might need some configurability added. 

kevin

Attachment: signature.asc
Description: PGP signature

_______________________________________________
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