Commit graph

292 commits

Author SHA1 Message Date
2311bfeaea remove more styles 2025-02-14 00:16:33 +01:00
24d93026af remove unused css 2025-02-12 23:29:40 +01:00
28113becd5 prevent image overlap 2025-02-12 22:45:44 +01:00
e9a776d57d expand all css classes 2025-02-12 22:45:32 +01:00
c890d6ef18 add robur logo 2025-02-10 19:29:17 +01:00
7b7d008f78 add dark mode to light mode toggle 2025-02-10 19:07:09 +01:00
9123e0d905 update styles on the various pages 2025-02-10 15:22:26 +01:00
f728e35944 use html for the hero text on homepage 2025-02-10 15:22:04 +01:00
9c0289335f make background black and move sha256 search to the top 2025-02-10 15:21:33 +01:00
da52d976ad redisign hero text on home page 2025-02-10 15:19:12 +01:00
6fa388631e move styles to a seprate file 2025-02-10 15:18:18 +01:00
6bc84f3e06 move css to a seperate module 2025-02-10 15:15:20 +01:00
f33bb55eb7 Update owee->cachet change in solo5-elftool 2025-02-05 15:59:40 +01:00
b5470e7866 Upgrade to solo5-elftool 0.4.0 2025-02-04 20:12:42 +01:00
be2dfa9aad Inline owee unix dependent code
Then we can publish in unikernel-repo the unix-free owee fork
2025-01-24 15:23:37 +01:00
4e74c8d25f Work around dream-encoding footgun
Dream-encoding adds a Transfer-Encoding header to a response. If that
response is an error code it will go through the error handler which may
change the response - but the new response *does not* go through the
dream-encoding middleware! This means we may rewrite the response with a
plaintext message but still have the Transfer-Encoding header! This
makes clients very unhappy.
2025-01-24 13:56:57 +01:00
58d05ba908 Add more json to endpoints, populate-local.sh
Some basic json is added to the endpoints that list jobs and builds.

With this a script populate-local.sh can be used to fetch a number of
builds from a remote instance and upload them to a local instance. This
is useful for populating an instance with real builds for testing
purposes.

Closes #11.
2025-01-16 14:49:23 +01:00
b2f153396b console_of_string: be a bit more robust
If a line somehow has an unexpected shape we log a warning and omit it.
2025-01-15 13:44:27 +01:00
3c7c21afcd Improve console_of_string 2025-01-15 13:36:31 +01:00
76ab741344 Actually return the builder exec data 2025-01-15 09:52:48 +01:00
a870894475 Add exec endpoint 2025-01-14 17:11:35 +01:00
e26af2dfdf as suggested by @reynir, use a pre 2025-01-08 17:00:00 +01:00
0a025adaae diff view: translate \n to <br> 2025-01-08 15:34:43 +01:00
8c29161144 Compute and present the opam file differences as a unified diff 2025-01-07 13:17:10 +01:00
0261f89022 uniform naming 2025-01-06 16:00:00 +01:00
161a8e713b update builder_web
Make json fileds uniform
2024-12-30 14:05:23 +00:00
c48a1bef3c Make json structure uniform
In `opamndiff` we have a similar structure but simply `version_left` and `version_right`.
https://git.robur.coop/robur/builder-web/src/branch/main/opamdiff/opamdiff.ml#L284-L286
2024-12-29 07:38:51 +00:00
44e7cd566f Refactor accept: json logic, return json errors
Now `or_error_response` will return the error message as a json object
if Accept: application/json.
2024-12-20 10:46:16 +01:00
c670df643e Tweak json field names
Also add "main_binary" boolean field in comparison for consistency with
`job_build` json.
2024-12-20 10:29:33 +01:00
2c44f88460 compare_builds json: return null if no main binary 2024-12-20 10:25:52 +01:00
23db42fed3 Rely on redirect also for Accept: json 2024-12-20 10:13:30 +01:00
63223b8c46 add more data to build endpoint 2024-12-20 08:29:16 +01:00
8fb99041ba return json for comparison of two builds when header has accept json 2024-12-20 07:01:40 +01:00
55d4091256 return uuid of latest build when header contains an accept json 2024-12-19 12:22:07 +01:00
cd1b2a0b26 output SHA256 sum without spaces 2024-09-24 13:44:40 +02:00
07831d7de3 remove usage of cstruct, require mirage-crypto 1.0.0 2024-09-02 16:14:26 +02:00
71a5b0da96 Use Lwt.reraise instead of Lwt.fail 2024-08-22 14:04:28 +02:00
c1cfe52cb0 Update to tar 3.0.0
Also embed a comment in the archive what software produced it.
2024-08-14 16:13:35 +02:00
4461a91f87 Update to caqti>=2.1.1
The tuple type constructors are renamed from tupN to tN. Also, except
for migrations, use the wider tuple types (up to 12 since caqti.2.1.0).
2024-08-13 13:16:31 +02:00
Robur
81be4229c1 model: only commit files that need to be saved 2024-01-09 16:42:13 +00:00
Robur
22f3eb3893 model, add_build: first put the files into place, then commit to the database 2024-01-09 16:37:39 +00:00
Robur
c45488dd73 hook scripts & repo scripts: provide and use --main-binary-filepath 2024-01-09 15:05:09 +00:00
Robur
3bc14ba365 Remove Model.artifacts_dir
The directory is created later and the function is otherwise unused
2024-01-09 14:16:04 +00:00
f636280f10 WIP content addressing 2024-01-09 13:32:08 +00:00
7f3a6719e2 require cmarkit 0.3
work around the issue reported at https://github.com/dbuenzli/cmarkit/issues/14
add a second table test, fix the tests for the 0.3 fixed layouting
2023-12-14 15:10:12 +01:00
46d8ba611c Merge pull request 'Fixup: latest succesful build has main binary' (#181) from fix-front into main
Reviewed-on: #181
2023-11-22 13:09:24 +00:00
57a11d4385 Fixup: latest succesful build has main binary 2023-11-22 14:07:28 +01:00
ded21b9131 Enable non-strict mode for cmarkit to render tables 2023-11-22 12:13:42 +01:00
378f5c4538 UI enhancement: all/active build modal
When showing the active builds link to all builds and vice versa.
2023-09-19 15:07:47 +02:00
bfa06c95f8 whitespace-cleanup 2023-09-19 15:07:47 +02:00