61 Commits

Author SHA1 Message Date
3bbef476f9 Also try fixing current_series in distribution 2024-12-20 00:53:05 -06:00
dd8f41140f Rearrange variables to finally fix distro_series segfault 2024-12-19 00:29:48 -06:00
bb71c5cdf8 continue on CURL errors 2024-12-19 00:28:06 -06:00
3d459c1661 Try moving distro_series down in the header file 2024-12-18 19:50:14 -06:00
929bd6845f std::nullopt instead? 2024-12-18 19:27:46 -06:00
fcc3e41e6b Also try initializing _distro_series earlier 2024-12-18 19:22:03 -06:00
d1f6765222 Set _distro_series to ds directly 2024-12-18 19:17:34 -06:00
0851fbeebc Try some more direct type fun 2024-12-18 19:00:06 -06:00
61d95127b6 Try caching again 2024-12-18 18:46:38 -06:00
aa32d320fd Try defining distro_series_link earlier 2024-12-18 18:41:45 -06:00
8d07441f9c Just don't cache distro_series for now 2024-12-18 18:35:18 -06:00
aa0f4d4365 Fix caching harder 2024-12-18 18:25:51 -06:00
96ab2b7eaa Perhaps an std::move will help? 2024-12-18 18:19:27 -06:00
dc3c8a05c1 Initialize distro_series as optional 2024-12-18 17:55:06 -06:00
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