~jfguedez/charm-ubuntu-advantage:bug/1962335

Last commit made on 2022-03-04
Get this branch:
git clone -b bug/1962335 https://git.launchpad.net/~jfguedez/charm-ubuntu-advantage
Only Jose Guedez can upload to this branch. If you are Jose Guedez please log in for upload directions.

Branch merges

Branch information

Name:
bug/1962335
Repository:
lp:~jfguedez/charm-ubuntu-advantage

Recent commits

08fa05c... by Jose Guedez

Use the operator apt library to install/remove packages

The library used here comes from the following PR, since
a couple bugs were discovered while working on this change.
* https://github.com/canonical/operator-libs-linux/pull/41

Closes-Bug: 1962284
Closes-Bug: 1962335

34e7823... by Tom Haddon

Add charmcraft.yaml so we can build the charm using charmcraft

Reviewed-on: https://code.launchpad.net/~mthaddon/charm-ubuntu-advantage/+git/charm-ubuntu-advantage/+merge/416087
Reviewed-by: Nick Moffitt <email address hidden>

b584b83... by Tom Haddon

Add charmcraft.yaml so we can build the charm using charmcraft

2ff56b6... by Jose Guedez

Add support for proxy settings from the model

Reviewed-on: https://code.launchpad.net/~jfguedez/charm-ubuntu-advantage/+git/charm-ubuntu-advantage/+merge/415946
Reviewed-by: Tom Haddon <email address hidden>

e8265de... by Jose Guedez

Refactor proxy support

* apt already supports proxy via apt-http[s]-proxy variables
* add proxy configuration to the UA client
* only `add-apt-repository` needs environment variables
* update unit tests, and add an extra test to cover proxies

e1f54bb... by Jose Guedez

fix broken unit tests

493ac61... by Bartosz Woronicz

Add support for proxy settings from the model

Closes-Bug: 1944591

a0f3abf... by Tom Haddon

Update readme to use charmhub location

Reviewed-on: https://code.launchpad.net/~mthaddon/charm-ubuntu-advantage/+git/charm-ubuntu-advantage/+merge/411170
Reviewed-by: Colin Misare <email address hidden>

f423771... by Tom Haddon

Update readme to use charmhub location

5d93cdb... by Colin Misare

Bug fix and improved logging

- Pinning to ops==1.1.0 until until https://github.com/canonical/operator/pull/520 is published to allow the charm to run on xenial
- Adding a bit more logging
- Fixing an issue with open() in 'r+' mode where truncate() wasn't being called which led to extra content at the end of the file

Reviewed-on: https://code.launchpad.net/~cmisare/charm-ubuntu-advantage/+git/charm-ubuntu-advantage/+merge/402298
Reviewed-by: Haw Loeung <email address hidden>