#70 Add the pagure_distgit 3rd party extension for pagure
Merged by pingou. Opened by pingou.
pagure_distgit  into  master

Download 70.patch

This 3rd party extension has a dedicated database model expending
pagure's database model to store information about monitoring status of
a project.
It also has two new endpoints, one to retrieve the current monitoring
status of a project, the second to update it.
These two endpoints are then leveraged in the srcfpo theme of pagure to
display the current monitoring status of the package and update it.

Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr

Knowing that we might want to add more stuff in this plugin later, should we have more generic name ? like PagureDistgit ? or do you think it is better to create new tables every time ?

Same here for the tablename

Should this be moved to its own module ?

I'm kinda thinking it may be better to have a new table every time, otherwise it'll create too much empty columns which aren't great from a DB point of view.

Do we want a default value here ?

Do you want the "POST" method here ?

Nope indeed, thanks for catching this :)

It could sure

Ah yes works for me :)

rebased onto 5db59c4f5fc9f95077fc6763977df12ee0cd9b2f

Thanks! :)

rebased onto b3b0444b127877f446f5f1baad3339d0bbf4e5c5

Pull-Request has been merged by pingou

Metadata