You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/services/repository
Lunny Xiao b79c30435f
Use the database object format name but not read from git repoisitory everytime and fix possible migration wrong objectformat when migrating a sha256 repository (#29294)
Now we can get object format name from git command line or from the
database repository table. Assume the column is right, we don't need to
read from git command line every time.

This also fixed a possible bug that the object format is wrong when
migrating a sha256 repository from external.

<img width="658" alt="image"
src="https://github.com/go-gitea/gitea/assets/81045/6e9a9dcf-13bf-4267-928b-6bf2c2560423">
12 months ago
..
archiver Simplify how git repositories are opened (#28937) 1 year ago
files Use the database object format name but not read from git repoisitory everytime and fix possible migration wrong objectformat when migrating a sha256 repository (#29294) 12 months ago
adopt.go Start to migrate from `util.OptionalBool` to `optional.Option[bool]` (#29329) 12 months ago
adopt_test.go Use more specific test methods (#24265) 2 years ago
avatar.go Improve avatar uploading / resizing / compressing, remove Fomantic card module (#24653) 2 years ago
avatar_test.go Use context parameter in services/repository (#23186) 2 years ago
branch.go Use the database object format name but not read from git repoisitory everytime and fix possible migration wrong objectformat when migrating a sha256 repository (#29294) 12 months ago
cache.go Always enable caches (#28527) 1 year ago
check.go Update tool dependencies (#29030) 1 year ago
collaboration.go Fix `DeleteCollaboration` transaction behaviour (#28886) 1 year ago
collaboration_test.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
commit.go Show branches and tags that contain a commit (#25180) 2 years ago
contributors_graph.go Implement code frequency graph (#29191) 12 months ago
contributors_graph_test.go Implement contributors graph (#27882) 12 months ago
create.go Simplify how git repositories are opened (#28937) 1 year ago
create_test.go bump to use go 1.22 (#29119) 12 months ago
delete.go Use db.Find instead of writing methods for every object (#28084) 1 year ago
delete_test.go Delete repos of org when purge delete user (#27273) 1 year ago
fork.go Simplify how git repositories are opened (#28937) 1 year ago
fork_test.go Add option to prohibit fork if user reached maximum limit of repositories (#21848) 2 years ago
hooks.go Simplify how git repositories are opened (#28937) 1 year ago
lfs.go Use the database object format name but not read from git repoisitory everytime and fix possible migration wrong objectformat when migrating a sha256 repository (#29294) 12 months ago
lfs_test.go Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) 1 year ago
main_test.go make writing main test easier (#27270) 1 year ago
push.go Use the database object format name but not read from git repoisitory everytime and fix possible migration wrong objectformat when migrating a sha256 repository (#29294) 12 months ago
repository.go Remove unnecessary parameter (#27671) 1 year ago
repository_test.go refactor some functions to support ctx as first parameter (#21878) 2 years ago
review.go Use context parameter in services/repository (#23186) 2 years ago
review_test.go Use context parameter in services/repository (#23186) 2 years ago
setting.go Fix an actions schedule bug (#28942) 1 year ago
template.go Move notification interface to services layer (#26915) 1 year ago
transfer.go Move some repository transfer functions to service layer (#28855) 1 year ago
transfer_test.go Move some repository transfer functions to service layer (#28855) 1 year ago