woodpecker/server
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
..
api Improve error handling when activating a repository (#2965) 2023-12-19 06:25:59 +01:00
badges Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
cache Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
ccmenu Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
cron Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
forge Gitea driver: ignore GetOrg error if we get a valid user. (#2967) 2023-12-19 09:13:39 +01:00
grpc Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
logging Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
model Show secrets from org and global level (#2873) 2023-12-16 10:29:13 +01:00
pipeline Fix broken gated repos (#2959) 2023-12-17 18:44:48 +02:00
plugins Show secrets from org and global level (#2873) 2023-12-16 10:29:13 +01:00
pubsub Refactor/simplify pubsub (#2554) 2023-10-13 07:34:33 +02:00
queue Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
router Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
store Add check for storage where repo/org name is empty (#2968) 2023-12-19 06:03:56 +01:00
web Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
config.go Remove separate root path config (#2943) 2023-12-13 15:51:18 +01:00