forgejo/models/migrations
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
..
base
fixtures Add support for sha256 repositories (#23894) 2024-01-19 17:05:02 +01:00
v1_6
v1_7
v1_8
v1_9
v1_10
v1_11
v1_12
v1_13
v1_14
v1_15
v1_16 Replace deprecated elliptic.Marshal (#26800) 2023-08-29 22:19:40 +02:00
v1_17
v1_18 Refactor system setting (#27000) 2023-10-05 09:08:19 +08:00
v1_19
v1_20
v1_21 handle repository.size column being NULL in migration v263 (#28336) 2023-12-05 14:31:13 +00:00
v1_22 Add support for sha256 repositories (#23894) 2024-01-19 17:05:02 +01:00
migrations.go Add support for sha256 repositories (#23894) 2024-01-19 17:05:02 +01:00