1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 00:54:28 +00:00
gitea/routers/api/packages/container
Lunny Xiao 29f149bd9f
Move context from modules to services (#29440)
Since `modules/context` has to depend on `models` and many other
packages, it should be moved from `modules/context` to
`services/context` according to design principles. There is no logic
code change on this PR, only move packages.

- Move `code.gitea.io/gitea/modules/context` to
`code.gitea.io/gitea/services/context`
- Move `code.gitea.io/gitea/modules/contexttest` to
`code.gitea.io/gitea/services/contexttest` because of depending on
context
- Move `code.gitea.io/gitea/modules/upload` to
`code.gitea.io/gitea/services/context/upload` because of depending on
context
2024-02-27 08:12:22 +01:00
..
auth.go Remove Named interface (#26913) 2023-09-05 15:58:30 +00:00
blob.go Remove db.DefaultContext in routers/ and cmd/ (#26076) 2023-07-23 23:47:27 -04:00
container.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
errors.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
manifest.go Move notification interface to services layer (#26915) 2023-09-05 18:37:47 +00:00