Martchus
10e86c759c
Avoid running into exception when checking whether executable exists
...
When we cannot even check whether the executable exists we can just assume
it doesn't.
2023-11-08 17:26:04 +01:00
Martchus
e108c98826
Apply clang-format
2023-11-08 17:25:18 +01:00
Martchus
c31027fc7f
Pass `PKGNAME` to `makecontainerpkg` to avoid sourcing PKGBUILD again
2023-11-08 16:08:54 +01:00
Martchus
1a4b9282d2
Allow using `makecontainerpkg` in prepare action
2023-11-08 15:09:42 +01:00
Martchus
434e1a8f0c
Improve database selection when invoking package search from params
...
* Select all relevant DBs, also when multiple `db` parameters are present
* Avoid the architecture filter from interfering by simply selecting "All
archs" when starting a package search from query params
2023-11-08 14:35:28 +01:00
Martchus
f0d9b684df
Make default arch configurable
2023-11-08 14:02:47 +01:00
Martchus
5bcd0dee6e
Make repo selection by arch easier
...
* Select only repos of default arch initially
* Select all repos of the architecture when selecting a different arch
2023-11-08 13:39:06 +01:00
Martchus
6016ff7658
Fix typo in lmdb-safe docstring
2023-11-08 13:30:20 +01:00
Martchus
5a006c6b6d
Use CMake `option()` correctly
2023-10-16 23:50:01 +02:00
Martchus
d3e556cea7
Notify systemd when the service is ready or stopping
2023-10-16 23:48:19 +02:00
Martchus
37ee4f8fa7
Fix assert message in allocatePointer() function of lmdb-safe
2023-10-16 23:23:06 +02:00
Martchus
7cea1c5f41
Fix package search for exact name; fix use after move in `routes.cpp`
2023-09-11 21:49:43 +02:00
Martchus
85736af4bb
Avoid warnings about unqualified calls to `std::move` in `routes.cpp`
2023-09-11 21:43:36 +02:00
Martchus
12722741c8
Add package-lock.json
2023-09-09 00:00:17 +02:00
Martchus
3f3cc917d7
Update xterm.js to 5.3.0
2023-09-08 23:56:33 +02:00
Martchus
0acbc2d193
Avoid resetting updated version if the package has already been built
2023-09-04 21:20:10 +02:00
Martchus
61756023db
Fix accidentally adding an old package version to the repository
...
Ensure updated version from previous run is cleared
2023-09-04 21:06:38 +02:00
Martchus
91ee500b0a
Show amended upstream version correctly
2023-09-03 22:09:28 +02:00
Martchus
c816972a16
Avoid having to rely on `pkgver()` yielding a newer version for VCS packages
...
Bump pkgver/pkgrel of VCS packages. This should help with case (1) and
should not interfere with case (2).
(1) If the pkgver does not change after all then makepkg leaves the bumped
pkgrel untouched.
(2) If the pkgver does change then makepkg will reset the bumped pkgrel and
it is as if we haven't changed anything.
2023-09-03 14:29:04 +02:00
Martchus
cda3c34806
Avoid CMake deprecation warning by bumping version
2023-07-23 21:17:53 +02:00
Martchus
ca4b35cbf0
Add favicon
2023-06-20 17:59:38 +02:00
Martchus
c377a9d6ca
Fix typos
2023-06-18 22:50:28 +02:00
Martchus
e5fed90c10
Document setting up an i686 chroot
2023-06-13 21:01:34 +02:00
Martchus
e25866c904
Apply clang-format
2023-06-12 22:18:47 +02:00
Martchus
213c823f87
Avoid running into test error when dynamically created symlink already exists
2023-06-12 22:17:57 +02:00
Martchus
15e4638009
Update xterm.js to 5.2.1
2023-06-11 00:16:25 +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
22563561dc
Delete missing-0-any.pkg.tar.zst
...
The dangling symlink prevents cloning the repository under
Windows.
2023-06-10 23:56:02 +02:00
Martchus
671c45aae5
Re-use string holding file contents
...
This should reduce memory allocations while walking through an archive's
files.
2023-06-05 20:52:45 +02:00
Martchus
524b16815a
Do basic sanity check of a package's most important fields when checking for problems
2023-06-03 18:49:02 +02:00
Martchus
77000ac7d3
Improve logging status when rebuilding DB
...
Override previous "Processing package …" line to avoid huge output.
2023-06-03 17:48:36 +02:00
Martchus
ce6da89a40
Use exit macros from standard library
2023-06-03 17:25:02 +02:00
Martchus
b3dd694a1c
Move all code in `run()` function into try-blocks for consistent error handling
2023-06-03 17:10:15 +02:00
Martchus
9113015294
Show database architecture in package search table
...
Otherwise it can be confusing why any-arch packages show up
twice and it is also unclear to which repository they belong.
2023-05-31 23:52:29 +02:00
Martchus
81b6a6167c
Improve mirror links
2023-05-31 23:45:06 +02:00
Martchus
50ef7c26f3
Allow triggering package search for DB from DBs page
2023-05-29 15:03:43 +02:00
Martchus
54a7a84d11
Apply cf6b90407e
for libpkg as well
...
We use `-std=c++2b` everywhere so this workaround is also
required in all sub projects.
2023-05-28 23:50:56 +02:00
Martchus
1376a01570
Allow fetching official PKGBUILDs from GitLab
...
The old approach of using a local checkout does not work anymore
after the Git migration. One could use
`pkgctl repo clone --universe` to get a similar checkout but this
takes ages on my server. So let's better just download the
individual sources as needed, similar to how it is done for AUR
packages.
2023-05-28 23:43:13 +02:00
Martchus
feadac7a66
Adapt tests to changed note
2023-05-28 22:37:19 +02:00
Martchus
30a80e7aca
Add pkgctl tool
2023-05-28 22:05:02 +02:00
Martchus
cf6b90407e
Workaround compilation error happening in reflection generation
...
The latest version of libstdc++ in Arch Linux at this point (13.1.1)
pulls in the following code via `#iterator <iterator>` when
`-std=gnu++2b` is used:
```
template<forward_iterator _It>
struct __basic_const_iterator_iter_cat<_It>
{ using iterator_category =
iterator_traits<_It>::iterator_category; };
```
The latest version of Clang in Arch Linux at this point (15.0.7)
complains about a missing `typename` here. To avoid this error
from preventing the build, this changes enables error resilience
for the reflection generation to turn this error into a warning.
2023-05-28 21:05:29 +02:00
Martchus
72d449977f
Fix note about deleted build actions in cleanup action
2023-05-28 20:37:45 +02:00
Martchus
1bf427c6d7
Improve README section about chroot creation
2023-05-28 20:28:14 +02:00
Martchus
55e19d9041
Relax condition for adding `--skippgpcheck`
...
The `signed` parameter might be used like this:
```
"$pkgname::git+https://github.com/ankitects/anki#tag=${_tag}?signed "
```
So we can't rely on `.git` preceding it.
2023-04-08 19:26:46 +02:00
Martchus
cce83f1f9e
Allow considering pulling-in further dependencies unexpected
...
This allows one to review further dependencies if pulled-in automatically
during the build preparation first before conducting the build.
2023-04-08 19:10:59 +02:00
Martchus
86581ec002
Add note in cleanup action stating how many build actions have been deleted
2023-04-08 18:50:46 +02:00
Martchus
5af8de2468
Fix catching exception from `boost::filesystem` in `BuildServiceCleanup` and adapt tests
2023-04-08 18:43:58 +02:00
Martchus
87fd9bb4b1
Fix unqualified calls in `preparebuild.cpp`
2023-04-07 19:30:08 +02:00
Martchus
00edfed48b
Improve error handling in `BuildServiceCleanup`
2023-04-07 19:23:13 +02:00
Martchus
bb8d875059
Apply clang-format
2023-04-07 19:15:50 +02:00