Commit Graph

10 Commits

Author SHA1 Message Date
raul ede7c2e991
replace github.com/pkg/errors with errors 2023-08-22 12:14:24 +02:00
raul 38609d760a
Create git repos for integration tests programatically 2023-08-22 12:14:24 +02:00
raul fd01173117
Use go-git for getting the latest commit
Remove the git shell out command. Use go-git instead.
2023-08-22 12:14:19 +02:00
Mario Manno fb72780c8b Remove gosec warning for git exec 2023-04-21 11:56:27 +02:00
Mario Manno e156ce7a32 Remove pprof and fix linter warnings
Add more linters, but still not the full set from fleet/fleet.
2023-04-21 10:57:10 +02:00
Mario Manno e12d292f36 Git validation for URLs was too strict
Git URLs (see man git-url) can be in "scp-like" syntax and net/url
cannot parse that.
2023-01-25 10:45:01 +01:00
Mario Manno bf6029c98d fixup! Add validation to git params 2023-01-24 16:51:09 +01:00
Mario Manno 48108ed7c7 Add validation to git params
Co-authored-by: Paulo Gomes <paulo.gomes@suse.com>
2023-01-24 11:11:04 +01:00
Mario Manno 33b3892c46 Import git ls-remote helper from wrangler
Make all funcs private, delete unused code from wrangler.
2023-01-24 11:06:59 +01:00
Daishan ef5fe7ff24 Add webhook support 2021-04-08 13:50:37 -07:00