#3552 Create a button to rerun CI
Closed: Fixed 5 years ago Opened 5 years ago by karsten.

The "[citest]" comment to rerun CIs isn't intuitive at all, we should provide a button to do that (much better UX).


We advice using the Quick Replies feature for this: https://docs.pagure.org/pagure/usage/pagure_ci.html#tips-and-tricks which is what we do in this project ;-)

I know, and automatically sending all PRs to CI seems to work quite well. But someone new to pagure most likely doesn't know what that 'pretty please...' is all about.

The thing is, Pretty please... triggers one sort of CI, [citest] another one, both of which are valid, both of which won't be able to be supported with a single button.

So if we added a button, it would be to replace the Pretty please.. and thus it wouldn't fix the [citest] case.
That being said, a button may be nicer indeed, but considering the Pretty please... is documented in the front-page of the Pagure CI doc: https://docs.pagure.org/pagure/usage/pagure_ci.html I think this is a nice-to-have rather than a high priority feature :)

Would it make sense to make this a Pagure-wide setting? E.g. there'd be a config value like this:

CI_RERUN_BUTTONS = {'Rerun some CIs': '[citest]', 'Rerun other CIs': 'Pretty please ...'}

Then we'd create buttons (or a dropdown?) where a user would select what they want to trigger and click that. This would automatically create a comment with the correct content on behalf of that user, which would rerun the specified CIs. And each Pagure instance maintainer would be able to set this to a different value.

I'll work on this (can't assign myself, so leaving a comment)

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #3957 Merged 5 years ago