Skip to content
Snippets Groups Projects
  1. Mar 14, 2024
  2. Mar 01, 2024
    • Dylan Aïssi's avatar
      packaging-check-invariants: check if 'component' is in 'branch' before using it · 1567b953
      Dylan Aïssi authored
      
      Sometimes, we need to import and modify packages from Debian.
      To make the initial review easier, an apertis/v202* branch is created
      from the debian one, then a merge request is created against it adding
      debian/apertis/* files. During the review, tha apertis branch
      doesn't have any debian/apertis/* files and the dashboard fails with:
      
        Traceback (most recent call last):
          File "/builds/infrastructure/dashboard/./bin/packaging-check-invariants", line 857, in <module>
            checker.check_git_and_obs_versions(package)
          File "/builds/infrastructure/dashboard/./bin/packaging-check-invariants", line 271, in check_git_and_obs_versions
            component = branch.component
                      ^^^^^^^^^^^^^^^^
          File "/builds/infrastructure/dashboard/./bin/packaging-check-invariants", line 79, in __getattr__
            item = super(DictWrapper, self).__getitem__(attr)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        KeyError: 'component'
        The above exception was the direct cause of the following exception:
        Traceback (most recent call last):
          File "/builds/infrastructure/dashboard/./bin/packaging-check-invariants", line 867, in <module>
            raise Error(package.name) from e
      
      Signed-off-by: default avatarDylan Aïssi <dylan.aissi@collabora.com>
      1567b953
  3. Feb 23, 2024
  4. Feb 22, 2024
  5. Feb 20, 2024
  6. Feb 19, 2024
    • Dylan Aïssi's avatar
      Add a new ignorelist for mismatch between OBS and git · e1bcd613
      Dylan Aïssi authored and Walter Lozano's avatar Walter Lozano committed
      
      Sometimes, we need to backport a package version to a previous
      Apertis release. But, a fast-forward backport is not always
      possible as some changes may have occurred that are not suitable
      for previous Apertis releases (like a change in debian/apertis/component
      or debian/apertis/copyright needs to be refreshed with a different
      version or the toolchain). In order to keep the git history linear,
      while doing the backport, unsuitable changes are reverted and a
      suffix like "~v2023" is used for versioning.
      
      Because this unsual workflow is a bit tricky, it's not possible
      to teach the dashboard about this suffix which makes it complaning
      for "Mismatch between OBS XXX~v2023 and Git XXX".
      
      Signed-off-by: default avatarDylan Aïssi <dylan.aissi@collabora.com>
      e1bcd613
  7. Feb 16, 2024
  8. Jan 30, 2024
  9. Jan 24, 2024
  10. Jan 23, 2024
  11. Jan 22, 2024
  12. Jan 18, 2024
  13. Jan 17, 2024
  14. Jan 16, 2024
    • Walter Lozano's avatar
      Add whitelist to ignore missing binaries · 2c2f034f
      Walter Lozano authored
      
      In Apertis is very common to disable the build of some binaries to avoid
      license issues, reduce the number of dependencies or disable unsupported
      architectures. To do it, usually d/rules is tweak to skip some binary
      packages. However, this approach makes dashboard to complain about missing
      binaries.
      
      A possible approach could be to remove the binary packages from d/control
      but this approach adds more delta.
      
      To avoid getting a wrong idea of status of the packages, ignore this issue
      for the packages we know we tweaked.
      
      The approach of using wildcards to reduce the number of entries was discussed
      however, to improve readability and to avoid extra complexity while checking
      the idea was discarded.
      
      Signed-off-by: default avatarWalter Lozano <walter.lozano@collabora.com>
      2c2f034f
  15. Dec 07, 2023
  16. Nov 27, 2023
  17. Nov 21, 2023
  18. Nov 17, 2023
  19. Nov 16, 2023
  20. Nov 10, 2023
Loading