- Jan 03, 2025
-
-
So far we only implement: - version_validate - version_compare - version_match fixes: #11062
-
Timo Teräs authored
The implementation had subtle error and allowing this is subject to subtle errors in users due to the assumption of zero being there. Just remove this, and the only place relying it needs to now do a copy for now.
-
Timo Teräs authored
This can be used to create a subset of existing index. E.g "abuild listpkg" could be used to create list of packages of current repository and this list can be used to filter existing index. Essentially removing packages from index that have wrong version or which are not existent in repository source. Combined with --pkgname-spec with the original backing repository URL, this can create an index with specific set of packages that refer to upstream repository. fixes #10873 for my use cases
-
Timo Teräs authored
-
Timo Teräs authored
avoids an apk_url_sanitize call and reduces memory usage
-
Timo Teräs authored
remove the implicit zero termination assumption
-
Timo Teräs authored
- take a maximum string length to allow usage with blobs - use "test:" instead of "file://localhost/" for the tests which use local file path want it treated as network repository
-
Timo Teräs authored
-
Timo Teräs authored
Do not use repos[] for the cache, instead use a dedicated struct apk_repository cache_repository for it.
-
Timo Teräs authored
-
- Jan 02, 2025
-
-
Aydın Mercan authored
Since OpenSSL 3.0, the functions EVP_sha256, EVP_sha512 etc. use internal locking to accommodate internal changes to EVP_MD. Despite being negligent, it still adds up when called repeatedly. Switch to "explicit fetching" [1] to remove the unnecessary locking. OpenSSL <3.0 and LibreSSL is unaffected by this. [1]: https://docs.openssl.org/3.1/man7/crypto/#explicit-fetching
-
- Jan 01, 2025
-
-
Timo Teräs authored
use instead bool/true/false or enum types
-
Timo Teräs authored
-
Timo Teräs authored
-
Timo Teräs authored
amend information about apkv3 details and align with current code
-
Timo Teräs authored
- pregenerate the needed repository urls - get rid of apk_url_print and simplify url printing
-
Timo Teräs authored
-
Sertonix authored
-
- Dec 31, 2024
-
-
Timo Teräs authored
Recommend --prune/--available if non-repository packages are seen. fixes #10695 fixes #11050
-
Timo Teräs authored
return native error codes and map them in more detail in apk fixes #10668
-
Timo Teräs authored
fixes commit 4c776eb7 db: make index refresh notices a progress note
-
Timo Teräs authored
Lot of complexity for very little value.
-
Timo Teräs authored
-
- Dec 28, 2024
-
-
Timo Teräs authored
Make sure the pure virtual names (no auto selectable packages) are resolved last. This allows dependency processing to uncover additional constraints that might enable selecting them. fixes #11059
-
- Dec 27, 2024
-
-
Timo Teräs authored
-
Timo Teräs authored
also adjust test suite to test for package removal fixes 6007db9c print: refactor progress printing API
-
Timo Teräs authored
-
Timo Teräs authored
Test case from jane400@postmarketos.org fixes #11060
-
Timo Teräs authored
The 'fetch ...' lines of update are not really applet output, but status notifications to indicate that something network related is happening. Since that cannot go to stdout as some applets can output files directly to stdout it was made to go to stderr. That also is slightly problematic as it can be interpreted as an error, and if both stdout/stderr are redirected to different files/pipes their relative order might get jumbled. Convert these notices to a new progress note that follows the progress output scheme: erase the output once it is no longer relevant. And follow the --(no-)progress state so these get automatically disabled if output is piped.
-
Timo Teräs authored
-
Timo Teräs authored
-
Timo Teräs authored
and hide it from the headers
-
This lets VERSION contain additional info and without making the library filenames messed up.
-
Timo Teräs authored
-
Timo Teräs authored
-
Timo Teräs authored
fixes #10808
-
Timo Teräs authored
-
Timo Teräs authored
Instead of deferring rendering progress bar to next progress update, render it immediately after writing an output message.
-
Timo Teräs authored
- print progress based on istream bytes read: * usually network is slower than disk write speed * make consistent on the progress usage on all scenarios - simpify things as progress is not passed to fs ops
-
- Dec 20, 2024
-
-
Timo Teräs authored
- introduce _start and _end calls - implicitly print the 100% on end call - include "stage" in the _start call and relay it to progress-fd
-