Martchus
0a536a992a
Fix missing include for std::ifstream
2022-06-15 23:31:14 +02:00
Martchus
1ae8604701
Improve spacing of back button
2022-06-12 21:36:04 +02:00
Martchus
67a25d726e
Use user `buildservice-git` in README
...
The setup instructions also use the `buildservice-git` package so it makes
sense to use `buildservice-git` as user as well.
2022-06-12 20:47:23 +02:00
Martchus
3b150428ae
Allow building with `makecontainerpkg`
2022-06-12 20:42:14 +02:00
Martchus
294dba0e2a
Fix URL and show it in the about dialog
2022-06-09 19:50:43 +02:00
Martchus
d26c911fd6
Add button to go back to the root
2022-06-09 19:41:10 +02:00
Martchus
4868a80573
Fix encoding issues of dependency links
2022-06-09 19:24:17 +02:00
Martchus
e1b7aa3470
Fix rendering tooltip of dependency links
2022-06-09 19:23:43 +02:00
Martchus
6a633252a8
Fix search by libraries broken by recent optimizations
2022-06-09 18:51:03 +02:00
Martchus
c155176098
Fix missing build date in package search
...
* Avoid using buildDate of PackageInfo in favor of the same field in
PackageBase
* PackageInfo::buildDate should be removed on the next breaking change
* Do not really use the deprecated attribute because it is still used by
(de)serialization code until it is removed for good
2022-06-08 22:44:58 +02:00
Martchus
94c4b8addc
Improve misleading test name
2022-05-31 21:34:20 +02:00
Martchus
1815b50be7
Avoid deserializing build actions for deletion
2022-05-31 21:18:54 +02:00
Martchus
55c7c62c7c
Speed up returning build actions table by avoiding deserializing whole obj
2022-05-31 20:54:02 +02:00
Martchus
645bb0fe54
Use arch-specific sub-directory within cache dir when conducting build
2022-05-31 20:27:42 +02:00
Martchus
0095424696
Support static-compat variant when computing regular package name
2022-05-31 20:13:21 +02:00
Martchus
f2902f1d08
Apply clang-format
2022-05-31 20:13:21 +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
b74392c34d
Speed up deserialization when serving providing packages as well
2022-05-31 19:40:12 +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
ae44624989
Rebuild package DBs as well when fixing DBs
2022-05-15 00:32:46 +02:00
Martchus
40cfe9883c
Ensure there are no more leftovers in "clean-repository-" DBs
2022-05-15 00:07:39 +02:00
Martchus
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
Martchus
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
Martchus
4c98887b02
Fix warning about possibly unused value
2022-05-12 20:33:23 +02:00
Martchus
ce0f34a0fd
Update lmdb-safe to fix missing include
2022-05-12 20:32:47 +02:00
Martchus
5a6d68b318
Fix using files DB in CleanRepository
2022-05-07 01:59:14 +02:00
Martchus
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
Martchus
1950619f21
Add link to UI in root page
2022-05-01 22:21:42 +02:00
Martchus
5699895a37
Add extra prefix to static-compat libs to avoid confusion with normal libs
2022-05-01 22:21:21 +02:00
Martchus
0294bc241e
Support static-compat package variant
2022-05-01 21:02:04 +02:00
Martchus
5c2f007589
Use auto consistently in PackageNameData
2022-05-01 20:56:38 +02:00
Martchus
e343b3ca44
Split `ResourceUsage` into `MemoryUsage` and setup specific stats
2022-04-24 18:25:22 +02:00
Martchus
142f6466ae
Show resource usage in UI
2022-04-23 19:56:22 +02:00
Martchus
6965d9b40b
Pass package pointer by reference when parsing database file
2022-04-20 23:14:49 +02:00
Martchus
a780b26ef6
Log package cache size on startup
2022-04-20 22:47:29 +02:00
Martchus
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
Martchus
10cf6169a6
Update lmdb-safe
2022-04-20 21:41:00 +02:00
Martchus
2ca6ce1eec
Prevent crash in package search when index is broken
2022-04-19 00:24:31 +02:00
Martchus
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
Martchus
f07ef9f147
Remove disabled code
2022-04-18 19:23:18 +02:00
Martchus
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
Martchus
744568b7cb
Install graph icon
2022-04-17 19:48:20 +02:00
Martchus
2cdbb176ee
Avoid currently visible logs from being collapsed when refreshing details
2022-04-17 19:44:32 +02:00
Martchus
45b172cc2c
Render dependencies as links
2022-04-17 18:50:58 +02:00
Martchus
e0920f10c1
Split package rendering into its own module
2022-04-17 14:52:30 +02:00
Martchus
8465b620d1
Fix re-requesting package search when current params from initial query
2022-04-17 14:04:06 +02:00
Martchus
4578b30ea2
Remove hard-coded build directories in test data
2022-04-15 19:58:35 +02:00
Martchus
7ca7cd952b
Allow adding custom query parameters to status/actions query
2022-04-15 19:24:41 +02:00
Martchus
eae8af6571
Avoid big build action IDs by reusing older/lower ones
2022-04-15 19:20:01 +02:00
Martchus
e084f355ca
Add stalebot config
2022-04-12 01:06:26 +02:00