- 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 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.
-
- 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.
-
- Oct 07, 2024
-
-
Oliver Smith authored
-
- Sep 28, 2024
-
-
Newbyte authored
This is useful to test how apk actually will behave when upgrading.
-
- Sep 27, 2024
-
-
Newbyte authored
It makes no sense to allow None here given that the first usage of origin is accessing a property of it with the dot operator, an operation which would be guaranteed to fail on a None value.
-
- Sep 23, 2024
-
-
Robert Eckelmann authored
Signed-off-by:
Robert Eckelmann <longnoserob@gmail.com>
-
- Sep 14, 2024
-
-
Fixes #21
-
- Aug 17, 2024
-
-
Newbyte authored
-
- Aug 06, 2024
-
- Jul 11, 2024
-
-
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
-
- Jun 27, 2024
-
- Jun 04, 2024
-
-
Fixes #15
-
This is unnecessary, because the code does not use the version. And setuptools was getting very confused with "mrhlpr.version", as it is importing the top-level mrhlpr.py file, and failing to import the module.
-
- Jun 03, 2024
-
-
Fixes #17
-
- May 28, 2024
-
-
Pablo Correa Gomez authored
As it will fail, and that's annoying! Fixes #18
-
- May 20, 2024
-
-
Newbyte authored
Some are still missing, but it's a start.