woodpecker/server/forge
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
..
bitbucket Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
common Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
gitea Gitea driver: ignore GetOrg error if we get a valid user. (#2967) 2023-12-19 09:13:39 +01:00
github Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
gitlab Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
mocks Fix skipped pipelines model (#2923) 2023-12-12 22:30:52 +02:00
types Add some tests (#2652) 2023-10-28 13:37:54 +02:00
configFetcher.go Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
configFetcher_test.go Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
forge.go Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
refresh.go Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00