-
Notifications
You must be signed in to change notification settings - Fork 75
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
Release 29 #2677
Release 29 #2677
Commits on Aug 1, 2023
-
lock: alert the user about corrupted lock
If we detect we have a corrupted lock in the system, we are now alerting the user about that with steps to solve that scenario LP: #1996931
Configuration menu - View commit details
-
Copy full SHA for 5a9f6b5 - Browse repository at this point
Copy the full SHA 5a9f6b5View commit details -
tests: do not delete user ssh keys on cleanup
If we have not set the ssh keys when running integration tests, we might accidentally delete the ssh keys stored in the user .ssh folder. We are checking to see if the keys are stored in that folder before deleting it
Configuration menu - View commit details
-
Copy full SHA for d29e42a - Browse repository at this point
Copy the full SHA d29e42aView commit details -
chore: rename more ubuntu-advantage occurrences to ubuntu-pro
Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 56a8ae1 - Browse repository at this point
Copy the full SHA 56a8ae1View commit details -
tests: add mantic to the integration test suite
Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e847ae7 - Browse repository at this point
Copy the full SHA e847ae7View commit details -
tests: add lunar as a stable release
lunar is now tested where kinetic is tested, except on some cases where it is not possible yet - those will be done in 3 months lunar is now part of the GH CI Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b80d1a9 - Browse repository at this point
Copy the full SHA b80d1a9View commit details -
fix: ignore non-USN items on related usns
When we are gathering related USNs, we must ensure that they are indeed USNs. To do that, we are ignoring any security id that doesn't start with USN
Configuration menu - View commit details
-
Copy full SHA for 6b173e8 - Browse repository at this point
Copy the full SHA 6b173e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for dfdd987 - Browse repository at this point
Copy the full SHA dfdd987View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bcb2d3 - Browse repository at this point
Copy the full SHA 6bcb2d3View commit details -
refactor: implementation-agnostic interface to readurl
The previous interface to readurl had different return types depending on the request, and it propogated exceptions that were raised from the urllib library. Those urllib exceptions were then caught and used in various places throughout the codebase. The upcoming tls-in-tls implementation will require swapping out the urllib request function for a pycurl-based one, which will not have any of the same return types or exceptions as urllib, so we need to stop using urllib-specific things everywhere. To achieve this, I've defined a simple HTTPResponse tuple that will always be returned by the readurl function - this should be easily implemented by any underlying http implementation. Notice that the function always returns this tuple, even if there is a http code above 300. Previously we expected/excepted errors on 4xx/5xx responses, so I've changed a lot of the calling code to check the return code rather than except errors. The only error that is raised is now our exceptions.UrlError and I've redefined it to only be raised if something about the connection fails.
Configuration menu - View commit details
-
Copy full SHA for 9df749b - Browse repository at this point
Copy the full SHA 9df749bView commit details -
chore: rename repo GPG keys from -advantage to -pro
Same keys, just different names to standardize them all as pro. Fixes: #1539 Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 575d02b - Browse repository at this point
Copy the full SHA 575d02bView commit details -
chore: archive older sru test scripts
Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4ede300 - Browse repository at this point
Copy the full SHA 4ede300View commit details -
ci: change CI to detect documentation references in the PR body
Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5d29f04 - Browse repository at this point
Copy the full SHA 5d29f04View commit details -
debian/README: add file with basic explanation on the source code
Fixes: #2463 Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4abf18d - Browse repository at this point
Copy the full SHA 4abf18dView commit details -
tests: require contract token in the correct tests
Always require a contract token in the environment if the test has an attachment step. If the whole feature requires attachment, require it on feature level. If the feature does not imply attachment, require it on scenario level. Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6710e94 - Browse repository at this point
Copy the full SHA 6710e94View commit details -
system: try/except logic to remove files and folders
This avoids a possible inconsistent state between checking if a file exists and trying to remove it. LP: #2025731 Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 58b7a48 - Browse repository at this point
Copy the full SHA 58b7a48View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee74d2e - Browse repository at this point
Copy the full SHA ee74d2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 54f10e2 - Browse repository at this point
Copy the full SHA 54f10e2View commit details -
tests: fix positional parameter to local upgrade test
Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 41af80b - Browse repository at this point
Copy the full SHA 41af80bView commit details -
tests: add variants information to the jammy VM test
Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8f91481 - Browse repository at this point
Copy the full SHA 8f91481View commit details -
tests: pass architecture as a parameter to build_debs
If there is no argument, default to the system dpkg architecture. Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 903636a - Browse repository at this point
Copy the full SHA 903636aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 82f8379 - Browse repository at this point
Copy the full SHA 82f8379View commit details -
add suport for additionalSnaps directive
Add support to read and process the additionalSnaps directive. Right now, we are only trying to install the snaps included in that directive. In the future, we can perform more snap related checks before installing the snap
Configuration menu - View commit details
-
Copy full SHA for 2d7c245 - Browse repository at this point
Copy the full SHA 2d7c245View commit details -
tests: do not check keyring folder for tarball
When creating the tarball to be used when building the package, we should not check for changes on the keyrings folder
Configuration menu - View commit details
-
Copy full SHA for 98941d5 - Browse repository at this point
Copy the full SHA 98941d5View commit details -
Add support for enabling the anbox-cloud service. This service will not only configure apt sources but should also install required snaps
Configuration menu - View commit details
-
Copy full SHA for 1e531db - Browse repository at this point
Copy the full SHA 1e531dbView commit details -
anbox: update integration tests
Add anbox-cloud service to integration tests that lists the services supported by the Pro client
Configuration menu - View commit details
-
Copy full SHA for 53e8d90 - Browse repository at this point
Copy the full SHA 53e8d90View commit details -
anbox: ignore enableByDefault obligation
The anbox product has the enableByDefault obligation turned on because the old setup of Anbox require the resource tokens to be already present in the machine-token file once the service is enabled. However, we don't need to enable this service during attach. Finally, we should remove this code once the Contract server provides another mechanism to deliver resource tokens by default to some services
Configuration menu - View commit details
-
Copy full SHA for 8858a97 - Browse repository at this point
Copy the full SHA 8858a97View commit details -
tests: fail if installing from 'prebuilt' but no debs are found
Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f36e218 - Browse repository at this point
Copy the full SHA f36e218View commit details -
anbox: turn contract directive to cammel case
We are changing classic_confinment_support to the cammel case representation. That is because cammel case is the standard support on the Contract server
Configuration menu - View commit details
-
Copy full SHA for 8a7de7e - Browse repository at this point
Copy the full SHA 8a7de7eView commit details -
system: add function to get reboot required pkgs
Create a function on the system module to fetch the reboot required packages from /var/run/reboot-required.pkgs
Configuration menu - View commit details
-
Copy full SHA for c8c7c3f - Browse repository at this point
Copy the full SHA c8c7c3fView commit details -
reboot_required: add more data to endpoint
We are adding extra data to the reboot required endpoint to allow user to better understand the decision making regarding if a reboot is required or not
Configuration menu - View commit details
-
Copy full SHA for 36e0969 - Browse repository at this point
Copy the full SHA 36e0969View commit details -
move get_reboot_status to api module
We are now concentrating every reboot_required logic into the API. The security_status module will now consume the reboot information directly from the API module
Configuration menu - View commit details
-
Copy full SHA for fb3253b - Browse repository at this point
Copy the full SHA fb3253bView commit details -
docs: fix broken links in README and CONTRIBUTING
The links in CONTRIBUTING should be updated again to point to readthedocs when the development documentation is published there. Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 832d084 - Browse repository at this point
Copy the full SHA 832d084View commit details -
tests: add missing related usn to Fix behave test
Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8d67600 - Browse repository at this point
Copy the full SHA 8d67600View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2510f0 - Browse repository at this point
Copy the full SHA a2510f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7b8b99 - Browse repository at this point
Copy the full SHA d7b8b99View commit details -
anbox: update related messages
Update message we show at the end of enabling Anbox while also listing to the user the required snaps we will install
Configuration menu - View commit details
-
Copy full SHA for 2ba0427 - Browse repository at this point
Copy the full SHA 2ba0427View commit details -
snap: add channel support when installing snap
Allow a channel to be specified when installing a snap. This will allow a channel to be specified when installing a required snap
Configuration menu - View commit details
-
Copy full SHA for 9134b9e - Browse repository at this point
Copy the full SHA 9134b9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 105b3c3 - Browse repository at this point
Copy the full SHA 105b3c3View commit details -
tests: remove kinetic from the codebase
Some lunar/mantic entries inserted to match current support. Some example-only appearance in tests are kept. Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1a57c08 - Browse repository at this point
Copy the full SHA 1a57c08View commit details -
test: rename required snaps test to match content
Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 39e0a04 - Browse repository at this point
Copy the full SHA 39e0a04View commit details -
snapd: look for the snapd package instead of the snap command
When trying to assess if snapd is installed, well, we now verify it is installed. We always expect /usr/bin/snap to be there when snapd is present. Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5bf9ef7 - Browse repository at this point
Copy the full SHA 5bf9ef7View commit details -
Configuration menu - View commit details
-
Copy full SHA for c337780 - Browse repository at this point
Copy the full SHA c337780View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb320f8 - Browse repository at this point
Copy the full SHA bb320f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for cdd756b - Browse repository at this point
Copy the full SHA cdd756bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 459c51b - Browse repository at this point
Copy the full SHA 459c51bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e8e7e29 - Browse repository at this point
Copy the full SHA e8e7e29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95dac6e - Browse repository at this point
Copy the full SHA 95dac6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d53a56 - Browse repository at this point
Copy the full SHA 4d53a56View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec72844 - Browse repository at this point
Copy the full SHA ec72844View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4fd9acf - Browse repository at this point
Copy the full SHA 4fd9acfView commit details -
Configuration menu - View commit details
-
Copy full SHA for ff9de13 - Browse repository at this point
Copy the full SHA ff9de13View commit details -
Configuration menu - View commit details
-
Copy full SHA for b87c47f - Browse repository at this point
Copy the full SHA b87c47fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a3fcd3c - Browse repository at this point
Copy the full SHA a3fcd3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 88e1387 - Browse repository at this point
Copy the full SHA 88e1387View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02c31f6 - Browse repository at this point
Copy the full SHA 02c31f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe668f8 - Browse repository at this point
Copy the full SHA fe668f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for aec7613 - Browse repository at this point
Copy the full SHA aec7613View commit details -
Configuration menu - View commit details
-
Copy full SHA for 564c778 - Browse repository at this point
Copy the full SHA 564c778View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d1ec1b - Browse repository at this point
Copy the full SHA 8d1ec1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for cc63a8f - Browse repository at this point
Copy the full SHA cc63a8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 30c74b9 - Browse repository at this point
Copy the full SHA 30c74b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c13de9 - Browse repository at this point
Copy the full SHA 7c13de9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d8098c9 - Browse repository at this point
Copy the full SHA d8098c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for af244c9 - Browse repository at this point
Copy the full SHA af244c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for eee1df7 - Browse repository at this point
Copy the full SHA eee1df7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6e8d8b - Browse repository at this point
Copy the full SHA e6e8d8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 46b54f7 - Browse repository at this point
Copy the full SHA 46b54f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7c1ed3 - Browse repository at this point
Copy the full SHA b7c1ed3View commit details -
http: use pycurl for tls-in-tls requests
LP: #1999909
Configuration menu - View commit details
-
Copy full SHA for 55e189a - Browse repository at this point
Copy the full SHA 55e189aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a8204fe - Browse repository at this point
Copy the full SHA a8204feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 10d0150 - Browse repository at this point
Copy the full SHA 10d0150View commit details -
tests: behave template var for any config value
The shown argument should be True when the result will be displayed in the test output. When shown is True, secret config values are not replaced.
Configuration menu - View commit details
-
Copy full SHA for 6a12f1f - Browse repository at this point
Copy the full SHA 6a12f1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ccbad86 - Browse repository at this point
Copy the full SHA ccbad86View commit details -
Configuration menu - View commit details
-
Copy full SHA for c250696 - Browse repository at this point
Copy the full SHA c250696View commit details -
refactor: simplify helper for querying if systemd unit is active
I didn't notice we already had an implementation for this and wrote a new one. Then I realized we already had one and decided to combine the new and old implementation in a small refactor.
Configuration menu - View commit details
-
Copy full SHA for a6dc615 - Browse repository at this point
Copy the full SHA a6dc615View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ac0c6f - Browse repository at this point
Copy the full SHA 5ac0c6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b9db9ef - Browse repository at this point
Copy the full SHA b9db9efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9303bc3 - Browse repository at this point
Copy the full SHA 9303bc3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45bf26c - Browse repository at this point
Copy the full SHA 45bf26cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3863d4b - Browse repository at this point
Copy the full SHA 3863d4bView commit details -
move get_contract_expiry_status to contract module
Move the function to a module better allow other module to reuse it
Configuration menu - View commit details
-
Copy full SHA for 9633509 - Browse repository at this point
Copy the full SHA 9633509View commit details -
This module adds all the necessary functionality for the plan and execute API endpoints. This will eventually replace the security module once all API endpoints are ready and the CLI function can be use them instead
Configuration menu - View commit details
-
Copy full SHA for a38eb28 - Browse repository at this point
Copy the full SHA a38eb28View commit details -
api: add support to --data through the CLI
Add support for user to provide a JSON data on the CLI command for the api. This is achieved now by using the --data parameter.
Configuration menu - View commit details
-
Copy full SHA for 89d257a - Browse repository at this point
Copy the full SHA 89d257aView commit details -
api: add endpoint to cve fix plan
Add endpoint for the CVE fix plan scenario. If used through the CLI, users need to provide the cves through a JSON object using the --data flag
Configuration menu - View commit details
-
Copy full SHA for d85d506 - Browse repository at this point
Copy the full SHA d85d506View commit details -
api: add endpoint to usn fix plan
Add endpoint for the USN fix plan scenario. If used through the CLI, users need to provide the usns through a JSON object using the --data flag
Configuration menu - View commit details
-
Copy full SHA for 2790393 - Browse repository at this point
Copy the full SHA 2790393View commit details -
test plan endpoint when package can't be installed
Add test where we modify the system to not allow a package to be installed and certify that the fix plan endpoint will correctly capture that
Configuration menu - View commit details
-
Copy full SHA for 6966d3b - Browse repository at this point
Copy the full SHA 6966d3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b3eedac - Browse repository at this point
Copy the full SHA b3eedacView commit details -
fix_plan: Add JSON schema check for tests
Add JSON schema checks for both USN and CVE endpoints of the fix plan API
Configuration menu - View commit details
-
Copy full SHA for 112a319 - Browse repository at this point
Copy the full SHA 112a319View commit details -
Configuration menu - View commit details
-
Copy full SHA for d2931c5 - Browse repository at this point
Copy the full SHA d2931c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15f3252 - Browse repository at this point
Copy the full SHA 15f3252View commit details -
esm: pin repositories to a higher priority using static files
This way users who enabled esm will not risk getting automatic updates for packages if those don't come from the esm repositories, guaranteeing security patches will not be accidentally removed. Fixes: #2580 Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 69c72f4 - Browse repository at this point
Copy the full SHA 69c72f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6015524 - Browse repository at this point
Copy the full SHA 6015524View commit details -
contract: change default value of lastAttachment so server doesn't tr…
…y to parse empty string
Configuration menu - View commit details
-
Copy full SHA for 4454043 - Browse repository at this point
Copy the full SHA 4454043View commit details -
docs: Add sync tabs to API reference (#2617)
The API reference document showed both Python and CLI code to the user at the same time. Now through the use of tabs, the user can choose whether to view Python or the CLI version. Tabs are synced so their choice is applied to all entries. The API page is now made cleaner and more functional. This also converts the source doc from md to rst
Configuration menu - View commit details
-
Copy full SHA for 5e21fcf - Browse repository at this point
Copy the full SHA 5e21fcfView commit details -
Docs front page overhaul (#2569)
* Docs front page overhaul - Revamp docs front page giving context for Pro services - Add tabs to separate services by user pathways - Add links to some relevant pages in our own docs - Add new explanation page on ESM services (from FAQ) - Change LHS nav menu to collapse some how-tos - Expand "how to enable esm-infra" to include esm-apps - Also added content on how to disable these
Configuration menu - View commit details
-
Copy full SHA for ddf35df - Browse repository at this point
Copy the full SHA ddf35dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d365f3 - Browse repository at this point
Copy the full SHA 5d365f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for e24b13f - Browse repository at this point
Copy the full SHA e24b13fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 29fc9f6 - Browse repository at this point
Copy the full SHA 29fc9f6View commit details -
docs: add incompatibility matrix for Pro services
Define an incompatibility matrix for the services and reference it on each how-to-guide that shows how to enable a service that is incompatible with another service. Fixes: #2595
Configuration menu - View commit details
-
Copy full SHA for 73fce00 - Browse repository at this point
Copy the full SHA 73fce00View commit details -
Configuration menu - View commit details
-
Copy full SHA for a740177 - Browse repository at this point
Copy the full SHA a740177View commit details -
docs: remove content related to docs from the main branch
Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2a67aff - Browse repository at this point
Copy the full SHA 2a67affView commit details -
copyright: update date and project name
Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 74f5292 - Browse repository at this point
Copy the full SHA 74f5292View commit details -
Configuration menu - View commit details
-
Copy full SHA for f7ea2c6 - Browse repository at this point
Copy the full SHA f7ea2c6View commit details -
Helps maintain the user's system sbuild config
Configuration menu - View commit details
-
Copy full SHA for b40e7cd - Browse repository at this point
Copy the full SHA b40e7cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3eb1691 - Browse repository at this point
Copy the full SHA 3eb1691View commit details -
chore: bump development version in the changelog
We used to have 28 as the devel version, but now 28 is being released, and will be followed by 29, 30, etc - bumping an epoch makes the devel version greater than any released version. Making 'devel' part of the version makes it explicit that this is not a supported version. Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d8955d9 - Browse repository at this point
Copy the full SHA d8955d9View commit details -
chore: archive release 28 sru tests
Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d0b4e6c - Browse repository at this point
Copy the full SHA d0b4e6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a29075 - Browse repository at this point
Copy the full SHA 9a29075View commit details -
Configuration menu - View commit details
-
Copy full SHA for a22ba2b - Browse repository at this point
Copy the full SHA a22ba2bView commit details