Skip to content

Commit

Permalink
Merge pull request #134 from ricky-rav/addMiheer
Browse files Browse the repository at this point in the history
NO-JIRA: Add miheer and render dev names without "rhn-support-" prefix
  • Loading branch information
openshift-merge-bot[bot] authored Nov 26, 2024
2 parents 0116901 + 7e97564 commit 1df82df
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion jira-scripts/network_bugs_overview
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ RH_DEVELOPERS = (
"jcaamano",
"jluhrsen",
"jtanenba",
"rhn-support-misalunk",
"mkennell",
"npinaeva",
"pdiak",
Expand All @@ -48,6 +49,7 @@ GITHUB_TO_JIRA_USERS = {
"jluhrsen": "jluhrsen",
"JacobTanenbaum": "jtanenba",
"martinkennelly": "mkennell",
"miheer": "rhn-support-misalunk",
"npinaeva": "npinaeva",
"kyrtapz": "pdiak",
"pperiyasamy": "pepalani",
Expand Down Expand Up @@ -119,6 +121,10 @@ TEAM_COMPONENTS = (
)
ASSIGN_WINDOW_DAYS = 21 # 3 weeks in a sprint

def render_rh_developers(name):
if name.startswith("rhn-support-"):
return name[len("rhn-support-") :]
return name

def extract_number_from_jira_id(jira_id):
return int(re.search(r'^SDN-(\d+)$', jira_id).group(1))
Expand Down Expand Up @@ -1022,7 +1028,7 @@ def print_summary_table(developers, quick=False):
dev_username, _ = get_username_and_usermail_from_assignee(dev_email)
new_line = [
rank + 1,
dev_username,
render_rh_developers(dev_username),
v["points"],
v["number_of_bugs"],
v["bugs_in_new"],
Expand Down

0 comments on commit 1df82df

Please sign in to comment.