Skip to content
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

Review v35 #3342

Open
wants to merge 213 commits into
base: review-v35
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
213 commits
Select commit Hold shift + click to select a range
3004eae
tests: handle when syslog file do not exist
lucasmoura Sep 12, 2024
f79425d
test: update packages on security status test
lucasmoura Sep 9, 2024
b7992c9
api: Do not report unattended-upgrade disabled if any config is false
aleasto Jul 31, 2024
83c438b
tests: better group FIPS VM tests
lucasmoura Jul 19, 2024
8ae15fb
tests: better group FIPS cloud tests
lucasmoura Jul 19, 2024
9e2f01a
tests: better group Pro cloud FIPS tests
lucasmoura Jul 19, 2024
e6420df
tests: use python jq to apply filters
lucasmoura Aug 5, 2024
3aa5c26
api: Do not crash when a Unattended-Upgrade config is missing
aleasto Aug 6, 2024
529371c
api: Report missing Unattended-Upgrade configs as turned off
aleasto Aug 12, 2024
be0b777
tests: drop amc snap from list of required snaps
morphis Aug 6, 2024
922ca6e
open v35 for dev
orndorffgrant Aug 16, 2024
1ed0bf0
tests: consolidate proxy tests
lucasmoura Aug 7, 2024
be7783c
tests: make test_gpg only test the gpg unit
orndorffgrant Aug 22, 2024
8464d24
tests: create feature file for cli disable
lucasmoura Aug 7, 2024
4c55801
tests: create feature file for ros service
lucasmoura Aug 7, 2024
1a625a2
tests: create feature file for cli refresh
lucasmoura Aug 7, 2024
7a7bad3
tests: create feature file for cli detach
lucasmoura Aug 8, 2024
f8c7f06
tests: create feature file for cli auto-attach
lucasmoura Aug 8, 2024
530022f
tests: create feature file for cc-eal service
lucasmoura Aug 8, 2024
83722b1
tests: consolidate version tests
lucasmoura Aug 8, 2024
79656c8
test: consolidate help tests
lucasmoura Aug 8, 2024
da5f45b
test: consolidate timer tests
lucasmoura Aug 9, 2024
62ce010
tests: create feature file for cli status
lucasmoura Aug 9, 2024
89c0720
tests: consolidate livepatch tests
lucasmoura Aug 9, 2024
1740f04
tests: create feature file for cli enable
lucasmoura Aug 14, 2024
48b682d
tests: consolidate install tests
lucasmoura Aug 14, 2024
5f6c011
tests: create feature file for cis service
lucasmoura Aug 14, 2024
3af4f29
tests: create feature file for usg service
lucasmoura Aug 14, 2024
458ea8a
tests: create feature file for api reboot required
lucasmoura Aug 14, 2024
4aeab02
tests: consolidate fips tests
lucasmoura Aug 15, 2024
5253476
tests: split enable/disable tests
lucasmoura Aug 15, 2024
ecfeda0
tests: create feature file for cli attach
lucasmoura Aug 15, 2024
f9c9ded
tests: delete attached_enable.feature file
lucasmoura Aug 15, 2024
72990fc
tests: move unattached refresh test to cli_refresh
lucasmoura Aug 15, 2024
76fe88f
tests: delete unattached_commands.feature
lucasmoura Aug 15, 2024
deacbe8
tests: consolidate daemon tests
lucasmoura Aug 15, 2024
f9f5a89
test: rename cli related test to new pattern
lucasmoura Aug 15, 2024
b7ca6db
tests: create folder for api integration tests
lucasmoura Aug 16, 2024
f6f9146
tests: create folder for cli integration tests
lucasmoura Aug 16, 2024
fad01e3
tests: add base attach scenario on cli attach
lucasmoura Aug 27, 2024
199d553
tests: update Unattended-Upgrade::Allowed-Origins
lucasmoura Aug 21, 2024
ff66767
refactor: check onlySeries on reboot (#3246)
dheyay Aug 28, 2024
a14cb70
ci: remove mantic from releases list
renanrodrigo Aug 12, 2024
0fdedc2
chore: remove mantic references from the codebase
renanrodrigo Aug 12, 2024
ebd346a
apt: always ensure the ESM cache is present
renanrodrigo Aug 13, 2024
264fbdd
tests: Change mantic tests in behave to noble/oracular
renanrodrigo Aug 13, 2024
1d4b0f0
Add arm64 tag
dheyay Sep 4, 2024
fc22bf8
api: u.pro.services.list.v1
dheyay Sep 4, 2024
a5d00b7
debian: add more scenarios to dep8 tests
lucasmoura Jul 26, 2024
b7038e0
api: u.pro.token_info.v1
dheyay Aug 13, 2024
f663a8d
Add new error message and exception
dheyay Aug 27, 2024
94c044f
Update handling errors due to contract expiration
dheyay Aug 22, 2024
41c2f9f
Update simulate_status with new error messages
dheyay Aug 27, 2024
fd8fcff
Add new step to output and token_info schema
dheyay Aug 21, 2024
b6048b6
Add integration test
dheyay Aug 21, 2024
dad2b1c
chore: use python-apt version from noble-updates in tox
renanrodrigo Sep 6, 2024
35693dd
api: u.pro.status.notices.v1
dheyay Aug 13, 2024
1278e4a
ci: bump actions/[download,upload]-artifact version
renanrodrigo Sep 4, 2024
2312a49
api: u.pro.subscription.v1
dheyay Aug 8, 2024
ccc0264
api: u.pro.config.v1
dheyay Aug 9, 2024
ebe0810
tests update
dheyay Aug 14, 2024
2d957a2
Rename endpoint to access
dheyay Sep 3, 2024
6259a1c
test(network): add behave tests to ensure network errors are handled
a-dubs Aug 13, 2024
b8bd470
feat(auto-attach): skip if no codes on aws
aciba90 May 22, 2024
8023273
tools: add script to generate docs for the commands
renanrodrigo Aug 22, 2024
4bd35e3
docs: reorganize the manpage
renanrodrigo Aug 26, 2024
d9aa74c
help: standardize command descriptions
renanrodrigo Aug 27, 2024
f851e2c
docs: automatically generate the command entries for the manpage
renanrodrigo Aug 27, 2024
fee0a8b
docs: include subcommands in the auto generated docs for the CLI
renanrodrigo Aug 27, 2024
d5cf2b5
docs: automatically generate the command entries for the rst docs
renanrodrigo Aug 29, 2024
6f936e7
config: validate boolean values when setting them
renanrodrigo Sep 5, 2024
2a8459f
config: add configuration options for the CLI
renanrodrigo Sep 5, 2024
19f2dc7
cli: add formatter config
renanrodrigo Sep 6, 2024
59bc0b6
cli: add function to wrap strings
renanrodrigo Sep 13, 2024
a114ba5
colors: add orange to the TxtColor class
renanrodrigo Sep 13, 2024
3ecd981
cli: add Table class
renanrodrigo Sep 15, 2024
4c9b5ab
chore: run reformat-gherkin
renanrodrigo Sep 13, 2024
7b5802d
system: add logic to collect cpu type information
lucasmoura Aug 26, 2024
61c5ea5
contract: collect cpu type for activity info
lucasmoura Aug 26, 2024
49112be
data_types: add support for float data type
lucasmoura Jun 19, 2024
e3ec531
config: add suport for vulnerability data url
lucasmoura Jun 19, 2024
438478f
http: add function to download files
lucasmoura Jun 19, 2024
cc20e3f
api: add support for cve vulnerabilities
lucasmoura Jun 19, 2024
0e36253
api: add support for usn vulnerabilities
lucasmoura Jun 20, 2024
a08adcf
api: change fixable state on vulnerabilities
lucasmoura Jun 21, 2024
e1174f5
api: add support for updates_with_cves
lucasmoura Jun 24, 2024
34c0593
tests: add integration test for vulnerabilites API
lucasmoura Jul 2, 2024
d3aee98
api: add ubuntu_priority to cve vulnerabilities
lucasmoura Jul 4, 2024
1c06958
api: support static file for vulnerabilities API
lucasmoura Jul 5, 2024
2ce0f20
api: add manifest support for vulnerabilities
lucasmoura Jul 10, 2024
8ad392e
api: add series support to vulnerabilities API
lucasmoura Jul 10, 2024
8027232
api: support updates input for updates_with_cves
lucasmoura Jul 11, 2024
6e0eecb
api: add cache for json data
lucasmoura Jul 12, 2024
7f77469
api: fix code that gets source package from JSON
lucasmoura Jul 15, 2024
22f8931
api: check binary package version on vulnerability
lucasmoura Jul 16, 2024
061d757
api: create cache for vulnerability when non-root
lucasmoura Jul 16, 2024
0ad9fbd
tests: improve api vulnerability test formatting
lucasmoura Jul 19, 2024
aa8cd60
api: update function to download bz2 file
lucasmoura Jul 19, 2024
5daff8e
api: download fips data when service enabled
lucasmoura Jul 19, 2024
383dd64
api: add documentation to vulnerability endpoints
lucasmoura Jul 30, 2024
c7b1288
api: sort related CVEs in update_with_cves
lucasmoura Jul 30, 2024
1419a5e
api: download xz file for vulnerability APIs
lucasmoura Jul 30, 2024
406e7f0
tests: apply jq filter step to vulnerability tests
lucasmoura Aug 16, 2024
2b8a004
api: use data object file for cache publish date
lucasmoura Aug 20, 2024
f0bbd99
api: rename some data objects on updates with cves
lucasmoura Aug 20, 2024
d1bdb14
api: update VulnerabilityParser class
lucasmoura Aug 20, 2024
bb17450
data: fix bug on FloatDataType
lucasmoura Aug 20, 2024
6046808
api: refactor flag checks on vulnerabilities API
lucasmoura Aug 20, 2024
d665140
api: error our if options are used together
lucasmoura Aug 20, 2024
82852d2
http: simplify decompressing xz data for pycurl
lucasmoura Aug 20, 2024
ccf5ef0
api: don't get apt update time if manifest used
lucasmoura Aug 20, 2024
8fa2dbb
api: reuse function to parse vulnerabilities dates
lucasmoura Aug 20, 2024
d1a88d3
api: bump release version for vulnerabilities API
lucasmoura Aug 20, 2024
072db37
tests: use json data directly for vulnerabilities
lucasmoura Sep 2, 2024
5f126d7
api: more concise parser for manifest file
lucasmoura Sep 2, 2024
58cbeea
api: compare binary version on updates_with_cves
lucasmoura Sep 4, 2024
49607e8
api: rename vulnerability parser variables
lucasmoura Sep 4, 2024
bddc11c
api: address transtion packages in vulnerabilities
lucasmoura Sep 6, 2024
d15d2bd
api: refactor how we interact with installed pkgs
lucasmoura Sep 11, 2024
fde059f
http: ignore errors when decoding response
lucasmoura Sep 18, 2024
956ee67
tests: add new vulnerability entry on config tests
lucasmoura Sep 19, 2024
d4519e7
chore: archive old sru verification scripts
orndorffgrant Sep 24, 2024
421bb72
ci: fix first run of checklist action
orndorffgrant Sep 24, 2024
01c3414
cli: don't change Table instances when printing them
renanrodrigo Sep 18, 2024
163fccf
cli: only try to print table headers if they exist
renanrodrigo Sep 19, 2024
82fc849
cli: determine length when strigifying the Table objects
renanrodrigo Sep 23, 2024
2ab6659
cli: add indented Block classes
renanrodrigo Sep 23, 2024
97cd75a
cli: remove colors and utf-8 from Block and Table based on Config
renanrodrigo Sep 23, 2024
4027b9b
cli: create superclass for output formatters
renanrodrigo Sep 24, 2024
b1e8d68
cli: add logic to align Table rows
renanrodrigo Sep 27, 2024
505ac53
cli: don't try to wrap if string length is the total length
renanrodrigo Sep 30, 2024
ae50645
cli: add support for rendered links
renanrodrigo Sep 30, 2024
53879bf
tests: give jammy->noble upgrade its own test
orndorffgrant Sep 17, 2024
54052ec
chore: bump pycloudlib
orndorffgrant Sep 19, 2024
9ee0135
tests: bionic wsl doesn't have systemd
orndorffgrant Sep 27, 2024
a240b7e
help: deduplicate 'pro help' command entries
renanrodrigo Oct 1, 2024
e88eba6
chore: change unicode dash in the help text for 'help'
renanrodrigo Jul 31, 2024
0ef5056
Add candidate version check to security status
dheyay Sep 26, 2024
af7144e
tests: don't install old pro package on Noble
lucasmoura Sep 13, 2024
20abe13
tests: drop amc snap from list of required snaps
morphis Aug 6, 2024
f279c44
Update logging for apt errors
dheyay Sep 17, 2024
6754a6d
Override applicability status for landscape
dheyay Oct 3, 2024
7f9d026
Add integration test for landscape status
dheyay Oct 3, 2024
238fc00
apt: silence warnings when fetching apt-news
lucasmoura Sep 10, 2024
97b7777
api: update cache for vulnerabilities
lucasmoura Sep 4, 2024
0dd6d1e
api: add related_usns to vulnerabilities cve
lucasmoura Sep 4, 2024
9bda3a7
api: add related_cves to vulnerabilities usn
lucasmoura Sep 19, 2024
2ea39fe
Update version check script
dheyay Oct 7, 2024
4ea17bc
apparmor fix
dheyay Oct 7, 2024
575d9d2
refactor: rename auto-attach classes
orndorffgrant Aug 16, 2024
b752813
refactor: separate public cloud auto attach implementation
orndorffgrant Aug 22, 2024
f2d13b5
api: u.pro.attach.guest.get_guest_token.v1
orndorffgrant Aug 26, 2024
0ed6473
refactor: avoid pickling when we only need a copy of a dict
orndorffgrant Oct 3, 2024
ce27228
config: lxd_guest_attach setting
orndorffgrant Aug 28, 2024
8ccfbe1
refactor: reusable http unix request function
orndorffgrant Aug 28, 2024
1160ba6
util: function to make adding extra values to logs easier
orndorffgrant Aug 31, 2024
5d62735
lxd: attempt to attach on launch
orndorffgrant Aug 31, 2024
09e16cb
tests: adjust tests that assumed auto-attach not available on lxd
orndorffgrant Oct 3, 2024
d3c750b
add lxd to allowed words
orndorffgrant Sep 14, 2024
95936e1
tests: ignore other non-pro crashes in yaml test
orndorffgrant Oct 4, 2024
3adf470
tests: account for root-only logs on noble onwards
orndorffgrant Oct 4, 2024
6ae6a2f
api: add support for applied fixes count
lucasmoura Sep 19, 2024
3741b14
cli: add support pro vulnerability show
lucasmoura Sep 4, 2024
db192d1
cli: add vulnerability update command
lucasmoura Sep 19, 2024
1b696a7
cli: add support for vulnerability list command
lucasmoura Sep 19, 2024
cd5d9fb
cli: add --update for vulnerability commands
lucasmoura Sep 20, 2024
9eaf9ce
cli: update vulnerability list for no issues
lucasmoura Sep 20, 2024
39ab9eb
cli: update helper functions on vulnerability list
lucasmoura Sep 24, 2024
2d27cb3
api: only allow --series with --manifest_file
lucasmoura Sep 25, 2024
d5a8836
cli: update vulnerability help output
lucasmoura Sep 27, 2024
f85284c
cli: change header order for list command
lucasmoura Sep 27, 2024
9cdafd5
cli: update fixable summary for list command
lucasmoura Sep 30, 2024
0fd5c97
cli: use Block formatter on vulnerability list
lucasmoura Oct 3, 2024
80d402a
cli: add links to vulnerability list
lucasmoura Oct 4, 2024
8ea36c9
tests: add json extension to security file
lucasmoura Oct 8, 2024
9c7cc4b
add vulnerability words to allowed words list
lucasmoura Oct 8, 2024
0844eed
api: fix typo on cve vulnerabilities function
lucasmoura Oct 8, 2024
8f136d2
cli: fix url in vulnerability show
lucasmoura Oct 8, 2024
5801b1b
api: fix typo on vulnerability error message
lucasmoura Oct 8, 2024
2f594f4
Drop python3-pkg-resources dependency on Oracular
lucasmoura Oct 7, 2024
fd554cb
api: cache result of source pkg version function
lucasmoura Oct 9, 2024
d6d4cd9
release 35 changelog
lucasmoura Oct 8, 2024
cd3f529
po: run update-pos
lucasmoura Oct 8, 2024
fad2ab3
tests: fix xenial security-status test
renanrodrigo Oct 11, 2024
a7c7de8
fix: use USNs directly from the CVE response
lucasmoura Oct 7, 2024
f7c833b
cli: change vulnerability applied fixes message
lucasmoura Oct 10, 2024
fc1e15c
test: fix help test for vulnerability commands
lucasmoura Oct 10, 2024
547601a
cli: update fixable message on vulnerability list
lucasmoura Oct 11, 2024
edd5571
apt-hook: only run apt upgrade hook when run as root
orndorffgrant Oct 16, 2024
49020f4
changelog: add apt hook root only entry
orndorffgrant Oct 16, 2024
6cd1c0a
esm: add snapshot urls to apt auth
orndorffgrant Oct 8, 2024
6678a01
cli: add spinning wheel for vulnerability list
lucasmoura Oct 15, 2024
3c2389c
tests: use right json data for updates_with_cves
lucasmoura Oct 16, 2024
ad3b03c
api: cache vulnerability data published date
lucasmoura Oct 16, 2024
4732a38
cli: fix assert_data_cache_updated decorator
lucasmoura Oct 16, 2024
db20560
entitlements: ignore any presentedAs information from the backend
renanrodrigo Oct 4, 2024
caeeb0d
entitlements: make each entitlement have a single name
renanrodrigo Oct 4, 2024
2610fc2
entitlements: add 'USG' as an entitlement
renanrodrigo Oct 7, 2024
c57f28b
chore: typecheck entitlement_factory correctly
renanrodrigo Oct 7, 2024
6d4ce25
entitlements: separate CIS and USG by series
renanrodrigo Oct 8, 2024
b4caa31
chore: turn ENTITLEMENT_CLASSES into a function
renanrodrigo Oct 9, 2024
7a187f1
entitlements: enable USG instead of CIS on Focal
renanrodrigo Oct 10, 2024
133c20a
postinst: migrate CIS to USG on Focal and Jammy
renanrodrigo Oct 11, 2024
68b1906
tests: fix u.pro.services.dependencies.v1 order
lucasmoura Oct 23, 2024
aca05cd
api: fix typo on config endpoint
lucasmoura Oct 17, 2024
168940a
lxd: log error if LXD instance API fails
lucasmoura Oct 17, 2024
9de2265
lxd: log when guest_attach is not on
lucasmoura Oct 17, 2024
8f3e081
http: log unexpected json response
lucasmoura Oct 17, 2024
b99ce93
feat(GCP): Add minimal image license codes
kajiya3141 Oct 23, 2024
da81674
tests: add step to install ubuntu-pro-auto-attach
lucasmoura Oct 21, 2024
32c5bb6
tests: update aws setup for retry auto-attach
lucasmoura Oct 21, 2024
d4f2e32
cli: vulnerability alias to vulnerability list
lucasmoura Oct 24, 2024
94e108a
tests: fix realtime-kernel output check
lucasmoura Nov 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/actions/pr-checklist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ async function run() {
issue_number: context.issue.number,
content: "eyes"
});
errors.push("First run. Please fill out the checklist.")
}

