134 Commits

Author SHA1 Message Date
3bad275726 Also pass tarball_task by reference 2025-01-25 17:45:39 -06:00
c0b95cf54f Don't sync tasks without jobstatuses, it'll be taken care of later 2025-01-25 17:27:27 -06:00
2915f73367 Try minimizing duplicate locks 2025-01-25 17:22:41 -06:00
c0ba14764a small one-line 2025-01-25 17:18:42 -06:00
27da8b7df0 Make jobstatus_map a shared pointer, hopefully resolving nullptr issues 2025-01-25 17:01:10 -06:00
a43739dfeb Lower exponential delay 10x 2025-01-25 15:56:25 -06:00
ddc29602ee Add missing job_statuses 2025-01-25 15:46:57 -06:00
7feaf1726c Remove static const from jobstatuses to ensure it is passed correctly 2025-01-25 15:43:48 -06:00
296f37262d Also use exponential backoff for a locked db in the initial database schema, and support passing a QString to exec() 2025-01-25 15:18:34 -06:00
8b6ff0a865 Only queue the tarball task if the pull was successful 2025-01-25 15:09:34 -06:00
495912f0d2 Add several null checks for commits 2025-01-25 14:40:16 -06:00
1e92157a12 Consolidate much of the pull and build logic 2025-01-25 14:10:43 -06:00
228f430797 Be safer about removals from the active tokens list 2025-01-25 13:33:36 -06:00
6e12e28cd7 Invert passed check, this broke all queries, whoops 2025-01-25 13:17:07 -06:00
966bdcd1cb Centralize exec() in db_common for gradual backoff retries 2025-01-25 13:11:03 -06:00
8dc972b4de Move the database initialization to db_common 2025-01-25 12:40:39 -06:00
604683dc90 Fix installation of the common library 2025-01-24 23:51:49 -06:00
775e5bddb7 Centralize the database thread connection code 2025-01-24 23:50:40 -06:00
10d43282b6 Add the same to PackageConf syncs, and make logic more robust 2025-01-24 22:45:16 -06:00
d3d19f4f2a Add exponential backup for task retries 2025-01-24 22:39:16 -06:00
0e26020d13 Change synchronous to NORMAL from FULL 2025-01-24 22:02:34 -06:00
0dd70c9545 add missing type decl 2025-01-24 20:54:41 -06:00
5df6fb4fc4 Fix bad task locks 2025-01-24 20:52:07 -06:00
d6e268bf62 Make the SSO redirects work behind a correctly-configured reverse proxy 2025-01-24 20:41:25 -06:00
16b669c380 Fix prefix path 2025-01-24 19:51:58 -06:00
717dcd63f7 build-packages no longer exists as a CLI utility 2025-01-24 19:34:27 -06:00
2ed625e6a7 Correct cmake install file 2025-01-24 19:31:52 -06:00
9ff2bd6fcd MEGAcommit adding a FULL web interface 2025-01-24 19:06:37 -06:00
d63f3b8d79 Try to also grab submodules 2024-12-23 17:36:30 -06:00
f5bb145add Correctly set a default time for files so they don't end up as the epoch 2024-12-21 01:33:02 -06:00
0267111033 Use lambdas instead of manual frees for libgit2 2024-12-20 22:18:48 -06:00
19620ff4d1 Don't redefine semaphore 2024-12-20 13:12:35 -06:00
998d0492e2 Just get plucky directly for now 2024-12-20 13:10:03 -06:00
1ad89f104a Fix getPublishedSources call 2024-12-20 13:09:02 -06:00
216a54498f Move semaphore logic to common, try using it in lintian-ppa 2024-12-20 13:07:07 -06:00
3a4e2fd78a Do the same for pull_package 2024-12-20 00:30:06 -06:00
3f13130d32 Try also limiting Lintian to 5 2024-12-20 00:21:59 -06:00
da63dfe0a4 Try cleaning up create_tarball so it can handle more files 2024-12-19 23:15:44 -06:00
438c8b9a3b Try fixing Lintian sources path 2024-12-19 22:27:24 -06:00
374986db61 Add missing suffix for orig tarballs 2024-12-19 22:15:14 -06:00
a6197af85a Be hacky and include the explicit path to archive.h due to a conflicting header in launchpadlib 2024-12-18 17:16:37 -06:00
33678a6c0e Fix libarchive usage 2024-12-18 17:03:23 -06:00
0ba157d434 Try using -> instead of . for the name of current_series 2024-12-18 16:32:21 -06:00
1d91f8212d Try to convert tarball creation to C++ 2024-12-17 21:44:46 -06:00
6891092cda Rework distro_series further 2024-12-17 20:58:30 -06:00
2df7aec696 Try a different approach for lintian-ppa distro_series 2024-12-17 20:10:42 -06:00
21ddd7b43e Try a different semaphore handling approach 2024-12-17 19:42:36 -06:00
8fa2d80fa4 Don't hard-fail on a failed stage - this is rather normal 2024-12-17 18:38:33 -06:00
643c02279c Reorganize build-package to separate concerns a bit 2024-12-17 18:19:24 -06:00
48c59962d0 Link UUID correctly 2024-12-17 11:23:24 -06:00