- 20 May, 2021 2 commits
-
-
Jelle van der Waa authored
alpm_db_update now supports updating multiple databases at once the so called parallel download feature. This requires an adjustment of the alpm_db_update function call.
-
Jelle van der Waa authored
alpm_db_search now returns an int and set's pm_errno when the result is -1 add a todo as this needs to be handled later
-
- 10 May, 2021 3 commits
-
-
Jelle van der Waa authored
-
Jelle van der Waa authored
-
Jelle van der Waa authored
Allows us to test our next branch periodically with a Gitlab CI weekly schedule.
-
- 19 Apr, 2021 9 commits
-
-
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+.
-
- 18 Apr, 2021 2 commits
-
-
Jelle van der Waa authored
-
Jelle van der Waa authored
-
- 12 Apr, 2021 1 commit
-
-
Signed-off-by:
Jelle van der Waa <jelle@archlinux.org>
-
- 23 Feb, 2021 1 commit
-
-
Jelle van der Waa authored
-
- 14 Feb, 2021 1 commit
-
-
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
-
- 10 Jan, 2021 2 commits
-
-
Jelle van der Waa authored
-
Jelle van der Waa authored
This function can't be tested and it would be testing CPython.
-
- 09 Jan, 2021 2 commits
-
-
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>
-
- 15 Nov, 2020 1 commit
-
-
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.
-
- 13 Oct, 2020 5 commits
-
-
Jelle van der Waa authored
-
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
-
- 03 Oct, 2020 2 commits
-
-
>>> 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')
-
-
- 27 Jun, 2020 2 commits
-
-
Jelle van der Waa authored
-
-
- 20 May, 2020 1 commit
-
-
Signed-off-by:
Morten Linderud <morten@linderud.pw>
-
- 15 May, 2020 1 commit
-
-
- 12 May, 2020 1 commit
-
-
- 11 May, 2020 1 commit
-
-
- 19 Mar, 2020 3 commits
-
-
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.
-