Skip to content
Snippets Groups Projects
  1. Aug 15, 2024
  2. Jul 15, 2024
  3. May 23, 2024
  4. Mar 26, 2024
    • Dylan Aïssi's avatar
      Do not use Path objects as a context manager · b1e0eb23
      Dylan Aïssi authored
      
      pathlib.Path.__enter__() is deprecated and scheduled for removal
      in Python 3.13. Some warnings are generated with Python 3.11:
      
      /usr/bin/ci-license-scan:267: DeprecationWarning: pathlib.Path.__enter__() is deprecated and scheduled for removal in Python 3.13; Path objects as a context manager is a no-op
        with Path('debian') / 'copyright-scan-patterns.yml' as scan_patterns:
      /usr/bin/ci-license-scan:280: DeprecationWarning: pathlib.Path.__enter__() is deprecated and scheduled for removal in Python 3.13; Path objects as a context manager is a no-op
        with Path('debian') / 'fill.copyright.blanks.yml' as debian_copyright_overrides:
      /usr/bin/ci-license-scan:296: DeprecationWarning: pathlib.Path.__enter__() is deprecated and scheduled for removal in Python 3.13; Path objects as a context manager is a no-op
        with Path('debian') / 'apertis' / 'copyright.yml' as apertis_copyright_overrides:
      /usr/bin/ci-license-scan:204: DeprecationWarning: pathlib.Path.__enter__() is deprecated and scheduled for removal in Python 3.13; Path objects as a context manager is a no-op
      
      Signed-off-by: default avatarDylan Aïssi <dylan.aissi@collabora.com>
      b1e0eb23
  5. Feb 19, 2024
  6. Feb 08, 2024
  7. Feb 05, 2024
  8. Nov 28, 2023
  9. Nov 21, 2023
  10. Nov 20, 2023
  11. Nov 17, 2023
  12. Oct 23, 2023
  13. Oct 06, 2023
    • Ritesh Raj Sarraf's avatar
      Enable debian-archive-keyring in package source builder · b48f7c41
      Ritesh Raj Sarraf authored
      
      We have a feature in our CI setup, wherein we can inject certain extra
      apt repositories to the build environment
      
      In our case, we usually enable the debian repositories for certain use
      cases. But we also need the archive keyring to be able to validate the
      authenticity of the extra repository added.
      
      Having the debian-archive-keying package in the package source builder
      can be handy, with the only exception that the docker image will be
      slightly larger in size.
      
      Signed-off-by: default avatarRitesh Raj Sarraf <ritesh.sarraf@collabora.com>
      b48f7c41
  14. Sep 04, 2023
  15. Sep 01, 2023
  16. Jul 14, 2023
    • Walter Lozano's avatar
      ci-license-scan: Sort list of fixup files · b9182347
      Walter Lozano authored
      
      On commit 419f9c7c duplicate files entries were removed to have a cleaner
      report. However, this change caused that different passes of the scanner
      resulted in file lists with different ordering. Even if results provide
      same information, the fact the ordering is different cause that our CI
      machinery triggers a new commit to update the scan report.
      
      Fix the issue by sorting the list of files in the copyright fixups.
      
      Signed-off-by: default avatarWalter Lozano <walter.lozano@collabora.com>
      b9182347
  17. Jul 13, 2023
  18. Jul 11, 2023
    • Walter Lozano's avatar
      Dump updated version of copyright · e62fda1a
      Walter Lozano authored
      
      During license scan some fixups are possible by guessing license and
      copyright from other sources, like debian/copyright. To do this the
      ci-license-scan removes paragraphs and and new ones with the fixup
      information. A common example of this scenario is UNKNOWN licenses
      which are guessed from debian/copyright.
      
      However, the "removal" is not supported by the library, the scripts
      relies in knowing the internal data structure to accoplish this.
      
      Unfortunately, since Bookworm, the data structure is more complex and
      preserves a low level copy of the data which is used on dumping. As a
      consequence, when dumping the new copyright the fixup information is
      not present.
      
      Workaround the issue by using the old version of the dump.
      
      Signed-off-by: default avatarWalter Lozano <walter.lozano@collabora.com>
      e62fda1a
  19. Jul 06, 2023
  20. Jun 30, 2023
  21. Jun 09, 2023
  22. Jun 01, 2023
  23. May 29, 2023
  24. May 24, 2023
  25. Mar 24, 2023
  26. Mar 09, 2023
  27. Mar 07, 2023
  28. Feb 27, 2023
Loading