81440bdd4d
Fix CSS classes for build action states
2022-03-14 22:38:56 +01:00
0e04235d0e
Generate meaningful error message if path for "licenses" package not configured
2022-03-14 01:07:26 +01:00
985e641e35
Use smaller font size for high build action IDs
2022-03-14 00:58:27 +01:00
59cd593a3b
Display template name
2022-03-12 22:46:42 +01:00
c2b05debd2
Render status/result via colorful dot
2022-03-12 22:23:01 +01:00
8e8d021eb0
Shorten time ago rendering
2022-03-12 22:22:19 +01:00
70a98ffedc
Make name of build action to execute custom command shorter
2022-03-12 21:37:59 +01:00
6437c7eb42
Avoid concurrent AJAX requests and show loading indication
2022-03-12 18:53:46 +01:00
ac0d64fe3e
Allow everyone to see build action details
2022-03-10 23:19:02 +01:00
30e3d0343e
Fix condition in Package::isPkgInfoFileOrBinary()
2022-03-10 23:04:18 +01:00
6699bfa49e
lmdb: Avoid storing empty keys possibly leading to MDB_BAD_VALSIZE
...
This might prevent errors like:
```
Unable to parse retrieved database file for "community-staging@x86_64": Getting data: MDB_BAD_VALSIZE: Unsupported size of key/DB name/data, or wrong DUPFIXED size
```
2022-03-10 22:45:11 +01:00
14e6698628
Fix setting build actions table width to 100 %
2022-03-08 23:44:36 +01:00
7814b8a336
Avoid installing static library of lmdb-safe
2022-03-08 00:47:38 +01:00
55f081153e
Add command to delete invalid build actions from DB
2022-03-07 23:36:48 +01:00
7ade757c8d
Avoid locking whole config when updating DBs
...
* Only lock the config for writing the reloading the config file
* Make sure all write operations to the database acquire an "update mutex"
to ensure only one write operation happens at a time
* Do *not* acquire any additional locks when reading from a database as it
should be safe to do so even when a write operation happens because
* LMDB read and write transactions can happen at the same time
* The package cache has its own mutex anyways
* Write ops to the package cache try to lock the "update mutex" to
prevent writing "old" data to the cache during updates
* Make "lastUpdate" atomic to avoid locking the config when accessing it
2022-03-05 18:55:52 +01:00
afc61bcad6
Speed up AUR updates using PackageUpdater
2022-03-05 16:10:33 +01:00
8fdf7bfb04
Print certain resource limits on server startup
2022-03-05 12:34:26 +01:00
9acd10fa4c
Catch boost::exception
s
2022-03-05 12:34:05 +01:00
9b6be51dd3
Allow reloading library dependencies of specific packages
2022-03-04 21:51:25 +01:00
4293eb92bf
Ignore libs for cross-compilation when checking any packages for binaries
...
Not really generic yet (e.g. doesn't cover `aarch64-linux-gnu-glibc`) but
good enough for now.
2022-03-04 21:50:56 +01:00
1f3abd5596
Distinguish Android libs from GNU/Linux libs
2022-03-04 21:48:28 +01:00
3d3ba1457a
Adapt tests
2022-03-04 09:30:19 +01:00
c633eea607
Add any-packages containing binaries as problem when checking for errors
2022-03-03 23:08:14 +01:00
8e18b4747f
Assume the filename as library name for ELF libraries without soname field
2022-03-03 23:00:16 +01:00
6456273951
Fix early return for special handling of mingw-w64-crt
2022-03-03 22:43:31 +01:00
cbfdf2236e
Skip DLLs provided by Windows when checking for unresolvable DLLs
2022-03-03 22:40:48 +01:00
c2e7f40767
Fix typos
2022-03-01 00:43:06 +01:00
79123e4cd9
Improve error handling of server
...
* Return with non-zero exit code when an exception occurred
* Handle exceptions when terminating the service
2022-03-01 00:39:50 +01:00
659a8b0e8b
Update xterm.js to 4.18.0
2022-03-01 00:30:48 +01:00
02bf5faba4
Remove output route from CLI
2022-03-01 00:28:08 +01:00
b6901afcc2
Add memory limits to systemd service for io_uring
2022-02-27 00:07:49 +01:00
e5f0a36730
Update README.md
2022-02-26 23:16:25 +01:00
0343685910
Adapt tests for limiting
2022-02-25 23:18:26 +01:00
67fa8def0b
Name additional threads
2022-02-25 23:09:46 +01:00
2071327a71
Fix building packages using signed git repositories as source
2022-02-25 23:09:16 +01:00
22cfb4bb29
Use std::string_view when parsing pkg info
2022-02-25 23:08:12 +01:00
fd35aa0da6
Parse sources and size from pkg info
2022-02-25 23:07:55 +01:00
90ff9678fe
Limit results returned by the API for better scalability
2022-02-25 00:29:43 +01:00
ff7f039519
Ensure problems of repos with different archs but the same name aren't mixed up
2022-02-22 22:50:51 +01:00
382169ab6e
Fix varoius build action related problems
...
* Fix crashes in some situations
* Fix aborting reloading library dependencies
2022-02-22 22:49:40 +01:00
9e15129d9d
Ignore null-dereference warning
...
It is about
```
return result_type{ storageEntry.id, storageEntry.ref.relatedStorage };
```
but it isn't clear why the compiler thinks there's a problem.
2022-02-22 22:46:53 +01:00
5c62014b3b
Fix variable name in fallback code when BOOST_ASIO_HAS_FILE
2022-02-22 20:22:00 +01:00
a25db1f9e0
Log usage of io_uring
2022-02-22 00:08:21 +01:00
839a4b0831
Fix wrong variable name in buildactionlivestreaming.cpp
2022-02-22 00:05:35 +01:00
3dfdce58af
lmdb: Update subrepo
2022-02-21 23:49:09 +01:00
8ea2f5fd62
Reintroduce cache file as it is still required for "lastUpdate" for DBs
...
Maybe it makes more sense to use LMDB for this as well. On the other hand
it is an easy way of keeping the remaining state persistent.
2022-02-20 20:17:42 +01:00
9c4f0277bd
Unlock output lock early
...
The following things are read-only or guarded by other mutex.
2022-02-20 19:51:46 +01:00
bdbfd42e5e
Avoid package object being reused after 3d7310af3
2022-02-20 19:50:44 +01:00
d11ba43bf0
lmdb: Avoid getting packages with empty name, can lead to exception
2022-02-20 19:28:44 +01:00
334bb1faa9
Use io_uring for async file I/O
2022-02-20 18:44:07 +01:00