Skip to content
Snippets Groups Projects
  1. Sep 23, 2024
  2. Sep 14, 2024
  3. Aug 17, 2024
  4. Aug 06, 2024
  5. Jul 11, 2024
    • Oliver Smith's avatar
      mr: run msg_filter scripts without chmod +x · 39137113
      Oliver Smith authored
      With more modern packaging methods, the executable flag gets stripped
      from the files in data. Adjust mr.py to run the scripts with python3
      explicitly, doing it like that is actually better than having these
      scripts that are not meant to be executed directly with the executable
      flag on the filesystem.
      
      Fixes: issue 20
      39137113
  6. Jun 27, 2024
  7. Jun 04, 2024
  8. Jun 03, 2024
  9. May 28, 2024
  10. May 20, 2024
  11. May 09, 2024
    • Newbyte's avatar
      mrhlpr: Make setting auto merge more robust (MR 38) · afc979c5
      Newbyte authored
      Even with the 5 second sleep, it sometimes seems to fail at setting auto
      merge, and instead raises GitlabMRClosedError for some reason. As such,
      retry up to 3 times with a 5 second sleep in-between, which seems to be
      more robust from my testing.
      afc979c5
    • Newbyte's avatar
      mrhlpr.mr: Add more type hints (MR 38) · ab12663b
      Newbyte authored
      ab12663b
    • Newbyte's avatar
      mrhlpr: Reword comment request (MR 38) · 2dac23a7
      Newbyte authored
      While I understand the intent behind the original message, I always end
      up reading it as that providing a thank you comment is discouraged.
      While I think the intended meaning is obvious if you think about it, to
      me writing it this way feels like a better way to communicate it.
      2dac23a7
    • Newbyte's avatar
      mrhlpr: Allow skipping approval (MR 38) · 77c4fcf9
      Newbyte authored
      In some cases you may not want to approve an MR but still merge it. For
      example, if it's your own MR.
      
      Even if automatic detection of self-merging later is implemented, there
      may still be instances where you wish to merge an MR without approving
      it, for example if an MR you don't understand well enough to feel
      confident merging already has enough approvals for a merge.
      77c4fcf9
  12. May 06, 2024
  13. Apr 30, 2024
  14. Apr 24, 2024
  15. 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
      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.
      cbfe2a96
    • Newbyte's avatar
      mrtest: Format with Ruff (MR 35) · 8fcac5b3
      Newbyte authored
      8fcac5b3
    • Newbyte's avatar
      mrhlpr: Format with Ruff (MR 35) · d8a107bf
      Newbyte authored
      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.
      5b5f5a34
  16. 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
      1c64ead8
  17. Feb 27, 2024
  18. Feb 18, 2024
  19. Feb 15, 2024
Loading