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
a9799f4ca8
delay computation to when the request lands
2023-09-19 15:07:47 +02:00
848186bd1a
make the expiry of jobs configurable via cli (default 30)
2023-09-19 15:07:47 +02:00
95b4856179
skip jobs with no builds
2023-09-19 15:07:47 +02:00
8dedc8b95b
only show active jobs, fixes #162
2023-09-19 15:07:47 +02:00
207252401f
auto-format
2023-09-12 13:10:10 +02:00
1293e081c6
Adjust heading from README to at least level 2 ( fixes #164 )
2023-09-11 10:22:16 +02:00
5feb615e12
replace omd with cmarkit
2023-09-11 10:22:16 +02:00
e6af891748
roburio -> robur-coop
2023-09-09 11:42:34 +02:00
544d6883a0
Remove the /job and /job/:job/build "redirect parent" parts from the router
...
Also, when "remove slash and redirect" (in the "Middleware"), use a 301 status.
This is well recognized by browsers, and leads to a request to the respective
resource (in contrast to 308. 308 may be useful for other HTTP methods than GET,
but our entire redirect middleware only handles GET and HEAD anyways (POST are
excluded).
2023-08-27 22:02:47 +02:00
6f30d5d144
Fix build of builder-web with more recent packages:
...
Cstruct.copy is deprecated
Mirage_crypto_rng_unix.initialize requires the RNG module as paramater (since mirage-crypto-rng 0.11.0)
Lwt_result.catch takes a function (unit -> 'a Lwt.t) since lwt 5.7.0
2023-08-25 10:09:21 +02:00
61575c0f79
git.robur.io is now git.robur.coop
2023-06-03 15:34:42 +02:00
Robur
e7b3e13597
Fix compilation
2023-03-13 15:25:52 +00:00
Robur
ae1d8c553f
Show an error when parsing duniverse fails
2023-03-13 15:25:14 +00:00
a0539604dc
treat mirage (>=4.2.0) unikernels as unikernels, since they have x-mirage-opam-lock-location in the opam file
...
fixes #151
2023-03-13 11:50:05 +00:00
Robur
92fb616980
Update omd to 2.0.0~alpha3
2023-03-13 11:41:59 +00:00
02dbe1af37
adapt to omd 2.0.0 alpha3, which adds a Table constructor
2023-03-10 15:48:04 +01:00
e9f6e1d577
/failed-builds: special case no failed builds
...
🥳
2022-11-09 12:12:54 +01:00
5722fccf31
Fix local hrefs
...
The id attribute needs the id name without '#' while in the anchor href
we need to prefix with '#'.
2022-11-08 10:09:06 +01:00
2f632fc4c3
duniverse package, version -> dir, content
...
See previous recent nomenclature commit
2022-11-08 10:06:48 +01:00
891aa882ef
compare view: remove empty headings (starting with 0), restructure code
2022-11-07 20:44:43 +01:00
8caa98644f
Nomenclature: duniverse dirs vs duniverse packages
...
We have duniverse (simple) directories and no version information.
2022-11-07 16:38:20 +01:00
8862440053
Compute difference in x-opam-monorepo-duniverse-dirs and display it in compare
2022-11-07 16:38:20 +01:00
3f3de027ce
Merge pull request 'Classify a build as monitoring build if mirage-monitoring is in the dependency cone' ( #144 ) from fix-monitoring into main
...
Reviewed-on: https://git.robur.io/robur/builder-web/pulls/144
2022-11-07 11:36:09 +00:00
82ea9e2266
Also add charset=utf-8 for console and script
2022-11-04 15:05:02 +01:00
3914e718c3
Classify a build as monitoring build if mirage-monitoring is in the dependency cone
2022-11-04 14:51:58 +01:00
281e285673
add charset to various mime types
2022-11-04 14:19:16 +01:00
d1c0bcd015
Be less verbose about ASN.1 parse errors
2022-08-29 12:50:07 +02:00
7a9949fc5e
Hook scripts must end in .sh, FreeBSD packaging
...
- Only hook scripts that end in .sh are executed.
- When packaging for FreeBSD, batch-viz.sh and visualizations.sh are
installed with a .sample extension. Addresses #137
2022-08-26 18:23:23 +02:00
f4da9ad666
In Opamdiff.compare, do not figure out unchanged packages.
...
In the View.compare_builds (/compare/..), do not display
"XX opam packages unchanged".
The reasoning is that the diff view concerns:
(a) opam packages
(b) environment variables
(c) system packages
And we're only interested in what changed in each category. The list of
unchanged opam packages is not really of interest, but adds quite some noise to
the page.
2022-08-05 11:16:21 +02:00
e253848a15
Rely on the default error page triggering for 404s
...
It is not immediately obvious how to avoid the error handler making a
different 404 response when the application code returns an explicit 404
page. Since we were already replying "Resource not found" in all cases
except one where we reply "File not found" not much is lost by relying
on the error handler behavior.
2022-07-15 11:16:01 +02:00
234c7a0cb2
Refactor not found logic
2022-07-15 11:13:11 +02:00
9416e0552d
error_handler: only show not found for `Not_Found
...
For all other error status codes we just pass on the suggested response.
2022-07-15 10:51:57 +02:00
rand00
f3d8eea546
Fixed unused param + simplification
2022-07-15 10:51:57 +02:00
rand00
ffc062727a
Views: Cleanup
2022-07-15 10:51:57 +02:00