Skip to content
Snippets Groups Projects
  1. Jan 06, 2025
  2. Dec 05, 2024
  3. Dec 04, 2024
  4. Nov 28, 2024
  5. Nov 25, 2024
  6. Nov 24, 2024
  7. Nov 21, 2024
    • Clayton Craft's avatar
      mrhlpr: mr: use a simpler mechanism to detect if user approved a MR (MR 60) · 297ff40a
      Clayton Craft authored and Newbyte's avatar Newbyte committed
      This doesn't depend on an auth error to detect if a user has approved a
      MR, and fixes #24.
      
      For some reason mr.approval_state().get was 404'ing, causing #24.
      [ci:skip-build]: already built successfully in CI
      297ff40a
    • Newbyte's avatar
      mrhlpr.frontend: Fix string representation of ActionType · d49a1ccf
      Newbyte authored
      Previously, the string representation for ActionType would be something
      like ActionType.OK instead of [OK ] as intended. This resulted in
      commands like `$ mrhlpr status` getting an output like this:
      
          ActionType.OK Changes allowed
          ActionType.OK Clean worktree
          ActionType.NOK Rebase on master
          ActionType.NOK MR-ID in commit msgs
          ActionType.NOK Commit subjects follow format
             668526 doesn't match any regex
          ActionType.NOK Commits are signed
      
      instead of the intended
      
          [OK ] Changes allowed
          [OK ] Clean worktree
          [NOK] Rebase on master
          [NOK] MR-ID in commit msgs
          [NOK] Commit subjects follow format
             668526 doesn't match any regex
          [NOK] Commits are signed
      
      Fixes 8647dd3b
      d49a1ccf
  8. Nov 18, 2024
  9. Nov 12, 2024
  10. Nov 04, 2024
  11. Nov 02, 2024
  12. Oct 24, 2024
  13. Oct 23, 2024
  14. Oct 19, 2024
  15. 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
      #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
  16. 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
  17. Oct 10, 2024
Loading