David Dworken
aaaee9f632
Fix boolean not in actions config
2022-04-17 11:53:59 -07:00
David Dworken
5d9950d0a9
Fix goarch for m1 + fix boolean conditions
2022-04-17 11:51:29 -07:00
David Dworken
9b07dc719d
Rename darwin-arm64 file
2022-04-17 11:46:29 -07:00
David Dworken
4036a4594b
Add config for building/releasing binaries for other OSs
2022-04-17 11:44:57 -07:00
David Dworken
cf54d4b416
Skip failing test on macos actions
2022-04-17 11:37:23 -07:00
David Dworken
824c1853c1
Fix tests failing on Github actions
2022-04-17 11:24:55 -07:00
David Dworken
7ea6427cf7
Remove bogus slsa releaser config
2022-04-17 11:14:11 -07:00
David Dworken
8259fc4e45
For some reason macos includes N at the end of ints, fix this
2022-04-17 11:09:30 -07:00
David Dworken
787ee8dfd9
Run tests on macos
2022-04-17 10:50:37 -07:00
David Dworken
c725327c24
Seems as though there is no way of building multiple binaries, so revert the last two changes
2022-04-17 10:47:10 -07:00
David Dworken
af245b8bf9
Bump hishtory version to v0.30
2022-04-17 10:40:29 -07:00
David Dworken
519f85cd98
And what about this?
2022-04-17 10:40:06 -07:00
David Dworken
39337e0a52
Bump hishtory version to v0.29
2022-04-17 10:38:33 -07:00
David Dworken
76ebb73326
Does this work to generate SLSA binaries for two OSs
2022-04-17 10:38:12 -07:00
David Dworken
15d8e241ac
Bump hishtory version to v0.28
2022-04-17 10:30:15 -07:00
David Dworken
cf55805578
Verify the version tag in SLSA too
2022-04-17 10:29:48 -07:00
David Dworken
f22bb5b4d9
Fix TODOs in tests
2022-04-16 23:02:36 -07:00
David Dworken
31288fb361
Better tests for the update flow
2022-04-16 23:00:04 -07:00
David Dworken
945cf8cea3
Bump hishtory version to v0.27
2022-04-16 22:33:35 -07:00
David Dworken
8aa44e5e26
Add missing return
2022-04-16 21:54:34 -07:00
David Dworken
b9c28bbfbe
Bump hishtory version to v0.26
2022-04-16 21:39:55 -07:00
David Dworken
339b115542
Fix version comparison logic
2022-04-16 21:39:40 -07:00
David Dworken
a827455be7
Better commit message for releases
2022-04-16 21:30:51 -07:00
David Dworken
81acbed5bd
Bump hishtory version to 25
2022-04-16 21:30:12 -07:00
David Dworken
f7c95f95b4
Fix the ldflags attempt #2
2022-04-16 21:29:59 -07:00
David Dworken
f3f01583a1
Bump hishtory version
2022-04-16 21:15:36 -07:00
David Dworken
8a962b7993
try again for setting the ldflags in the action builder
2022-04-16 21:15:19 -07:00
David Dworken
c765a5d663
Bump hishtory version
2022-04-16 21:02:43 -07:00
David Dworken
158f08f5c6
Improved update flow
...
Using the previously added new API endpoint, the update flow can now skip updates if the latest version is already installed. This also improves the output by making it so update can print the version. Also improved the error handling.
2022-04-16 20:50:02 -07:00
David Dworken
735a98a611
Add API endpoint for getting information about the latest hishtory version and download URLs
2022-04-16 16:34:09 -07:00
David Dworken
05f1af8714
Add trigger-cron endpoint + optimize dockerfile for server
2022-04-16 16:28:53 -07:00
David Dworken
ab04756bab
Bump hishtory version
2022-04-16 16:26:45 -07:00
David Dworken
cb62bf48fa
Bump hishtory version
2022-04-16 16:02:59 -07:00
David Dworken
3d7af0cd4b
Add SLSA verification of updated binary
...
Currently the SLSA verifier is meant to be used a standalone binary. I copied a bit of code from their main (and imported the rest of their code as a library) in order to support embedding it as a library. This ensures that the updated hishtory passes SLSA L3.
2022-04-16 16:02:07 -07:00
David Dworken
d7ad96906f
Add todo + remove pending features that are already done
2022-04-16 12:39:28 -07:00
David Dworken
d7d8c0adf1
Bump hishtory version
2022-04-16 11:37:54 -07:00
David Dworken
a436edbd16
Add backend code to delete entries that have already been read + start collecitng data on usage data so we can eventually prune data from users that are no longer using hishtory
2022-04-16 11:37:43 -07:00
David Dworken
f80c39f6f0
Bump hishtory version
2022-04-16 10:47:03 -07:00
David Dworken
def83d6b0e
Add verbose flag for the status subcommand
2022-04-16 10:46:57 -07:00
David Dworken
2b676a935b
Optimize server by only sending new-ish records to the client
2022-04-16 10:30:39 -07:00
David Dworken
a65fbb7192
Bump hishtory version
2022-04-16 01:11:58 -07:00
David Dworken
62a83b76b1
Add a test for displaying a table
2022-04-16 01:09:25 -07:00
David Dworken
a9af51f5b2
Improved tests
2022-04-16 00:56:08 -07:00
David Dworken
c369661e53
More server-side logging + client-side logging
2022-04-16 00:44:47 -07:00
David Dworken
bdfb7c0a75
Delete unused file that I thought I had already deleted
2022-04-16 00:13:27 -07:00
David Dworken
df59b43e03
Add request logs to the backend
2022-04-15 23:19:39 -07:00
David Dworken
6df100ebbd
Fix variable collision in tests
2022-04-15 22:54:38 -07:00
David Dworken
b9204bf649
add a test for a complex command getting recorded
2022-04-15 18:24:58 -07:00
David Dworken
5b59141c3a
optimize test execution time by only building the client once + add Makefile target for action tests
2022-04-15 18:12:26 -07:00
David Dworken
682a063e95
making tests pass on actions by grepping out pipefail which is flakily recorded due to actions not recording line numbers
2022-04-15 18:06:48 -07:00