Merge ~amzn-cmiller/cloud-init:read-version_errors into cloud-init:master
Proposed by
Chad
Status: | Merged |
---|---|
Approved by: | Dan Watkins |
Approved revision: | 39185f5f7e29d3239ece644bade9a070efc41920 |
Merge reported by: | Server Team CI bot |
Merged at revision: | not available |
Proposed branch: | ~amzn-cmiller/cloud-init:read-version_errors |
Merge into: | cloud-init:master |
Diff against target: |
19 lines (+5/-2) 1 file modified
tools/read-version (+5/-2) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Approve | |
Review via email: mp+365126@code.launchpad.net |
Commit message
tools/read-version: handle errors
When the cloned branch was not the canonical upstream and tags were not
available, tox would fail because tools/read-version would fail, and
tragically never print the advice that is in tools/read-version about
how to fix it.
This changes tools/read-version to catch the exception that is elsewhere
explicitly thrown and treat that too as an error it can handle.
To post a comment you must log in.
Chad,
what's the next steps here? I see you've targeted this to someone elses branch. Is there still work or should this be dropped/closed?