-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync production changes back to git #15
base: master
Are you sure you want to change the base?
Conversation
As I've said on irc, I think this is good as a branch to document current state, but not for merging into master. I'll leave a couple of more specific comments for the person who is going to selectively take the good bits. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some hints for a cherrypicker.
@@ -0,0 +1,22 @@ | |||
[program:defineimage] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This and the other two participants should not go in. defineimage and do_build_trial got removed in git history. wait_for_repo_published is unused (perhaps it shares ancestry with is_repo_published?)
with open(os.path.join(bugzilla["template_store"], wid.params.template)) as fileobj: | ||
comment = prepare_comment(fileobj.read(), wid.fields.as_dict(), extra_data) | ||
elif wid.fields.reports and wid.fields.reports.bz_comment_template: | ||
with open(os.path.join(bugzilla["template_store"], wid.fields.reports.bz_comment_template)) as fileobj: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is probably fine, where did it open(wid.params.template) before?
@@ -374,6 +378,7 @@ def handle_action(self, action, wid, bugs): | |||
matches = set([(match.group(), match.group('key')) for match in bugzilla['compiled_re'].finditer(entry)]) | |||
for remote_re in bugzilla['remote_tags_re']: | |||
for match in remote_re.finditer(entry): | |||
print match.group() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Debugging, don't necessarily need it.
# skip requests marked as revert | ||
if "revert" in wid.fields.ev.description.lower(): | ||
wid.result = True | ||
return | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Guess that's ok?
"%s" % (package, | ||
bugzilla['regexp'])) | ||
"%s or %s" % (package, | ||
bugzilla['regexp'], bugzilla['remote_tags'])) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
ReportUploader, get_results_files_list, move_results_dir | ||
) | ||
|
||
from qarep.upload import * |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, I consider the qareports in dister code to be authorative. More checking required.
allow_recursive(bool) TODO: NOT YET IMPLEMENTED! | ||
shall the patterns expanding be recursive: True recusive, False do not | ||
allow_recursive(bool): | ||
shall the patterns expanding be recursive: True recusive, False do not |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still use this? Non functional changes anyway.
@@ -305,6 +305,8 @@ def construct_trial(self, trial_project, actions, extra_path=None, extra_links=N | |||
for act in actions: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I trust this file to be basically correct, though doesn't hurt to check.
@@ -73,7 +73,7 @@ def handle_wi(self, wid): | |||
for upload in uploaded]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as for setup_build_trial.py
@@ -117,6 +117,7 @@ def __update_patterns(self, project, package, target, binary): | |||
if errors: | |||
return uploaded, errors | |||
# Extract pattern (xml) files from the rpm | |||
print lab.real_path(binary) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Debugging, don't need.
Changes from production systems