From 3d0303a57c08bf8c56bb55885f6705680097bd27 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Tue, 7 Dec 2021 17:47:45 +0100 Subject: util/docker/coreboot.org-status: Rewrite parser The current tool is a shell script that mixes data collection and HTML generation and is generally a pain to work with. It takes 15 minutes to run. The new tool is written in go, collects all data first, then generates the output HTML from the data and a single template, and finishes in 10 seconds. The goal in this version is to produce output as similar as possible to the output of the shell script. Some difference will remain because the shell script returns some trash data whose reproduction would require more effort than is worth. Change-Id: I4fab86d24088e4f9eff434c21ce9caa077f3f9e2 Signed-off-by: Patrick Georgi Reviewed-on: https://review.coreboot.org/c/coreboot/+/59958 Tested-by: build bot (Jenkins) Reviewed-by: Maxim Polyakov --- .../coreboot.org-status/board-status.html/go.mod | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 util/docker/coreboot.org-status/board-status.html/go.mod (limited to 'util/docker/coreboot.org-status/board-status.html/go.mod') diff --git a/util/docker/coreboot.org-status/board-status.html/go.mod b/util/docker/coreboot.org-status/board-status.html/go.mod new file mode 100644 index 0000000000..7fcf434cd6 --- /dev/null +++ b/util/docker/coreboot.org-status/board-status.html/go.mod @@ -0,0 +1,23 @@ +module review.coreboot.org/coreboot.git/util/docker/coreboot.org-status/board-status.html + +go 1.17 + +require ( + github.com/Microsoft/go-winio v0.4.16 // indirect + github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7 // indirect + github.com/acomagu/bufpipe v1.0.3 // indirect + github.com/emirpasic/gods v1.12.0 // indirect + github.com/go-git/gcfg v1.5.0 // indirect + github.com/go-git/go-billy/v5 v5.3.1 // indirect + github.com/go-git/go-git/v5 v5.4.2 // indirect + github.com/imdario/mergo v0.3.12 // indirect + github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect + github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351 // indirect + github.com/mitchellh/go-homedir v1.1.0 // indirect + github.com/sergi/go-diff v1.1.0 // indirect + github.com/xanzy/ssh-agent v0.3.0 // indirect + golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b // indirect + golang.org/x/net v0.0.0-20210326060303-6b1517762897 // indirect + golang.org/x/sys v0.0.0-20210502180810-71e4cd670f79 // indirect + gopkg.in/warnings.v0 v0.1.2 // indirect +) -- cgit v1.2.3