Commit Graph

19 Commits

Author SHA1 Message Date
24e2ec0136 Fix reporting an error during build preparation as such 2023-11-22 21:50:45 +01:00
60a477af99 Keep setup lock while checking executables
In the error case we use the fields from `m_setup.building` so the lock
needs to be kept.
2023-11-09 13:46:47 +01:00
e108c98826 Apply clang-format 2023-11-08 17:25:18 +01:00
1a4b9282d2 Allow using makecontainerpkg in prepare action 2023-11-08 15:09:42 +01:00
91ee500b0a Show amended upstream version correctly 2023-09-03 22:09:28 +02:00
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
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
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
87fd9bb4b1 Fix unqualified calls in preparebuild.cpp 2023-04-07 19:30:08 +02:00
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
e582d5f406 Remove useless blank line 2022-02-03 22:07:22 +01:00
2ffa6629c8 lmdb: Use lmdb to store packages and dependency indices 2022-01-18 21:50:53 +01:00
0a2c41ee0c Fix shadowing warning 2021-12-07 22:48:22 +01:00
567c3aaf56 Support "trunk" subdirectory for using official svntogit repos as source 2021-11-16 15:00:19 +01:00
0f7718c934 Locate PKGBUILDs locally also without variant dir
This makes it possible to checkout
https://github.com/archlinux/svntogit-packages.git and
https://github.com/archlinux/svntogit-community.git locally to build
official packages.
2021-11-14 23:37:33 +01:00
49aebdd8a5 Fix typos found via codespell --skip .git -w 2021-07-03 19:59:57 +02:00
9359004a10 Allow resetting chroot settings as well when preparing build 2021-05-16 16:49:09 +02:00
fa969270c1 Fix warnings 2021-03-22 15:08:41 +01:00
c1554f4c87 Initial import 2021-02-08 23:53:56 +01:00