map: tickets 06+07 resolved; 05 partial (live spawn pending gitea token)

This commit is contained in:
Raphael Westphal
2026-08-18 15:33:02 +02:00
parent 1a267bf489
commit f8bfaeaa21
18 changed files with 2623 additions and 1858 deletions
+3 -3
View File
@@ -41,9 +41,9 @@ type GitLabRepo struct {
// giteaRepo is the subset of the upstream Gitea /api/v1/user/repos item we
// map from.
type giteaRepo struct {
FullName string `json:"full_name"`
Name string `json:"name"`
Owner struct {
FullName string `json:"full_name"`
Name string `json:"name"`
Owner struct {
Login string `json:"login"`
} `json:"owner"`
UpdatedAt string `json:"updated_at"`
+1 -1
View File
@@ -102,7 +102,7 @@ func TestGitLabStatusStoreFailure(t *testing.T) {
func TestGitLabConnectStoreFailures(t *testing.T) {
up := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
_, _ = w.Write([]byte(`{"login":"alice"}`))
_, _ = w.Write([]byte(`{"login":"alice"}`))
}))
t.Cleanup(up.Close)
dead := openTestStore(t)