0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-03 21:00:03 +01:00
gitea/models/repo
Adam Majer d68a613ba8
Add support for sha256 repositories (#23894)
Currently only SHA1 repositories are supported by Gitea. This adds
support for alternate SHA256 with the additional aim of easier support
for additional hash types in the future.

Fixes: #13794
Limited by: https://github.com/go-git/go-git/issues/899
Depend on: #28138

<img width="776" alt="图片" src="https://github.com/go-gitea/gitea/assets/81045/5448c9a7-608e-4341-a149-5dd0069c9447">

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
2024-01-19 17:05:02 +01:00
..
archiver.go Add support for sha256 repositories (#23894) 2024-01-19 17:05:02 +01:00
attachment_test.go
attachment.go
avatar.go
collaboration_test.go Move more functions to db.Find (#28419) 2024-01-15 02:19:25 +00:00
collaboration.go Move more functions to db.Find (#28419) 2024-01-15 02:19:25 +00:00
fork_test.go
fork.go Move more functions to db.Find (#28419) 2024-01-15 02:19:25 +00:00
git.go
issue.go
language_stats.go
main_test.go
mirror.go
pushmirror_test.go Refactor deletion (#28610) 2023-12-25 21:25:29 +01:00
pushmirror.go Refactor deletion (#28610) 2023-12-25 21:25:29 +01:00
redirect_test.go
redirect.go
release_test.go
release.go Add support for sha256 repositories (#23894) 2024-01-19 17:05:02 +01:00
repo_indexer.go Add support for sha256 repositories (#23894) 2024-01-19 17:05:02 +01:00
repo_list_test.go
repo_list.go
repo_test.go
repo_unit_test.go
repo_unit.go Fix schedule tasks bugs (#28691) 2024-01-12 21:50:38 +00:00
repo.go Add support for sha256 repositories (#23894) 2024-01-19 17:05:02 +01:00
search.go
star_test.go
star.go
topic_test.go
topic.go
update.go
upload.go Refactor deletion (#28610) 2023-12-25 21:25:29 +01:00
user_repo_test.go
user_repo.go
watch_test.go
watch.go Refactor deletion (#28610) 2023-12-25 21:25:29 +01:00
wiki_test.go
wiki.go