Skip to content
Snippets Groups Projects
  1. Jan 31, 2022
  2. Jan 30, 2022
  3. Jan 28, 2022
  4. 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
  5. Jan 21, 2022
  6. 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
  7. Jan 14, 2022
  8. Jan 13, 2022
  9. Jan 04, 2022
  10. Dec 31, 2021
  11. Dec 27, 2021
  12. Dec 23, 2021
    • Emanuele Aina's avatar
      localtest: Avoid recursion! · 00c3d5b5
      Emanuele Aina authored and Walter Lozano's avatar Walter Lozano committed
      
      The `./localtest` script was skipping the `lint` job, not the `lint`
      stage, so when I added the job to exercise `./localtest` itself during
      the `lint` stage I have caused `./localtest` to appear in its own
      output, which means that if you pipe it into a shell it will call
      itself. Luckily recursion will stop there and this is about not doing
      something pointless rather than actually fixing something broken.
      
      Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
      00c3d5b5
  13. Dec 22, 2021
  14. Dec 21, 2021
  15. Dec 20, 2021
  16. Dec 19, 2021
  17. Dec 15, 2021
  18. Dec 06, 2021
Loading