#5083 New repository for Copr under https://github.com/fedora-infra
Closed: Fixed None Opened 8 years ago by msuchy.

I would like to move Copr git to github (and yes I considered pagure as well). I would like to have it in fedora-infra namespace.

Can someone pleas create 'copr' project under https://github.com/fedora-infra and give me (user xsuchy) admin permission so I can add more user r/w permission to this project?


Why can't this be in Pagure?
A list of reasons why you can't use Pagure is required, as in the past these sorts of requests have caused major disagreements that got sent to FESCo and other groups.

And why does it need to be under fedora-infra, as it's not developed by our infra team?

Well, IMHO, I'd like to see us move to pagure from github, but I am not doing the work, so all I can do is ask nicely and try and convince. ;) Is there anything we could fix/do on pagure that would make it more attractive ?

As for infra project or not, I guess this would be a way to try and get more development from the other infra folks? If thats the case I think it would be fine, but I don't know how everyone else feels about it.

Why can't this be in Pagure?

Because Pagure does not have webhook. I.e. when you push commit then notify 3rd party (Copr). Hmm. But Pagure emits fedmsg messages. Can pagure emit message when new commit is pushed?

And why does it need to be under fedora-infra, as it's not developed by our infra team?

It does not need to be there. I can easily greate new group and move it there. But Copr is part of Fedora so I want to give it better visibility and put it under one umbrella.

Replying to [comment:3 msuchy]:

Why can't this be in Pagure?

Because Pagure does not have webhook. I.e. when you push commit then notify 3rd party (Copr). Hmm. But Pagure emits fedmsg messages. Can pagure emit message when new commit is pushed?

FTR Pagure has webhook and pagure can send fedmsg message upon new commits being pushed :)

Replying to [comment:4 pingou]:

FTR Pagure has webhook and pagure can send fedmsg message upon new commits being pushed :)

Is there some documentation how to use it?

Both are available in the settings page of the project.

The webhooks field will take one or more URL (separated by \n) and will send a POST request with the payload upon action the payload is signed with a key specific for each project (similar to what github does actually).

The fedmsg notification for new commits is in the plugin section, just activate it and it will send a fedmsg notification for each commit done on the repo (so 50 commits in 1 push will send 50 messages). I am considering changing a little the format of the notification so that 1 push = 1 message of X commits.

So where are we here? Did we convince you to try pagure? or ? :)

As per https://lists.fedorahosted.org/archives/list/copr-devel@lists.fedorahosted.org/thread/ME545BVF75BSV3V7EEMCF5LGQIY2U6RV/ it looks like copr has been moved to github.

This solves this ticket I guess.

I would still like to hear if there are things missing on pagure that you would have liked, so maybe next time pagure is an option :)

Yes, we moved to github. The main reason is that we want to dogfood our webhooks for github.

I checked the the settings tab and it is indeed there. Just one note - I had hard time to find the icon of gear. It really hard to notice that icon.

Anyway, this can be closed now.

Login to comment on this ticket.

Metadata