47 Commits

Author SHA1 Message Date
5a47dd5c8d Lazy load distribution.current_series 2024-12-17 01:44:49 -06:00
f6c2b58e47 Also lazy-load build.current_source_publication 2024-12-17 00:54:36 -06:00
0100d7664e Add display_name to source_package_publishing_history 2024-12-17 00:06:57 -06:00
4c33732c98 Cache distro_series so it's not fetched multiple times 2024-12-16 23:55:47 -06:00
ccb0ae0341 Add header to CMakeLists 2024-12-16 23:38:50 -06:00
943f1b913b Attempt to lazy load distro_series for spph 2024-12-16 23:37:08 -06:00
6870125249 Pass strings to api_post and api_get directly, ensure distro_series is null if distro_series_link is empty 2024-12-16 23:04:22 -06:00
65fe1e54f5 Simplify self_link for build 2024-12-16 22:39:54 -06:00
32a4d23784 Make it clear this is an internal error 2024-12-16 21:30:25 -06:00
d7f83d4b46 Add enhanced debugging for missing endpoints 2024-12-16 21:23:26 -06:00
97840881fe Ensure getPublishedSources includes ws.op 2024-12-16 20:37:57 -06:00
7b435df95d Er, int not bool 2024-12-16 19:58:59 -06:00
48518fc076 Add retry support for failed LP requests 2024-12-16 19:57:51 -06:00
7879ec07be Fix datetime objects 2024-12-16 19:34:58 -06:00
a2a993d713 Add default argument for api_patch 2024-12-16 19:13:14 -06:00
bdb1931876 Error handling for no source record found 2024-12-16 19:01:10 -06:00
57bd56b0d2 Better endpoint error handling 2024-12-16 19:00:00 -06:00
bc2f365925 params needs a default argument too 2024-12-16 18:51:08 -06:00
cfbec74726 url already has params on it 2024-12-16 18:49:10 -06:00
3fbb8e2d84 Add additional debugging for failed GET and POST calls 2024-12-16 18:47:33 -06:00
3c42ec0a64 Add default arguments for api_* endpoints to prevent segfaults 2024-12-16 18:44:51 -06:00
1cbe4ceb29 Remove debugging statement 2024-12-16 18:12:17 -06:00
e5f211ecf7 Use string directly 2024-12-16 17:59:22 -06:00
f18b5ca729 Add source_package_publishing_history::requestDeletion() 2024-12-16 12:16:19 -06:00
5d803c4345 Add the build property for binary_package_publishing_history 2024-12-16 11:55:39 -06:00
e99b2ef058 Add source_package_publishing_history::getPublishedBinaries() 2024-12-16 11:06:19 -06:00
7655cefedd Treat datetime objects as actual datetime objects 2024-12-16 10:57:35 -06:00
9d15a0f2f7 Add the same support for source_packaging_publishing_history::distro_series 2024-12-16 10:33:35 -06:00
b963524519 Bind build::current_source_publication to build::getCurrentSourcePublication() 2024-12-16 10:12:43 -06:00
b7011711b3 Use build instead of build_record 2024-12-15 23:20:47 -06:00
2cbe2897a2 Add support for many more optional arguments to archive::getPublishedSources 2024-12-15 22:54:04 -06:00
a64dc3a1dd Add missing include 2024-12-15 21:48:20 -06:00
61aa0b8243 Remove extra prefix in distribution.h 2024-12-15 21:44:31 -06:00
4142757284 Add support for distribution::getSeries() 2024-12-15 21:43:19 -06:00
6bcc090407 For source_package_publishing_history::getBuilds(), use an std::generator instead of an std::vector 2024-12-15 21:21:32 -06:00
ea548faaf5 Remove stray debugging line 2024-12-15 21:08:32 -06:00
4664a37bf0 stop hiding 2024-12-15 21:02:23 -06:00
64e193594d Export many more symbols 2024-12-15 20:58:55 -06:00
4af2af923f Add several more fields related to distro, archive, and binary 2024-12-15 20:39:22 -06:00
302c72250b Add archive_permission 2024-12-15 19:38:48 -06:00
e8fbd606e8 Apply error handling more universally 2024-12-15 18:53:03 -06:00
2d45cf9983 Try some better error handling for archive.cpp JSON parsing 2024-12-15 18:46:42 -06:00
5c6bc915ba Use a unique variable name 2024-12-15 18:41:32 -06:00
fc95337bb7 s/source/source_package_publishing_history/g 2024-12-15 03:20:46 -06:00
e547684f45 Remove many getter functions 2024-12-15 02:58:42 -06:00
d7b755c248 Add build::rescore(int score) 2024-12-15 02:35:41 -06:00
5e6405daa2 Initial commit 2024-12-14 23:07:56 -06:00