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
Martchus
39c1261efb
Apply clang-format
2022-04-07 23:19:24 +02:00
Martchus
e15f65ac16
Extend tests for conducting build
2022-04-07 23:18:14 +02:00
Martchus
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
Martchus
152ee1dde0
Add copyright notice
2022-04-05 20:24:48 +02:00
Martchus
f8f1087484
Increment patch version
2022-04-01 00:18:19 +02:00
Martchus
4fc3bf0928
Fix version comparison when epoch is only present in one version
2022-03-29 22:08:20 +02:00
Martchus
987db81b69
Update README.md
2022-03-27 00:44:09 +01:00
Martchus
7c627e6a12
Use `auto` in `getPackages()`
2022-03-22 21:03:56 +01:00
Martchus
56afe0c710
Fix returning newly retrieved AUR packages
2022-03-22 21:03:01 +01:00
Martchus
d163f56abf
Log whether `io_uring` is used/configured
2022-03-20 17:37:33 +01:00
Martchus
f5394db6b1
Avoid crash when searching for empty dependency/library
2022-03-20 17:21:41 +01:00
Martchus
d5e2b5489d
Provide filename for artefact downloads
2022-03-15 23:22:34 +01:00
Martchus
69a81f7583
Remove unused function declaration
2022-03-15 22:27:50 +01:00
Martchus
97c8f39c93
Clarify that license is "GPL-2-or-later"
2022-03-15 22:24:31 +01:00
Martchus
83c7426fce
Allow specifying output path for license info
2022-03-15 22:23:34 +01:00
Martchus
13cccd3bc9
Improve creating license info
2022-03-15 01:10:15 +01:00
Martchus
af66549d87
Avoid possibly accessing packageCacheDirs when it is empty
2022-03-15 01:08:19 +01:00
Martchus
f87829ba85
Save state after reloading configuration
2022-03-15 01:07:51 +01:00
Martchus
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
Martchus
b0234ff02e
Improve MIME-type when serving artefacts
2022-03-15 00:21:08 +01:00
Martchus
81440bdd4d
Fix CSS classes for build action states
2022-03-14 22:38:56 +01:00
Martchus
0e04235d0e
Generate meaningful error message if path for "licenses" package not configured
2022-03-14 01:07:26 +01:00
Martchus
985e641e35
Use smaller font size for high build action IDs
2022-03-14 00:58:27 +01:00
Martchus
59cd593a3b
Display template name
2022-03-12 22:46:42 +01:00
Martchus
c2b05debd2
Render status/result via colorful dot
2022-03-12 22:23:01 +01:00
Martchus
8e8d021eb0
Shorten time ago rendering
2022-03-12 22:22:19 +01:00
Martchus
70a98ffedc
Make name of build action to execute custom command shorter
2022-03-12 21:37:59 +01:00
Martchus
6437c7eb42
Avoid concurrent AJAX requests and show loading indication
2022-03-12 18:53:46 +01:00
Martchus
ac0d64fe3e
Allow everyone to see build action details
2022-03-10 23:19:02 +01:00
Martchus
30e3d0343e
Fix condition in `Package::isPkgInfoFileOrBinary()`
2022-03-10 23:04:18 +01:00
Martchus
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
Martchus
14e6698628
Fix setting build actions table width to 100 %
2022-03-08 23:44:36 +01:00
Martchus
7814b8a336
Avoid installing static library of lmdb-safe
2022-03-08 00:47:38 +01:00
Martchus
55f081153e
Add command to delete invalid build actions from DB
2022-03-07 23:36:48 +01:00
Martchus
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
Martchus
afc61bcad6
Speed up AUR updates using `PackageUpdater`
2022-03-05 16:10:33 +01:00
Martchus
8fdf7bfb04
Print certain resource limits on server startup
2022-03-05 12:34:26 +01:00
Martchus
9acd10fa4c
Catch `boost::exception`s
2022-03-05 12:34:05 +01:00
Martchus
9b6be51dd3
Allow reloading library dependencies of specific packages
2022-03-04 21:51:25 +01:00
Martchus
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
Martchus
1f3abd5596
Distinguish Android libs from GNU/Linux libs
2022-03-04 21:48:28 +01:00
Martchus
3d3ba1457a
Adapt tests
2022-03-04 09:30:19 +01:00
Martchus
c633eea607
Add any-packages containing binaries as problem when checking for errors
2022-03-03 23:08:14 +01:00