if (errors.length > 0) {
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
release: ['xenial', 'bionic', 'focal', 'jammy', 'mantic', 'noble']
release: ['xenial', 'bionic', 'focal', 'jammy', 'noble']
steps:
- name: Prepare build tools
env:
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
sg sbuild -c "sbuild --dist='${{ matrix.release }}' --resolve-alternatives --no-clean-source --nolog --verbose --no-run-lintian --build-dir='${{ runner.temp }}'"
mv ../*.deb '${{ runner.temp }}' # Workaround for Debbug: #990734, drop in Jammy
- name: Archive debs as artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: 'ci-debs-${{ matrix.release }}'
path: '${{ runner.temp }}/*.deb'
Expand All @@ -70,7 +70,7 @@ jobs:
# as much information as possible from them.
fail-fast: false
matrix:
release: ['bionic', 'focal', 'jammy', 'mantic', 'noble']
release: ['bionic', 'focal', 'jammy', 'noble']
platform: ['lxd-container']
host_os: ['ubuntu-22.04']
include:
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
- name: Git checkout
uses: actions/checkout@v3
- name: Retrieve debs
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.7
with:
name: 'ci-debs-${{ matrix.release }}'
path: '${{ runner.temp }}'
Expand Down Expand Up @@ -155,7 +155,7 @@ jobs:
sg lxd -c "tox -e behave -- -D machine_types=${{ matrix.platform }} -D releases=${{ matrix.release }} --tags=-slow --tags=-upgrade --tags=-no_gh --tags=-vpn"
- name: Archive test artifacts
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: 'ci-behave-${{ matrix.release }}'
path: '${{ runner.temp }}/artifacts/behave*'
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
[![Released Bionic Version](https://img.shields.io/ubuntu/v/ubuntu-advantage-tools/bionic?label=Bionic&logo=ubuntu&logoColor=white)](https://launchpad.net/ubuntu/bionic/+source/ubuntu-advantage-tools)
[![Released Focal Version](https://img.shields.io/ubuntu/v/ubuntu-advantage-tools/focal?label=Focal&logo=ubuntu&logoColor=white)](https://launchpad.net/ubuntu/focal/+source/ubuntu-advantage-tools)
[![Released Jammy Version](https://img.shields.io/ubuntu/v/ubuntu-advantage-tools/jammy?label=Jammy&logo=ubuntu&logoColor=white)](https://launchpad.net/ubuntu/jammy/+source/ubuntu-advantage-tools)
[![Released Mantic Version](https://img.shields.io/ubuntu/v/ubuntu-advantage-tools/mantic?label=Mantic&logo=ubuntu&logoColor=white)](https://launchpad.net/ubuntu/mantic/+source/ubuntu-advantage-tools)
[![Released Noble Version](https://img.shields.io/ubuntu/v/ubuntu-advantage-tools/noble?label=Noble&logo=ubuntu&logoColor=white)](https://launchpad.net/ubuntu/noble/+source/ubuntu-advantage-tools)
[![Released Oracular Version](https://img.shields.io/ubuntu/v/ubuntu-advantage-tools/oracular?label=Oracular&logo=ubuntu&logoColor=white)](https://launchpad.net/ubuntu/oracular/+source/ubuntu-advantage-tools)

Expand Down
2 changes: 1 addition & 1 deletion apt-hook/20apt-esm-hook.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ APT::Update::Pre-Invoke {
};

binary::apt::AptCli::Hooks::Upgrade {
"[ ! -f /usr/lib/ubuntu-advantage/apt-esm-json-hook ] || /usr/lib/ubuntu-advantage/apt-esm-json-hook 2>> /var/log/ubuntu-advantage-apt-hook.log || true";
"[ ! -f /usr/lib/ubuntu-advantage/apt-esm-json-hook ] || [ $(id -u) -ne 0 ] || /usr/lib/ubuntu-advantage/apt-esm-json-hook 2>> /var/log/ubuntu-advantage-apt-hook.log || true";
};
6 changes: 5 additions & 1 deletion debian/apparmor/ubuntu_pro_apt_news.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ profile ubuntu_pro_apt_news flags=(attach_disconnected) {
capability dac_read_search,
# GH: 3079
capability dac_override,
capability kill,
capability chown,
capability fowner,

/etc/apt/** r,
/etc/default/apport r,
Expand All @@ -41,7 +44,8 @@ profile ubuntu_pro_apt_news flags=(attach_disconnected) {
/var/lib/ubuntu-advantage/messages/ rw,
/var/lib/ubuntu-advantage/messages/* rw,
/run/ubuntu-advantage/ rw,
/run/ubuntu-advantage/* rw,
/run/ubuntu-advantage/apt-news/ rw,
/run/ubuntu-advantage/apt-news/* rw,

# LP: #2072489
# the apt-news package selector needs access to packaging information
Expand Down
52 changes: 50 additions & 2 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,51 @@
ubuntu-advantage-tools (35) oracular; urgency=medium

* d/tests/usage: add more scenarios to dep8 tests
* New upstream release 35: (LP: #2083973)
- api:
+ new endpoints:
* u.pro.attach.guest.get_guest_token.v1: Get the Pro client guest
token
* u.pro.config.v1: Show the Pro configuration in the machine
* u.pro.packages.updates_with_cves.v1: List the package updates
available and the CVEs that will be fixed by those updates
* u.pro.security.vulnerabilities.cve.v1: List the fixable CVEs that
affect the system
* u.pro.security.vulnerabilities.usn.v1: List the fixable USNs that
affect the system
* u.pro.services.list.v1: Show the services provided by Pro
* u.pro.status.notices.v1: Show the active Pro notices in the machine
* u.pro.subscription.v1: Show information about the Pro subscription
in the machine
* u.pro.token_info.v1: Show the Pro token information
+ u.pro.packages.updates.v1: create new package
status: upgrade_available_not_preferred (GH: #3184)
+ fixes for u.unattended_upgrades.status.v1:
* do not crash when a Unattended-Upgrade config is missing
* do not report unattended-upgrade disabled if any config is false
* report missing Unattended-Upgrade configs as turned off
- apt:
+ always ensure the ESM cache is present (GH: #3132)
+ silence warnings when fetching apt-news (GH: #3209, LP: #2070095)
+ update logging for apt errors (GH: #3299)
+ only run the apt upgrade hook when run as root (LP: #2084677)
- cli:
+ add support for vulnerability commands:
* pro vulnerability list: List fixable vulnerabilities in the machine
* pro vulnerability show: Show information about an affected
vulnerability
* pro vulnerability update: Update the vulnerability data on the
machine
- config: add option lxd_guest_attach to control LXD integration with Pro
- contract:
+ check onlySeries on reboot (GH: #3189)
+ collect cpu type for activity info
- landscape:
+ update message if service not available through Pro (GH: #3331)
- lxd: allow pro auto-attach to work on a LXD container

-- Lucas Moura <[email protected]> Tue, 08 Oct 2024 16:50:42 -0300

ubuntu-advantage-tools (34) oracular; urgency=medium

* d/rules: check that version.py is consistent with changelog (GH: #3154)
Expand Down Expand Up @@ -45,7 +93,7 @@ ubuntu-advantage-tools (33) oracular; urgency=medium
- contracts: add support for contracts which target a specific series
- fips: change enable functionality to ensure all packages with a FIPS
candidate are upgraded to the FIPS version (GH: #2667)
- fix:
- fix:
+ add the current_status field to the plan api return object
+ change recommended attach method to magic attach (GH: #3040)
- livepatch: prefer the term 'coverage' instead of 'support' in messaging
Expand Down Expand Up @@ -708,7 +756,7 @@ ubuntu-advantage-tools (27.11~22.10.1) kinetic; urgency=medium
- pro:
+ Ubuntu Pro is released as a product
+ make `pro` the recommended executable for the client
+ client, apt and motd messages updated/rewritten to show Pro
+ client, apt and motd messages updated/rewritten to show Pro
information
+ base URL changed from /advantage to /pro
+ ESM services renamed as part of Pro
Expand Down
1 change: 0 additions & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ Depends: ${misc:Depends},
${python3:Depends},
${shlibs:Depends},
python3-apt,
python3-pkg-resources,
${extra:Depends}
Recommends: ubuntu-pro-client-l10n
Breaks: ubuntu-advantage-tools (<<31~), ${misc:Breaks}
Expand Down
Loading
Loading