62965d4f90
FreeBSD rc script: restart the service on termination
2023-05-27 20:06:44 +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
64045f7dec
The opamdiff for a duniverse attempts to parse the x-opam-monorepo-duniverse-dirs
...
Previously, an entry pinned to a commit, such as openvpn:
[
"git+https://github.com/roburio/openvpn.git#5041b2837fe299138fae95649cb812a3930be163 "
"openvpn"
]
couldn't be decoded (since the form was assumed to be List [ URL ; DIR ; HASHES ]
Now, the parser is extended to cope with List [ URL ; DIR ] as well.
Seen on https://builds.robur.coop/compare/dde0380c-11f8-4e4f-8e91-d4ffcf5f4e08/35d0bddc-e118-44c5-bbba-f5e53cccca2d
2023-03-13 14:46:35 +00:00
ab45412a7c
Merge pull request 'Visualization script enhancements' ( #136 ) from viz-script-fixes into main
...
Reviewed-on: https://git.robur.io/robur/builder-web/pulls/136
2023-03-13 14:44:26 +00:00
Robur
4cc81f9950
visualizations.sh: use curly braces for variables
2023-03-13 14:43:54 +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
40b31ed691
Merge pull request 'adapt to omd 2.0.0 alpha3, which adds a Table constructor' ( #160 ) from omd-2-alpha3 into main
...
Reviewed-on: https://git.robur.io/robur/builder-web/pulls/160
2023-03-13 11:42:35 +00:00
Robur
92fb616980
Update omd to 2.0.0~alpha3
2023-03-13 11:41:59 +00:00
Robur
ae2a920a42
Merge branch '20220802_test_hardcoded_links_in_albatross_and_builder'
2023-03-13 11:32:45 +00:00
Robur
56b0b7c990
Router test: consider only parameters in route
...
Also update albatross tests
2023-03-13 11:31:21 +00:00
02dbe1af37
adapt to omd 2.0.0 alpha3, which adds a Table constructor
2023-03-10 15:48:04 +01:00
3bb8925bd3
Merge pull request '/failed-builds: special case no failed builds' ( #148 ) from fix-142 into main
...
Reviewed-on: https://git.robur.io/robur/builder-web/pulls/148
2022-11-14 13:21:11 +00:00
e9f6e1d577
/failed-builds: special case no failed builds
...
🥳
2022-11-09 12:12:54 +01:00
a355b6124d
Merge pull request 'compare view: remove empty headings (starting with 0), restructure code' ( #147 ) from compare-no-empty into main
...
Reviewed-on: https://git.robur.io/robur/builder-web/pulls/147
2022-11-08 09:15:40 +00: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
51644d8cd9
Merge pull request 'Compute difference in x-opam-monorepo-duniverse-dirs and display it in compare' ( #146 ) from opamdiff-mirage4 into main
...
Reviewed-on: https://git.robur.io/robur/builder-web/pulls/146
2022-11-07 15:42:40 +00: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
687b6bf680
Merge pull request 'Also add charset=utf-8 for console and script' ( #145 ) from add-charset into main
...
Reviewed-on: https://git.robur.io/robur/builder-web/pulls/145
2022-11-04 14:08:14 +00:00
82ea9e2266
Also add charset=utf-8 for console and script
2022-11-04 15:05:02 +01:00
cdc2eeebba
Merge pull request 'add charset to various mime types' ( #143 ) from add-charset into main
...
Reviewed-on: https://git.robur.io/robur/builder-web/pulls/143
2022-11-04 13:56:05 +00: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
041f1d2640
Merge pull request 'FreeBSD-repo.sh: do not exit if grep fails' ( #139 ) from fix-freebsd-repo into main
...
Reviewed-on: https://git.robur.io/robur/builder-web/pulls/139
2022-08-29 11:46:19 +00:00
a68025ecf0
FreeBSD-repo.sh: do not exit if grep fails
2022-08-29 13:33:32 +02: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
1924781bb6
batch-viz: Get UUIDs with distinct inputs
...
This should result in less complaints about visualizations already
existing.
2022-08-26 13:18:30 +02:00
aa1af6c2bd
visualizations.sh: use cp;rm instead of mv in /tmp
...
mktemp creates a file with mode 0600 and group wheel (inherited from
/tmp/). The command mv is then not able to set group ownership to wheel
in /var/db/builder-web/ on FreeBSD and emits a warning. Furthermore, the
restrictive permissions are preserved. Copying and then removing the
temporary file avoids these issues.
2022-08-26 12:01:09 +02:00
ac8c31f2ac
packaging: Add visualization dependencies ( #135 )
...
We now package opam-graph and modulectomy separately.
Reviewed-on: https://git.robur.io/robur/builder-web/pulls/135
Co-authored-by: Reynir Björnsson <reynir@reynir.dk>
Co-committed-by: Reynir Björnsson <reynir@reynir.dk>
2022-08-25 10:30:50 +00:00
45f9a5a396
Merge pull request 'In Opamdiff.compare, do not figure out unchanged packages.' ( #134 ) from opamdiff-not-same into main
...
Reviewed-on: https://git.robur.io/robur/builder-web/pulls/134
2022-08-22 14:32:21 +00: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
rand00
60db240866
test/Router: Added tests for hardcoded links present in Albatross
2022-08-02 18:52:33 +02:00
637afde869
Merge pull request 'on the front page, order the builds by platform name' ( #130 ) from order-platform into main
...
Reviewed-on: https://git.robur.io/robur/builder-web/pulls/130
2022-07-28 08:48:43 +00:00
e6ac6834e7
on the front page, order the builds by platform name
2022-07-27 09:45:01 +02:00
f666c9d0d1
Improve builder-web setup error messages
...
Give hints what to do in case the database file does not exist, or when
the database is not of the expected version.
Addresses #82
2022-07-15 12:52:21 +02:00
1310c35256
Merge pull request 'Bringing back nice error pages' ( #126 ) from 20220626_bringing_back_nice_error_pages into main
...
Reviewed-on: https://git.robur.io/robur/builder-web/pulls/126
2022-07-15 09:28:21 +00: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
rand00
3e23b4a5bf
Implemented general error-handler + Added special error-page for iframes/vizs
2022-07-15 10:51:57 +02:00
af0bb71ee0
Merge pull request 'map_err and bind_lwt_err will be deprecated with lwt.5.6.0' ( #124 ) from upgrade-to-lwt-5.6.0 into main
...
Reviewed-on: https://git.robur.io/robur/builder-web/pulls/124
2022-07-12 11:24:48 +00:00
76f96b47b2
map_err and bind_lwt_err will be deprecated with lwt.5.6.0
2022-07-12 13:23:23 +02:00
35fa4cd0f1
Merge pull request 'Tests for router and safe links' ( #122 ) from 20220621_tests_for_router into main
...
Reviewed-on: https://git.robur.io/robur/builder-web/pulls/122
2022-07-12 11:20:01 +00:00