Hartmut Goebel
3ee0f170c8
ci: Properly construct URLs.
...
Implement a new function "api-url", which constructs URLs using relative URI
and "resolve-uri-reference" (which implements the algorithm specified in RFC
3986 section 5.2.2) for building the URL, instead of just appending
strings. This avoids issued if the server-url ends with a slash.
Since "api-url" uses URI-objects, it makes sense to also construct the
query-part of the URL here. For this "api-url" accepts optional
key-value-pairs.
New function "json-api-fetch" is a wrapper using "api-url".
* guix/ci.scm (api-url): New function. (build): Use it.
(json-api-fetch): New function. (queued-builds, latest-builds,
evaluation, latest-evaluations, evaluation-jobs: Use it.
2021-07-16 19:48:24 +02:00
..
2021-07-07 13:56:16 +02:00
2021-07-02 16:50:09 -04:00
2021-07-05 16:54:05 +02:00
2021-07-16 19:36:11 +02:00
2021-01-31 21:49:58 +01:00
2021-03-06 11:41:48 +01:00
2021-05-02 18:45:27 +02:00
2020-12-20 10:40:57 +01:00
2019-12-15 00:34:05 +01:00
2020-10-12 18:23:47 +02:00
2019-09-05 18:33:30 +02:00
2021-01-13 16:26:58 +01:00
2021-05-12 08:34:07 +01:00
2021-07-16 19:48:24 +02:00
2020-02-24 11:01:52 +01:00
2020-07-05 03:15:08 +05:30
2021-02-04 09:23:39 +01:00
2021-07-04 04:35:35 +02:00
2021-04-25 14:35:42 +02:00
2021-05-05 16:56:43 +02:00
2021-01-04 23:54:16 +01:00
2020-01-12 00:19:09 +01:00
2020-08-28 23:29:07 +02:00
2021-06-13 23:57:44 +02:00
2021-05-09 23:45:36 +02:00
2020-07-05 16:07:59 +05:30
2021-07-05 16:34:07 -04:00
2021-05-22 23:13:11 +02:00
2021-02-15 08:38:00 +08:00
2021-06-30 13:53:00 +02:00
2021-02-04 09:23:39 +01:00
2021-05-28 11:36:02 +02:00
2021-06-12 00:49:32 +02:00
2020-12-09 22:25:17 +01:00
2021-06-03 13:04:20 +02:00
2020-04-17 23:36:47 +02:00
2021-06-08 09:25:50 +02:00
2021-01-04 23:54:16 +01:00
2021-01-04 23:54:16 +01:00
2021-06-14 18:35:18 +02:00
2021-04-25 14:36:45 +02:00
2021-05-15 12:14:47 +01:00
2021-04-12 18:42:22 +02:00
2021-06-24 23:43:05 +02:00
2021-07-13 07:25:05 +02:00
2020-08-24 13:35:24 +02:00
2021-01-19 17:45:38 +01:00
2020-12-19 23:25:01 +01:00
2020-12-15 17:32:11 +01:00
2021-03-21 23:41:01 +01:00
2021-03-02 23:12:37 +01:00
2021-04-29 01:22:04 +02:00
2021-06-28 21:59:02 +02:00
2021-06-01 09:10:32 +02:00
2020-07-24 18:56:25 +02:00
2020-04-08 00:05:45 +02:00
2020-07-25 19:11:37 +02:00
2021-01-21 00:14:38 +01:00
2021-02-24 23:50:13 +01:00
2021-07-09 17:33:46 +02:00
2021-03-01 17:45:51 +01:00
2021-05-11 12:49:53 +02:00
2021-07-04 23:00:36 +02:00
2021-06-18 11:25:41 +01:00
2021-07-16 19:36:11 +02:00
2020-09-14 14:24:29 +01:00
2021-06-14 18:35:18 +02:00
2021-03-06 11:41:48 +01:00
2021-06-08 23:28:04 +02:00
2021-07-15 16:11:47 -04:00
2021-04-06 23:59:46 +02:00
2021-07-15 16:09:53 -04:00