40cfe9883c
Ensure there are no more leftovers in "clean-repository-" DBs
2022-05-15 00:07:39 +02:00
f37739ec07
Avoid compilation error with GCC 12
...
Make operator<< for iteratable objects visible prior to call site like it
is already done in other places.
2022-05-12 21:01:58 +02:00
438fccd6cd
Avoid fatal warning about potential null pointer deref from GCC 12
...
It is about code included from Boost.Asio (some io_uring related code) so
let's just not treat it as fatal error.
2022-05-12 20:45:25 +02:00
4c98887b02
Fix warning about possibly unused value
2022-05-12 20:33:23 +02:00
ce0f34a0fd
Update lmdb-safe to fix missing include
2022-05-12 20:32:47 +02:00
5a6d68b318
Fix using files DB in CleanRepository
2022-05-07 01:59:14 +02:00
c2d5e2f749
Use DB path when checking timestamps in repo cleanup
...
Otherwise it can break if files DBs are used.
2022-05-02 22:23:35 +02:00
1950619f21
Add link to UI in root page
2022-05-01 22:21:42 +02:00
5699895a37
Add extra prefix to static-compat libs to avoid confusion with normal libs
2022-05-01 22:21:21 +02:00
0294bc241e
Support static-compat package variant
2022-05-01 21:02:04 +02:00
5c2f007589
Use auto consistently in PackageNameData
2022-05-01 20:56:38 +02:00
e343b3ca44
Split ResourceUsage
into MemoryUsage
and setup specific stats
2022-04-24 18:25:22 +02:00
142f6466ae
Show resource usage in UI
2022-04-23 19:56:22 +02:00
6965d9b40b
Pass package pointer by reference when parsing database file
2022-04-20 23:14:49 +02:00
a780b26ef6
Log package cache size on startup
2022-04-20 22:47:29 +02:00
26caa78956
Reduce memory usage when loading packages
...
* Avoid creation of map with all archive contents; instead parse packages
while walking though the archive
* Avoid instantiation of std::string in come cases (using std::string_view)
* Reuse libarchive's archive entry when walking though archive
* Use visitor-based database parser in all places to avoid intermediate big
array with all package objects
2022-04-20 22:47:10 +02:00
10cf6169a6
Update lmdb-safe
2022-04-20 21:41:00 +02:00
2ca6ce1eec
Prevent crash in package search when index is broken
2022-04-19 00:24:31 +02:00
1f3f0b0df1
Avoid high memory usage when reloading database
...
Especially when enabling files DBs it is quite problematic to store all
package objects of a database within one big array. This change avoids the
array and instead adds the packages directly. The disadvantage is that
clearing the database isn't as simple anymore.
2022-04-19 00:23:46 +02:00
f07ef9f147
Remove disabled code
2022-04-18 19:23:18 +02:00
edb014011c
Make package search more efficient
...
* Avoid keeping list of all packages in memory by pushing each package
directly to the JSON array
* Avoid check for database before pushing each package; do it only before
reaching the next database
* Remove no longer required functions
2022-04-17 23:39:25 +02:00
744568b7cb
Install graph icon
2022-04-17 19:48:20 +02:00
2cdbb176ee
Avoid currently visible logs from being collapsed when refreshing details
2022-04-17 19:44:32 +02:00
45b172cc2c
Render dependencies as links
2022-04-17 18:50:58 +02:00
e0920f10c1
Split package rendering into its own module
2022-04-17 14:52:30 +02:00
8465b620d1
Fix re-requesting package search when current params from initial query
2022-04-17 14:04:06 +02:00
4578b30ea2
Remove hard-coded build directories in test data
2022-04-15 19:58:35 +02:00
7ca7cd952b
Allow adding custom query parameters to status/actions query
2022-04-15 19:24:41 +02:00
eae8af6571
Avoid big build action IDs by reusing older/lower ones
2022-04-15 19:20:01 +02:00
e084f355ca
Add stalebot config
2022-04-12 01:06:26 +02:00
39c1261efb
Apply clang-format
2022-04-07 23:19:24 +02:00
e15f65ac16
Extend tests for conducting build
2022-04-07 23:18:14 +02:00
08421fa719
Don't rely on local pkg dir when reloading library deps
...
Since 11f1849fde
the cache dir is also set as local pkg dir
so we cannot rely on packages really existing there.
2022-04-07 21:35:05 +02:00
152ee1dde0
Add copyright notice
2022-04-05 20:24:48 +02:00
f8f1087484
Increment patch version
2022-04-01 00:18:19 +02:00
4fc3bf0928
Fix version comparison when epoch is only present in one version
2022-03-29 22:08:20 +02:00
987db81b69
Update README.md
2022-03-27 00:44:09 +01:00
7c627e6a12
Use auto
in getPackages()
2022-03-22 21:03:56 +01:00
56afe0c710
Fix returning newly retrieved AUR packages
2022-03-22 21:03:01 +01:00
d163f56abf
Log whether io_uring
is used/configured
2022-03-20 17:37:33 +01:00
f5394db6b1
Avoid crash when searching for empty dependency/library
2022-03-20 17:21:41 +01:00
d5e2b5489d
Provide filename for artefact downloads
2022-03-15 23:22:34 +01:00
69a81f7583
Remove unused function declaration
2022-03-15 22:27:50 +01:00
97c8f39c93
Clarify that license is "GPL-2-or-later"
2022-03-15 22:24:31 +01:00
83c7426fce
Allow specifying output path for license info
2022-03-15 22:23:34 +01:00
13cccd3bc9
Improve creating license info
2022-03-15 01:10:15 +01:00
af66549d87
Avoid possibly accessing packageCacheDirs when it is empty
2022-03-15 01:08:19 +01:00
f87829ba85
Save state after reloading configuration
2022-03-15 01:07:51 +01:00
11f1849fde
Keep local pkg paths deduced from pacman config
...
It makes the setup easier and shouldn't hurt otherwise.
2022-03-15 01:07:36 +01:00
b0234ff02e
Improve MIME-type when serving artefacts
2022-03-15 00:21:08 +01:00