Skip to content
Snippets Groups Projects
  1. Apr 22, 2025
  2. Feb 26, 2025
    • Walter Lozano's avatar
    • Walter Lozano's avatar
      dh_setup_copyright: Add copyright information · 28d61f89
      Walter Lozano authored
      
      The computation of the license and copyright information is done at
      image build time, which seemed good enough in early times, and gave
      us the flexibility to improve the logic in the image pipeline which
      runs on daily basis instead of at package build time. Unfortunately,
      through time, we understood that this approach had its limitations.
      
      First, compilation units provide information which we needed to map
      to files in the source tree. To overcome this difficulty, some
      workarounds were placed but those were not perfect.
      
      Second, when Rust and Go packages were supported it was clear that
      we needed to propagate lots of information to the image pipeline,
      such as copyright reports of the build dependencies and mappings
      between files and packages.
      
      Now, that additional support was added to allow improving the
      metadata, with information about non binary artifacts and shared
      libraries there is no point in propagating all the data to the image
      pipeline. Under these circumstances it is better to also compute
      the license and copyright information at build time. This also aligns
      well with the idea of having a SBOM at package level, which can
      be useful.
      
      Signed-off-by: default avatarWalter Lozano <walter.lozano@collabora.com>
      28d61f89
  3. Feb 24, 2025
  4. Feb 21, 2025
  5. Dec 10, 2024
  6. Oct 23, 2024
  7. Oct 22, 2024
  8. May 22, 2024
  9. May 21, 2024
  10. May 08, 2024
  11. Apr 03, 2024
  12. Feb 27, 2024
  13. Nov 14, 2023
  14. Nov 03, 2023
  15. Oct 02, 2023
    • Ryan Gonzalez's avatar
      dh_setup_copyright: Save source packages referenced by external files · a245d86e
      Ryan Gonzalez authored
      dwarf2sources now writes information on "external files" that aren't CUs
      but are referenced by the binary, which lets us save the source packages
      that these external files came from. Note that the copyrights are not
      imported, because the current use case for this isn't tied to licensing.
      
      The number of external files means that querying the packages and their
      original source packages turns out to be rather slow. However, in
      general, multiple external files from a single package will be used,
      and the same source packages will be looked up repeatedly. Thus, we can
      just cache the full list of files for a package and binaries for a
      source package, then reuse that list repeatedly.
      
      https://phabricator.apertis.org/T9756
      
      
      
      Signed-off-by: default avatarRyan Gonzalez <ryan.gonzalez@collabora.com>
      a245d86e
  16. Apr 04, 2023
  17. Mar 31, 2023
  18. Jun 21, 2022
  19. Apr 18, 2022
  20. Mar 10, 2022
  21. Jul 15, 2021
Loading