(WIP) Adding tools to help debugging build failures #45
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR addresses issue #29. It adds two tools which help in debugging why a software package cannot be built:
resubmit.py
takes a previous job (working directory) and optionally changes to that job (another directory whose files are copied on top of a freshly obtained PR - the contents of the original job). It creates a new job directory, submits the job and updates the comment corresponding to the original job of the PR. Some minor tweaks on the formatting of PR comments were necessary to make this happen.inspect_pr.py
takes the full name of a repository and a PR number and prints some information about the PR. Currently, this shows very limited information (just thebase.repo.ref
), but could be easily extended. While trivial this tool may be useful to show what information the bot can obtain given a specific repository and PR number.While functional (it's been used extensively to investigate build issues), this PR is flagged Work-In-Progress because it will benefit from resolving the following issues first (first merging this PR may make some of those issues more complex to resolve):
curl
#39