- Jan 06, 2025
-
-
Tweaked-By:
Oliver Smith <ollieparanoid@postmarketos.org>
-
- Dec 05, 2024
-
-
Pablo Correa Gomez authored
-
Pablo Correa Gomez authored
This resolves a cyclic dependency in pipeline, and is also a more programatic pattern
-
Pablo Correa Gomez authored
It makes the most sense to have it there. We move it to mrhlpr since that's where it was originally defined
-
Pablo Correa Gomez authored
Fixes #30
-
- Dec 04, 2024
-
-
Pablo Correa Gomez authored
-
Pablo Correa Gomez authored
They are not used anywhere else, so let's not expose them to make it more clear
-
Pablo Correa Gomez authored
This will be useful to do some compartmerization of the code later, as this will become more complex with changes related to Alpine
-
- Nov 28, 2024
-
-
There's no need for it, and breaks when trying to merge postmarketOS/pmaports!5840 (comment 457021)
-
- Nov 25, 2024
-
-
Pablo Correa Gomez authored
Fixes #25 Inspired from hexaheximal
-
- Nov 24, 2024
-
-
Robert Eckelmann authored
Signed-off-by:
Robert Eckelmann <longnoserob@postmarketos.org>
-
- Nov 21, 2024
-
-
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
-
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
-
- Nov 18, 2024
-
-
Pablo Correa Gomez authored
mypyc is not yet completely stable, and might fail for things that are correct Python (see !61 (comment 456440)), so don't make it a requirement that it passes for merging
-
Anjan Momi authored
-
- Nov 12, 2024
-
-
achill (fossdd) authored
Doesn't require to keep in sync all architectures supported by Alpine, like ppc64le or loongarch64.
-
- Nov 04, 2024
-
-
Fixes #26
-
- Nov 02, 2024
-
-
Newbyte authored
This seems to help with more reliably getting automerge going on the new GitLab instance … maybe.
-
Newbyte authored
We pass this check.
-
Newbyte authored
With the parent of this commit, we pass this check.
-
Newbyte authored
-
Newbyte authored
We already pass this, so might as well enable it.
-
Newbyte authored
This makes the values easier to tweak in the future.
-
Newbyte authored
And remove equivalent switches from mypy.sh script to avoid duplication.
-
- Oct 24, 2024
-
-
-
Co-developed-by:
Luca Weiss <luca@lucaweiss.eu>
-
- Oct 23, 2024
-
-
Luca Weiss authored
-
In order to make Sphinx be able to list the supported commands, refactor the argument parsing code to return ArgumentParser object, and align the function naming closer to how it works in pmbootstrap. Co-developed-by:
Luca Weiss <luca@lucaweiss.eu>
-
Luca Weiss authored
Add some spacing and indent lists correctly.
-
GNOME's SSH endpoints areof the form git@ssh.gitlab.gnome.org:GNOME/Incubator/papers.git and without this patch, the host could not be found
-
- Oct 19, 2024
-
- Oct 18, 2024
-
-
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.
-
- Oct 14, 2024
-
-
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.
-
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.
-
- Oct 10, 2024
-
-
Newbyte authored
mypyc doesn't understand the ellipsis in this context: mrhlpr/mr.py:177: error: Unsupported statement in class body And they've functionally the same anyway, so just work around it like this.
-
Newbyte authored
This way we're even stricter with missing types. Let's activate it so we don't regress.
-
Newbyte authored
-
Newbyte authored
This should never happen, so we can simplify the function signature by typing it like this.
-
Newbyte authored
frontend.main() only ever returns None, so there's no point in calling sys.exit with its return value as parameter.
-