1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-12 08:23:48 +02:00
woodpecker/server/forge/gitea
6543 1ca549190b
Gitea driver: ignore GetOrg error if we get a valid user. (#2967)
`[POST] /api/repos?forge_remote_id=12345`

```json
{"level":"error","error":"GetOrgByName","time":"2023-12-19T01:03:36Z","caller":"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/api/repo.go:143","message":"Could not fetch organization from forge."}
```

because `https://codeberg.org/api/v1/orgs/6543` returns an error.
`https://codeberg.org/api/v1/users/6543` do not.

close  #2714
2023-12-19 09:13:39 +01:00
..
fixtures Replace interface{} with any (#2807) 2023-11-12 18:23:48 +01:00
gitea_test.go Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
gitea.go Gitea driver: ignore GetOrg error if we get a valid user. (#2967) 2023-12-19 09:13:39 +01:00
helper_test.go Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
helper.go Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
parse_test.go Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
parse.go Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
types.go