lp://staging/~doanac/ubuntu-ci-services-itself/cli-error-logging

Created by Andy Doan and last modified
Get this branch:
bzr branch lp://staging/~doanac/ubuntu-ci-services-itself/cli-error-logging
Only Andy Doan can upload to this branch. If you are Andy Doan please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Andy Doan
Project:
Ubuntu CI Services
Status:
Development

Recent revisions

152. By Andy Doan

fix mp comments

logging.INFO is too verbose for normal usage when doing file uploads.
This changes is back. It also removes the redunant "ERROR" from two
log.error lines i added

151. By Andy Doan

cli: improve 404 error handling

go ahead and show the user the bad URL when a 404 happens

also update the default logging level to be INFO

150. By Andy Doan

cli: add an auto_config command

This command will introspect the environment and Juju to create
a CLI config file for the user.

149. By Andy Doan

cli: improve loading of configuration data

The config data was being loaded at import time before the CLI
could even try deal with the usage statement. This changes thing
so the loading of the configuration is done after argparse.

While doing this change I consolidated the required configuration
into a single file. That should be easier to deal with.

As a result of the change, the imports used by some of the modules
needed to be updated so they use "utils" and not just import objects
from utils into each module's namespace.

This allows our test cases to now run without needing a special
config file.

148. By Andy Doan

make ubuntu-cli executable

147. By Evan

[r=Andy Doan] Pythonise the integration test runner. from Evan Dandrea

146. By Evan

[r=Chris Johnston] Small fixes to the CLI:
- Exit nonzero on failure.
- Log the entire exception when we have not classified it.
- Don't crash when creating a ticket without any source packages. from Evan Dandrea

145. By Chris Johnston

[r=Chris Johnston, Andy Doan] Update cli to work with the new subticketartifact url from Chris Johnston

144. By Chris Johnston

[r=Andy Doan] Add ticket complete API call to the TS from Chris Johnston

143. By Chris Johnston

[r=Andy Doan] Add missing lazr.enum to TS juju from Chris Johnston

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://staging/ubuntu-ci-services-itself
This branch contains Public information 
Everyone can see this information.

Subscribers