forgejo/services/migrations
zeripath ffc08c1914
Do not read or write git reference files directly (#18079)
Git will and can pack references into packfiles and therefore if you write/read the
files directly you will get false results. Instead you should use update-ref and
show-ref. To that end I have created three new functions in git/repo_commit.go that
will do this correctly.

Related #17191

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-12-23 21:44:00 +08:00
..
codebase.go Add migrate from Codebase (#16768) 2021-12-02 23:24:02 +01:00
codebase_test.go Add migrate from Codebase (#16768) 2021-12-02 23:24:02 +01:00
dump.go Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
error.go
git.go
gitbucket.go
gitea_downloader.go Use hostmatcher to replace matchlist, improve security (#17605) 2021-11-20 17:34:05 +08:00
gitea_downloader_test.go
gitea_uploader.go Do not read or write git reference files directly (#18079) 2021-12-23 21:44:00 +08:00
gitea_uploader_test.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
github.go Use hostmatcher to replace matchlist, improve security (#17605) 2021-11-20 17:34:05 +08:00
github_test.go
gitlab.go Use hostmatcher to replace matchlist, improve security (#17605) 2021-11-20 17:34:05 +08:00
gitlab_test.go
gogs.go Use hostmatcher to replace matchlist, improve security (#17605) 2021-11-20 17:34:05 +08:00
gogs_test.go
http_client.go Use hostmatcher to replace matchlist, improve security (#17605) 2021-11-20 17:34:05 +08:00
main_test.go Add migrate from Codebase (#16768) 2021-12-02 23:24:02 +01:00
migrate.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
migrate_test.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
onedev.go Use new OneDev /milestones endpoint (#17782) 2021-11-23 20:28:06 +01:00
onedev_test.go
restore.go Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
update.go Move more model into models/user (#17826) 2021-11-28 22:11:58 +08:00