Make owners and repos case insensitive
Github treats owners (users and orgs) and repos as case insensitive. To github, https://github.com/cloudbase/garm is equivalent to https://github.com/CloudBase/GaRm. This commit makes the sql store backend, case insensitive when querying repos and orgs. Fixes: #25 Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
This commit is contained in:
parent
8ca9a82529
commit
0ff2fd2e06
9 changed files with 30 additions and 12 deletions
2
Makefile
2
Makefile
|
|
@ -16,4 +16,4 @@ build-static:
|
|||
|
||||
.PHONY: test
|
||||
test:
|
||||
go test -mod=vendor -tags testing -v $(TEST_ARGS) -timeout=15m -parallel=4 ./...
|
||||
go test -race -mod=vendor -tags testing -v $(TEST_ARGS) -timeout=15m -parallel=4 -count=1 ./...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue