Martchus
aabd469a93
Extend stresstest of `PackageUpdater` to cover update without clear-flag
2024-03-07 01:48:02 +01:00
Martchus
c3ea4f42f0
Add stress test for package updater
...
This test passes, supposedly the package updater is *not* what's causing
sporatic problems with indexes being messed up.
2024-02-27 01:55:59 +01:00
Martchus
da19885d8b
Ensure case of empty package name is handled in find/remove functions
2023-12-19 21:41:38 +01:00
Martchus
8deeb0a82b
Remove non-forcing package updates
...
This was only used in tests but was otherwise not very useful as we
normally need to ensure the persistent database is updated as well.
2023-12-19 21:34:18 +01:00
Martchus
303d0bd17b
Clear entries from package cache correctly
2023-12-17 01:41:13 +01:00
Martchus
213c823f87
Avoid running into test error when dynamically created symlink already exists
2023-06-12 22:17:57 +02:00
Martchus
e72f4afbca
Create previously deleted symlink dynamically
...
This change has not been tested yet.
2023-06-11 00:11:06 +02:00
Martchus
9f5474e128
Fix passing architecture when creating database
...
When adding a new database when reloading the config at runtime the
architecture must be passed when creating the database. Otherwise we end up
with the new database sharing the internal storage with the x86_64 database
which leads to very confusing behavior.
2022-06-19 23:06:25 +02:00
Martchus
ecebf9fbde
Fix showing arch of packages after optimization
...
* Move the binary package arch truly into the base package
2022-05-31 20:13:15 +02:00
Martchus
68d67f543f
Refactor to optimize deserialization of base-data
...
* Break backwards compatibility
* Allow to deserialize only base-data of packages and build
actions to potentially speed up showing tables
* Speed up package search in many cases by only deserializing
base-data (unless details are actually wanted)
2022-05-31 19:04:57 +02:00
Martchus
39c1261efb
Apply clang-format
2022-04-07 23:19:24 +02:00
Martchus
4fc3bf0928
Fix version comparison when epoch is only present in one version
2022-03-29 22:08:20 +02:00
Martchus
c2e7f40767
Fix typos
2022-03-01 00:43:06 +01:00
Martchus
2ffa6629c8
lmdb: Use lmdb to store packages and dependency indices
2022-01-18 21:50:53 +01:00
Martchus
e0a913b16c
Apply clang-format
2021-07-13 00:41:49 +02:00
Martchus
5ec527bebb
Fix typo in test suite consistently
2021-07-07 20:13:22 +02:00
Martchus
49aebdd8a5
Fix typos found via `codespell --skip .git -w`
2021-07-03 19:59:57 +02:00
Martchus
4ac9e729d0
Exclude current db from order computation when detecting unresolved packages
2021-02-09 11:59:23 +01:00
Martchus
6a9589b4a1
Fix dependency matching if pkgrel contains a dot
2021-02-08 23:54:03 +01:00
Martchus
c1554f4c87
Initial import
2021-02-08 23:53:56 +01:00