Skip to content
Snippets Groups Projects
  1. Apr 30, 2024
  2. Apr 24, 2024
  3. Apr 10, 2024
    • Newbyte's avatar
      CI: Omit file list in Ruff check (MR 35) · 0ae0c77b
      Newbyte authored
      Ruff will recursively lint all files in subdirectories if no list of
      files is omitted. This also lets us remove the ShellCheck ignore as the
      affected code no longer exist.
      
      [ci:skip-build]: already built successfully in CI
      Unverified
      0ae0c77b
    • Newbyte's avatar
      CI: Check formatting with Ruff as well (MR 35) · cbfe2a96
      Newbyte authored
      If the list of files is omitted, Ruff will check all files recursively.
      
      Use --diff to get a diff of what's not complicit instead of applying
      the changes directly.
      Unverified
      cbfe2a96
    • Newbyte's avatar
      mrtest: Format with Ruff (MR 35) · 8fcac5b3
      Newbyte authored
      Unverified
      8fcac5b3
    • Newbyte's avatar
      mrhlpr: Format with Ruff (MR 35) · d8a107bf
      Newbyte authored
      Unverified
      d8a107bf
    • Newbyte's avatar
      mrhlpr: Add type hints and appease mypy (MR 31) · 5b5f5a34
      Newbyte authored
      This does not cover the entirety of mrhlpr's codebase, and does not even
      attempt to start typing mrtest. The types were generated with
      MonkeyType, which seems to have worked well to get a starting point for
      typing. However, it still required significant manual adjustment and as
      such time investment due to some of the type hints being wrong
      (presumably since MonkeyType runs off of runtime information and I
      didn't manage to trigger every possible code path), but primarily due to
      the codebase needing other fixes to make mypy happy.
      
      Overall, I think MonkeyType saved me enough time to be worthwhile using
      for future type expansion, but the time investment required is still
      significant.
      
      This also introduces the MergeRequestStatus and GitLabOrigin dataclasses
      to avoid unnecessary type assertions and improve ease of reading the
      code.
      Verified
      5b5f5a34
  4. Mar 13, 2024
    • Nikita Travkin's avatar
      mrtest: Add a nag script (MR 34) · 1c64ead8
      Nikita Travkin authored and Pablo Correa Gomez's avatar Pablo Correa Gomez committed
      mrtest installs packages from apk files which pins the package version
      to the hash of the package. This means that apk would be reluctant to
      update packages on which .mrtest- virtual package depends.
      
      This can cause problems to the users who may forget that they have some
      packages installed using mrtest, espacially if those were boot-critical
      packages.
      
      Add a script that would implement an apk hook that would nag the user
      about installed mrtest packages. This hook should be installed in
      /etc/apk/commit_hooks.d/ and will be run by apk on every execution.
      
      Fixes: #13
      Unverified
      1c64ead8
  5. Feb 27, 2024
  6. Feb 18, 2024
  7. Feb 15, 2024
  8. Feb 14, 2024
  9. Feb 10, 2024
  10. Sep 20, 2023
  11. Sep 08, 2023
  12. Aug 28, 2023
  13. Jul 28, 2023
  14. Jun 23, 2023
  15. Mar 14, 2023
  16. Mar 12, 2023
  17. Mar 02, 2023
  18. Feb 27, 2023
  19. Feb 26, 2023
  20. Dec 07, 2022
Loading