On Wednesday, 10 April 2019 11:04:11 CEST Pierre-Yves Chibon wrote: > On Mon, Mar 25, 2019 at 02:55:23PM -0500, Richard Shaw wrote: > > > Other than having it as a direct option in [1]src.fp.org I think being > > part of a special file in git would be next best. > > > In the recent releases pagure grew the possibility to have 3rd party > extensions with their own URL endpoints and able to extend the current > database model to store extra information. > > I've spent a little time using this feature to gain back support in pagure's > UI to toggle the monitoring status. > > Here is a small demo of how it looks like: > http://ambre.pingoured.fr/public/Screencast_pagure_distgit_anitya.webm > > Basically, there would now be a button on the sidebar which would show the > current monitoring status and would allow project admins and pagure wide > admins to update this setting. > > Feedback most welcome :) > > I'm going to clean up the code a little bit and open a PR on the > pagure-dist-git project, reviews and suggestions welcome there as well. > > Nice! But could it also come with an API endpoint to do this programatically? Like if I want to switch all my monitoring at once in a Python script. _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx