Skip to content
Snippets Groups Projects
  1. Jan 16, 2023
    • Guillem Jover's avatar
      Dpkg::OpenPGP::Backend::GnuPG: Touch trustedkeys.gpg on temporary gpg home · 9cca3e8f
      Guillem Jover authored
      The gpgv command expects a trustedkeys.gpg keyring, and if there is none
      it will try the trustedkeys.kbx one, but then will emit an error such as:
      
        gpgv: unknown type of key resource 'trustedkeys.kbx'
        gpgv: keyblock resource '<GPGHOME>/trustedkeys.kbx': General error
      
      This error will only show if the gpgv invocation failed for other
      reasons, but it is still an unnecessary distraction. Avoid that error,
      by touching the trustedkeys.gpg keyring.
      9cca3e8f
  2. Jan 15, 2023
  3. Jan 11, 2023
  4. Jan 10, 2023
  5. Jan 07, 2023
    • Guillem Jover's avatar
      Dpkg::BuildFlags: Fix strip method to always work with duplicates · 5f6e45fb
      Guillem Jover authored
      The regex was not correctly matching at the beginning of the line with
      leading spaces, which could be left by a previous replacement from
      the same s/// operator. Instead switch to split the flag value and
      filter based on a hash, which means we do not need to care about such
      space issues anymore.
      
      This change should not change the semantics for space separated options
      in the flags, as the code was already splitting the passed values on
      spaces, and then remapping on the entire flag value.
      
      Improve strip unit tests to cover all these cases.
      
      Closes: #1028044
      5f6e45fb
  6. Jan 06, 2023
  7. Jan 05, 2023
  8. Jan 04, 2023
  9. Jan 03, 2023
  10. Jan 02, 2023
Loading