Tim Hockin
913a6be647
Bump go and golangci-lint versions, fix lint
2025-03-24 13:43:12 -07:00
Tim Hockin
08296a48b0
Make relative-path submodules work, via origin
...
The "origin" remote is implicitly used as the basis for relative-paths
in submodules. It's very subtly documented, and I have no idea if there
are other places where it is used. It seems git really expects it to
exist, so let's just do that.
2023-07-10 10:46:34 -07:00
Tim Hockin
9318041657
Better logging around hooks
...
This also returns stderr distinct from stdout.
2023-05-24 10:52:21 -07:00
Tim Hockin
64ed3bb5a7
Capture and simplify a git.Run() method
2023-05-04 17:42:08 -07:00
Tim Hockin
026c6814c8
Add execution time to pkg/cmd runs
2023-04-06 17:45:54 -07:00
Tommy Hyeonwoo Kim
664fb74867
fix typo
2023-02-21 19:47:26 +09:00
Tim Hockin
f5057b7fa8
Log commands we run with original caller
2023-02-10 21:18:28 -08:00
Tim Hockin
3ca8099d2d
Use logger.WithName() for web/exechook
...
This makes logs easier to comprehend, since hooks are async.
2022-03-17 12:10:39 -07:00
Tim Hockin
76854fc806
Set $GITSYNC_HASH in exechook
2022-02-06 16:49:34 -08:00
Tim Hockin
0075df238c
Make exechooks work like webhooks.
...
This deprecates the `--sync-hook-command` flag in favor of
`--exechook-command`, `--exechook-timeout`, and `--exechook-backoff`.
2021-08-16 23:21:20 -07:00