Skip to content
Snippets Groups Projects
  1. May 17, 2022
  2. May 16, 2022
  3. May 13, 2022
  4. May 09, 2022
  5. May 05, 2022
  6. Apr 26, 2022
  7. Apr 21, 2022
    • Ariel D'Alessandro's avatar
      check-invariants: Ignore linux pkg upstream branch merged invariant · 3f0410cd
      Ariel D'Alessandro authored
      
      Currently, all the downstream channels that are based on the source
      branch are checked to be merged. This doesn't match the linux package
      configuration, as it doesn't pull updates from the default release
      upstream sources.
      
      For instance, apertis/v2021 release is based on debian/buster, but the
      apertis/v2021 linux package pulls from debian/bullseye.
      
      Let's ignore the linux package upstream branches checking invariant as
      this is reporting wrong entries and there's another script which takes
      care of handling all linux package updates:
      
        ./bin/packaging-updates-upstream-linux
      
      Signed-off-by: default avatarAriel D'Alessandro <ariel.dalessandro@collabora.com>
      3f0410cd
  8. Apr 20, 2022
  9. Apr 19, 2022
  10. Apr 02, 2022
  11. Mar 31, 2022
  12. Mar 28, 2022
  13. Mar 21, 2022
  14. Mar 17, 2022
  15. Mar 14, 2022
  16. Feb 11, 2022
  17. Feb 08, 2022
    • Emanuele Aina's avatar
      fetch-downstream: Fix branch version detection · 19fe3eda
      Emanuele Aina authored
      
      Retrieve all descendants to correctly detect when a branch got merged in
      another and which tags apply.
      
      Unfortunately `commit.refs()` does not currently handle pagination, so
      only the first 20 items were downloaded.
      
      This meant that in some cases no tags were returned, so no version could
      be computed. In other cases this may have cause incorrect reports of
      branches not being merged into their downstream, or other issues due to
      computing the wrong version for the branch.
      
      Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
      19fe3eda
  18. Jan 31, 2022
  19. Jan 30, 2022
  20. Jan 28, 2022
  21. Jan 24, 2022
    • Emanuele Aina's avatar
      dashboard: Apply filters more consistently · 48dca0c7
      Emanuele Aina authored and Vignesh Raman's avatar Vignesh Raman committed
      
      Applying filters one-at-a-time can lead do broken behavior:
      
      * deselect both the `info` and `error` severity checkboxes
      * all reports are correctly hidden
      * deselect the `apertis/v2021` channels checkbox
      * all the other reports incorrectly show up again, regardless of
        their severity
      
      This is because when applying the updated channels filter the code does
      not look at the other active filters.
      
      Tweak the code to always check *all* filters regardless of the one that
      has been updated.
      
      Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
      48dca0c7
  22. Jan 21, 2022
  23. Jan 15, 2022
    • Emanuele Aina's avatar
      check-invariant: Print the current package name on errors · 1912eb12
      Emanuele Aina authored
      
      When getting an exception, ensure the current package name is printed to
      debug which one has faulty data.
      
      For instance this is now the output, previously only the first exception
      was printed:
      
          Traceback (most recent call last):
            File "./bin/packaging-check-invariants", line 586, in <module>
              checker.check_missing_license_report(package)
            File "./bin/packaging-check-invariants", line 533, in check_missing_license_report
              if branch.component == "target" and not branch.license_report:
            File "./bin/packaging-check-invariants", line 90, 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 "./bin/packaging-check-invariants", line 588, in <module>
              raise Error(package.name) from e
          __main__.Error: aalib
      
      Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
      1912eb12
    • Emanuele Aina's avatar
      check-invariants: Move the loop outside to reduce nesting · 907e2c55
      Emanuele Aina authored
      
      Get rid of an indentation level by moving the iteration over the
      packages out of the check functions.
      
      This also will make improving error reporting easier since the package
      context of each check is now clearly defined when calling it.
      
      Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
      907e2c55
  24. Jan 14, 2022
  25. Jan 13, 2022
Loading