Project

Profile

Help

Task #2442

closed

Create a script to update mentionbot configs in pulp repos

Added by semyers over 7 years ago. Updated about 5 years ago.

Status:
CLOSED - COMPLETE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Pulp 2
Sprint:
Sprint 18
Quarter:

Description

We occasionally have a need to update the mentionbot configs (like this one) in several pulp repositories simultaneously, such as when we want to add a new github username to the mentionbot blacklist.

It would be convenient to have a script in the devel repository to faciliate this.

Actions #1

Updated by mhrivnak over 7 years ago

  • Groomed changed from No to Yes
  • Sprint Candidate changed from No to Yes
Actions #2

Updated by mhrivnak over 7 years ago

  • Sprint/Milestone set to 30
Actions #3

Updated by daviddavis over 7 years ago

I think this will be a valuable tool. For the initial pass at this, I was thinking the script could:

1. Grab the .mention-bot config from the pulp repo
2. Look at the other repos'[0] configs for any differences and if there are differences...
3. Copy the mention bot config into the repository
4. Output any repos that changed.

The fourth step could actually git commit too? Not sure if that's trying to do too much though.

Thoughts?

[0] identified here https://git.io/v1VxE

Actions #4

Updated by daviddavis over 7 years ago

We could also keep a dictionary of fields and how to handle them (e.g. merge/ignore/etc). So like userBlacklist we could merge the list from pulp with any other repo's userBlacklist. While other fields like fileBlacklist for instance we might want to ignore (ie not copy over to other repos) because it's repo-specific.

Actions #5

Updated by fdobrovo about 7 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to fdobrovo
Actions #6

Updated by fdobrovo about 7 years ago

  • Status changed from ASSIGNED to POST
Actions #7

Updated by mhrivnak about 7 years ago

  • Sprint/Milestone changed from 30 to 36
Actions #8

Updated by mhrivnak about 7 years ago

  • Sprint/Milestone changed from 36 to 37

Added by fdobrovo about 7 years ago

Revision 2a2e8019 | View on GitHub

dd mention-bot script to update mentionbot configs in pulp repos

closes #2442 https://pulp.plan.io/issues/2442

Actions #9

Updated by fdobrovo about 7 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #10

Updated by bizhang almost 7 years ago

  • Status changed from MODIFIED to CLOSED - COMPLETE
Actions #11

Updated by bmbouter about 6 years ago

  • Sprint set to Sprint 18
Actions #12

Updated by bmbouter about 6 years ago

  • Sprint/Milestone deleted (37)
Actions #13

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF