mirror of
https://github.com/hanzoai/forge.git
synced 2026-10-30 15:00:39 +00:00
Every identifier this project owns is renamed Gitea -> Git: GiteaContext,
GiteaLogger, GiteaBackend, GiteaSiteURL, GiteaUpdateChecker, GiteaLocalUploader,
onGiteaRun (168 call sites), the gitea_context / gitea_ctx / gitea_html /
gitealog / giteautil import aliases, the template and lock and test-root
helpers. Files follow: gitea_uploader.go -> git_uploader.go, the devtest
template and its route, tests/gitea-{repositories,lfs}-meta.
Two collisions had to be named rather than mapped:
PullRequestGitea -> PullRequestNative. PullRequestGit already exists and
means the AGit push flow; this constant is the PR created in the forge. It is
an iota, so the stored value is unchanged.
GiteaHooks{New,Edit}Post -> NativeHooks{New,Edit}Post. GitHooks{Edit}Post
already exists and means the pre-receive hook editor; these are the webhook
provider handlers, which is a different thing on a nearby route.
Deliberately NOT renamed, because renaming would make them lie:
GiteaDownloader / NewGiteaDownloader / GiteaDownloaderFactory / gitea_sdk /
convertGiteaLabel / gitea_downloader.go — these migrate repositories FROM an
external Gitea instance and sit beside GitlabDownloader and GogsDownloader.
The name is the service, not our branding.
RenameGiteaThemesToHanzo — a migration whose entire job is legacy gitea theme
values.
tests/integration/migration-test/gitea-v1.6.*.sql.gz — real dumps of real
Gitea releases, used to test upgrading from them.
Build, vet, the integration compile gate, and models/modules/services/routers
all green.
Co-authored-by: Hanzo Dev <[email protected]>
2 lines
21 B
Plaintext
2 lines
21 B
Plaintext
ref: refs/heads/main
|