I am trying to figure out how to create a dist-git repo with pagure. I have a pagure and dist-git instance on my fedora31 server. Now, the use case is: Use dist-git as backend, create dist-git repo with "/usr/share/dist-git/setup_git_package project_name" Use pagure as frontend, mirror the repo from dist-git server.
I want to create a dist-git repo with pagure, and use fedpkg/rpkg to improt src.rpm in the git repo without mirroring.
Is pagure-dist-git the right tool to help me achieve that goal? I have installed pagure-dist-git with "dnf install -y pagure-dist-git". But I don't know how to configure it and cannot find the releated information in the readme of this project. Would you please show me some information about "How to create a dist-git repo with pagure"? Any information is appreciated.
hello, dose your problem been solved? I also built pagure to try to use pagure-dist-git plug-in in pagure, and encountered the same problem
I'm not sure it does what you want it to do. pagure-dist-git is a 3rd party extension to pagure itself allowing to customize pagure and it's UI a little bit. It adds some new API endpoints, it provides a new authentication/authorization backend for checking permissions upon git push operations.
git push
It does not include the lookaside cache (so fedpkg import will not work since it can't upload the sources there).
That being said, dist-git is "just" a collection of git repos and the lookaside cache to host the sources/tarballs. So there is really not anything special on the git side of things, you could likely do a the git side of a dist-git type of hosting on any git forge (I believe rpmfusion does it on github for example)
dist-git is actually packaged up for a while now.
https://src.fedoraproject.org/rpms/dist-git
that package should have the lookaside upload scripts and other setup items.
Metadata Update from @kevin: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)