How to open pull requests for Fedora package repositories at src.fedoraproject.org

I would like to create a pull request on existing RPM package.
I have an FAS account Fedora Accounts, created a SSH key, used fedpkg to kinit, read documentation …
Yet, I still do not have the right to push any change to my fork. To be fair the site say that I am required to be part of a Packager group (I remember trying but that was quite involving!)
But why am I allowed to make edit, commits and pull requests via the web interface then ??
Also I can SSH to fedorapeople.org and create files.

What am I missing here ??

2 Likes

https://docs.fedoraproject.org/en-US/ci/pull-requests/

That’s more or less the process I’ve used when I’ve submitted PRs.

3 Likes

Take a look at this:

https://fedoraproject.org/wiki/Join_the_package_collection_maintainers#One-off_contributions

src.fedoraproject.org uses Pagure but is modified to limit access to package maintainers for security purposes. The info on the wiki page explains how non-package maintainers can open pull requests.

2 Likes

I guess too much documentation kills documentation … I got lost in fedpkg and Pagure’s doc.
Basically it adds this to the .git/config

...
[credential]
	helper = /usr/bin/fedpkg gitcred
	useHttpPath = true
...

Just adding these 2 lines to the global '~/.gitconfig` allows to just use git for all your repo.

...
[credential "https://src.fedoraproject.org"]
	helper = /usr/bin/fedpkg gitcred
...

(You get debug logs from the server, but it works.)

1 Like