forgejo/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.go
attachment_test.go
avatar.go
collaboration.go Move more functions to db.Find (#28419) 2024-01-15 02:19:25 +00:00
collaboration_test.go Move more functions to db.Find (#28419) 2024-01-15 02:19:25 +00:00
fork.go Move more functions to db.Find (#28419) 2024-01-15 02:19:25 +00:00
fork_test.go
git.go
issue.go
language_stats.go
main_test.go
mirror.go
pushmirror.go Refactor deletion (#28610) 2023-12-25 21:25:29 +01:00
pushmirror_test.go Refactor deletion (#28610) 2023-12-25 21:25:29 +01:00
redirect.go
redirect_test.go
release.go Add support for sha256 repositories (#23894) 2024-01-19 17:05:02 +01:00
release_test.go
repo.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.go
repo_list_test.go
repo_test.go
repo_unit.go Fix schedule tasks bugs (#28691) 2024-01-12 21:50:38 +00:00
repo_unit_test.go
search.go
star.go
star_test.go
topic.go
topic_test.go
update.go
upload.go Refactor deletion (#28610) 2023-12-25 21:25:29 +01:00
user_repo.go
user_repo_test.go
watch.go Refactor deletion (#28610) 2023-12-25 21:25:29 +01:00
watch_test.go
wiki.go
wiki_test.go