Skip to content

Commit 1dba508

Browse files
committed
Cleanups
1 parent c4e57af commit 1dba508

File tree

4 files changed

+7
-84
lines changed

4 files changed

+7
-84
lines changed

helpers.py

Lines changed: 0 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -61,90 +61,6 @@ def send_email(gmail_user, gmail_password, recipients, subject, body):
6161
print('Something went wrong...{}', sys.exc_info()[0])
6262

6363

64-
needinfos42 = bzapi.build_query(
65-
target_milestone=VERSION_4_2,
66-
flag=NEEDINFO
67-
)
68-
69-
needinfos43 = bzapi.build_query(
70-
target_milestone=VERSION_4_3,
71-
flag=NEEDINFO
72-
)
73-
74-
75-
on_qa_43 = bzapi.build_query(
76-
target_milestone=VERSION_4_3,
77-
status=ON_QA,
78-
)
79-
80-
on_qa_42 = bzapi.build_query(
81-
target_milestone=VERSION_4_2,
82-
status=ON_QA
83-
)
84-
85-
modified_next_release_43 = bzapi.build_query(
86-
target_milestone=[VERSION_4_3[-1]],
87-
status=MODIFIED,
88-
)
89-
90-
modified_next_release_42 = bzapi.build_query(
91-
target_milestone=[VERSION_4_2[-1]],
92-
status=MODIFIED,
93-
)
94-
95-
verified_43 = bzapi.build_query(
96-
target_milestone=VERSION_4_3,
97-
status=VERIFIED
98-
)
99-
100-
verified_42 = bzapi.build_query(
101-
target_milestone=VERSION_4_2,
102-
status=VERIFIED
103-
)
104-
105-
blockers_43 = bzapi.build_query(
106-
target_milestone=VERSION_4_3,
107-
status=OPEN_BUGS,
108-
flag=BLOCKER
109-
)
110-
111-
blockers_42 = bzapi.build_query(
112-
target_milestone=VERSION_4_2,
113-
status=OPEN_BUGS,
114-
flag=BLOCKER
115-
)
116-
117-
118-
candidate_blockers_43 = bzapi.build_query(
119-
target_milestone=VERSION_4_3,
120-
status=OPEN_BUGS,
121-
flag=CANDIDATE_BLOCKER
122-
)
123-
124-
125-
candidate_blockers_42 = bzapi.build_query(
126-
target_milestone=VERSION_4_2,
127-
status=OPEN_BUGS,
128-
flag=CANDIDATE_BLOCKER
129-
)
130-
131-
on_qa_blockers_43 = bzapi.build_query(
132-
target_milestone=VERSION_4_3,
133-
status=[ON_QA],
134-
flag=BLOCKER
135-
)
136-
137-
on_qa_blockers_42 = bzapi.build_query(
138-
target_milestone=VERSION_4_2,
139-
status=[ON_QA],
140-
flag=BLOCKER
141-
)
142-
143-
missing_acks_43 = bzapi.build_query(
144-
target_milestone=VERSION_4_3,
145-
flag=MISSING_ACK
146-
)
147-
14864
missing_acks_42 = bzapi.build_query(
14965
target_milestone=VERSION_4_2,
15066
flag=MISSING_ACK

personal_config.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
USER = "<YOUR_BUGZILLA_USER>@redhat.com"
22
PASSWORD = "<YOUR_BUGZILLA_PASSWORD>"
3+
4+
# For the Bugzilla reports
35
gmail_user = "<YOUR_MAIL>@gmail.com"
46
gmail_pwd = "<YOUR_PASSWORD>"
57
mail_to = "<YOUR_MAIL>@redhat.com"

report_OCS_status

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<html><body>
2+
<h3>Hi,</h3>
3+
<h3>This is the status of OCS - bugs:</h3>
4+
<h1><u>OCS 4.2 Status</u></h1>
5+
<h3>New arrivals (weekly): 31</h3>

0 commit comments

Comments
 (0)