- May 10, 2021
-
-
Jelle van der Waa authored
-
Jelle van der Waa authored
Allows us to test our next branch periodically with a Gitlab CI weekly schedule.
-
- Apr 19, 2021
-
-
Jelle van der Waa authored
-
Jelle van der Waa authored
-
Jelle van der Waa authored
-
-
Eli Schwartz authored
It is easier to read if you don't need to try to figure out the flow of a list of strings, and the non-issueful setuptools.Extension() invocation, as they relate to __main__.
-
Eli Schwartz authored
It's declarative and easier to read, and comes with convenient helper functions for reading files.
-
Eli Schwartz authored
-
Eli Schwartz authored
-
Eli Schwartz authored
The source code headers all state "or later", though some specify 2+ and some specify 3+.
-
- Apr 18, 2021
-
-
Jelle van der Waa authored
-
Jelle van der Waa authored
-
- Apr 12, 2021
-
-
Signed-off-by:
Jelle van der Waa <jelle@archlinux.org>
-
- Feb 23, 2021
-
-
Jelle van der Waa authored
-
- Feb 14, 2021
-
-
Jelle van der Waa authored
The code in find_file never matched the files itself but a tuple of file, 0, 0). Fixes: FS#69414
-
- Jan 10, 2021
-
-
Jelle van der Waa authored
-
Jelle van der Waa authored
This function can't be tested and it would be testing CPython.
-
- Jan 09, 2021
-
-
Jelle van der Waa authored
The current pyalpm implementation has no proper refcounting for Package objects. Add refcount handling for the Database Object in the Package model and Decref when the package object goes out of scope.
-
Jelle van der Waa authored
The current pyalpm implementation does not handle proper refcounting which means the alpm_handle was never freed otherwise accessing an object when the Handle goes out of scope leads to segfaults. This means everything needs to keep a reference to the pyalpm Handle object for every object created from it. The database object now receives a Handle and increases the refcount for it to stop it from being removed by the Python garbage collector. Signed-off-by:
Jelle van der Waa <jelle@archlinux.org>
-
- Nov 15, 2020
-
-
Jelle van der Waa authored
Python's tarfile can actually generate tarfile's in memory which makes it possible to remove the terrible chdir/cwd code and do less I/O.
-
- Oct 13, 2020
-
-
Jelle van der Waa authored
-
Jelle van der Waa authored
Add Gitlab CI integration See merge request archlinux/pyalpm!1
-
Jelle van der Waa authored
Change the write test to test if it fails for a non-existant path
-
Jelle van der Waa authored
- Oct 03, 2020
-
-
>>> h.init_transaction(cascade=True, nolock=True) Traceback (most recent call last): File "<stdin>", line 1, in <module> SystemError: more argument specifiers than keyword list entries (remaining format:'OOO')
-
-
- Jun 27, 2020
-
-
Jelle van der Waa authored
-
-
- May 20, 2020
-
-
Signed-off-by:
Morten Linderud <morten@linderud.pw>
-
- May 15, 2020
-
-
- May 12, 2020
-
-
- May 11, 2020
-
-
- Mar 19, 2020
-
-
Jelle van der Waa authored
pytest has fixtures for tmpfile creation so rely on that instead of doing it yourself. Signed-off-by:
Jelle van der Waa <jelle@archlinux.org>
-
Test register_syncdb failing and failure of handle creation.
-
To speed up tests, make tests reproducible and not relyng on the internet. The sync database is generated from a fixed json file as does the local database which has to be created after the handle is initialised otherwise the ALPM_DB_VERSION file is lacking and it can't be created. A file based mirror is used with the generated syncdb to test db.update() so no network access is required at all.
-
- Jan 15, 2020
-
-
Jelle van der Waa authored
Signed-off-by:
Jelle van der Waa <jelle@archlinux.org>
-
Jelle van der Waa authored
Pacman v5.1.0 added support for getting the make/check dependencies of a package in the sync db. Closes: #36 Signed-off-by:
Jelle van der Waa <jelle@archlinux.org>
-
Jelle van der Waa authored
-