Commit Graph

13 Commits

Author SHA1 Message Date
Mario Manno e057c28e31 Switch to go.uber.org/mock
The golang/mock is archived.
2023-12-21 16:08:04 +01:00
Raul Cabello Martin 03f3ce12d5
Migrate to controller runtime (#368)
Co-authored-by: Alejandro Ruiz <4057165+aruiz14@users.noreply.github.com>
Co-authored-by: Corentin Néau <tan.neau@suse.com>
2023-12-12 12:12:32 +01:00
Tim Hardeck 4e8bcd8936
Fork git-urls to fix DOS issue
https://github.com/whilp/git-urls seems abandoned so copying the content
and fixing the DOS issue.

Thanks to https://github.com/chainguard-dev/git-urls for the fix.
2023-12-06 08:02:20 +01:00
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