Skip to content
Snippets Groups Projects
  1. Oct 18, 2024
    • Newbyte's avatar
      mrhlpr, mrtest: Add --version command · 31a169a2
      Newbyte authored
      This also effectively reverts 7d068e20,
      because now we actually use the version for something in the program. It
      also avoids the problems reported in
      postmarketOS/mrhlpr#15 to the
      best of my knowledge — I tried reproducing the bug as written in there
      and did not get any build failures.
      
      The primary purpose of this version command is for making
      experimentation with mypyc easier, but I also can imagine it might be
      nice for users to be able to get their version of mrtest easily.
      31a169a2
  2. Oct 14, 2024
    • Newbyte's avatar
      mrhlpr.mr: Move no MR checked out error handling to mr.checked_out() · b067a9ff
      Newbyte authored
      None of the code paths actually make use of the case where it returns
      None for anything other than displaying the same error message, if they
      display one at all. Some just attempted to use None as if it was an
      integer. As such, just display the error in mr.checked_out() to simplify
      and deduplicate code.
      b067a9ff
    • Newbyte's avatar
      CI: Build native libraries for mrhlpr and mrtest via mypyc · 6a45e034
      Newbyte authored
      Mostly for fun. Not sure if there's any real practical benefit. It might
      be useful for pmbootstrap later, but adopting it to be compatible with
      mypyc would likely be more work, so I'm using this as a playground to
      learn how it works.
      6a45e034
  3. Oct 10, 2024
  4. Oct 07, 2024
  5. Sep 28, 2024
  6. Sep 27, 2024
  7. Sep 23, 2024
  8. Sep 14, 2024
  9. Aug 17, 2024
  10. Aug 06, 2024
  11. 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
  12. Jun 27, 2024
  13. Jun 04, 2024
  14. Jun 03, 2024
  15. May 28, 2024
  16. May 20, 2024
  17. 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
  18. May 06, 2024
  19. Apr 30, 2024
  20. Apr 24, 2024
  21. Apr 10, 2024
Loading