Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: clearlinux/swupd-client
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.1.1
Choose a base ref
...
head repository: clearlinux/swupd-client
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.2.0
Choose a head ref
  • 7 commits
  • 13 files changed
  • 2 contributors

Commits on Aug 27, 2024

  1. Protect the Swupd_Root.pem certificate file

    This test creates an alternate swupd root certificate. If one already
    exists, back it up, and restore it when the test is done. Previously,
    this test just blindly deleted the certificate if it existed.
    bwarden authored and bryteise committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    695417d View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. Skip tests that require two builds in a format when there's only one

    We already detect and report that certain tests require at least two
    builds within the current format, but only one exists. Change that from
    a test *failure* to a *skip*.
    
    Example:
     We need at least 2 versions in format 38 to continue with this test
     Test teardown complete.
     not ok 2 RCT002: Repair a big system
     # (from function `test_setup' in file test/real_content/real_content_lib.bash, line 144,
     #  from function `setup' in test file test/real_content/../functional/testlib.bash, line 4647)
     #   `test_setup' failed
     #
    
    becomes:
     ok 2 RCT002: Repair a big system # skip We need at least 2 versions in format 38 to continue with this test
    bwarden authored and bryteise committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    e170bfd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2c45294 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e0a4ed8 View commit details
    Browse the repository at this point in the history
  4. Update server.py ssl wrapping

    The previous method for wrapping ssl was removed so update to the
    replacement version.
    
    Signed-off-by: William Douglas <[email protected]>
    bryteise committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    0d1591f View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. Add support for an alternative swupd certificate

    Enable an alternative swupd certificate location (the location of the
    default or given cert with an ".alt" appended to it). The purpose of
    this change is to allow more reliable and flexible key rotations.
    
    If either the main cert or alt cert fails when doing content
    verification then the other will be tried (and be used for the next
    operation). In this way, as long as both certs don't fail for the same
    content verification, progress can be made with either cert.
    
    Signed-off-by: William Douglas <[email protected]>
    bryteise committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    e02cab5 View commit details
    Browse the repository at this point in the history
  2. Release 5.2.0

    - Add support for a second signing certificate
    - Test fixes
    
    Signed-off-by: William Douglas <[email protected]>
    bryteise committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    0e3d6b2 View commit details
    Browse the repository at this point in the history
Loading