Граф коммитов

7 Коммитов

Автор SHA1 Сообщение Дата
Miguel Ángel Pastor Olivar 842cb88a3e
Update go-pipe to v1.0.2.
This new versions fixes the compilation problems found in Windows
2022-11-29 13:47:25 +01:00
Miguel Ángel Pastor Olivar 35f14cc271
Use the main branch in go-pipe
If everything works as expected we will tag 1.0.2 in go-pipe
2022-11-29 13:40:06 +01:00
Miguel Ángel Pastor Olivar 9849429fec
Add the go-pipe dependency v1.0.1 2022-11-29 09:53:21 +01:00
Michael Haggerty 1458ae5f8b internal/pipe: new package for handling command pipelines 2021-11-07 11:52:04 +01:00
Michael Haggerty deef63c1cf Use a safer method to locate the `git` executable
`exec.LookPath()` from the Go standard library, which is used by
`exec.Cmd`, implicitly searches for executables in the current
directory before searching `PATH`. This could be awkward if the Git
repository being analyzed contains a file like `git.exe` that could be
run instead of the standard system `git` binary. So introduce a way to
look for the "correct" `git` binary, record it in the `Repository`
instance, and use that binary whenever we need to run `git`.

Don't bother to make the same change in the test code, since tests are
not run inside of a potentially hostile repository.
2021-04-21 09:38:32 +02:00
Michael Haggerty 8be3f55d42 Update dependencies 2019-12-04 15:14:31 +01:00
Michael Haggerty 5c102720e1 Upgrade to Go 1.13.4 and set up for use with Go modules 2019-12-04 14:33:37 +01:00