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/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>
1 year ago
..
base Rename `Sync2` -> `Sync` (#26479) 1 year ago
fixtures Add support for sha256 repositories (#23894) 1 year ago
v1_6 Rename `Sync2` -> `Sync` (#26479) 1 year ago
v1_7 Rename `Sync2` -> `Sync` (#26479) 1 year ago
v1_8 Rename `Sync2` -> `Sync` (#26479) 1 year ago
v1_9 Rename `Sync2` -> `Sync` (#26479) 1 year ago
v1_10 Rename `Sync2` -> `Sync` (#26479) 1 year ago
v1_11 Rename `Sync2` -> `Sync` (#26479) 1 year ago
v1_12 Rename `Sync2` -> `Sync` (#26479) 1 year ago
v1_13 Rename `Sync2` -> `Sync` (#26479) 1 year ago
v1_14 Rename `Sync2` -> `Sync` (#26479) 1 year ago
v1_15 Rename `Sync2` -> `Sync` (#26479) 1 year ago
v1_16 Replace deprecated `elliptic.Marshal` (#26800) 1 year ago
v1_17 Rename `Sync2` -> `Sync` (#26479) 1 year ago
v1_18 Refactor system setting (#27000) 1 year ago
v1_19 Rename `Sync2` -> `Sync` (#26479) 1 year ago
v1_20 Rename `Sync2` -> `Sync` (#26479) 1 year ago
v1_21 handle repository.size column being NULL in migration v263 (#28336) 1 year ago
v1_22 Add support for sha256 repositories (#23894) 1 year ago
migrations.go Add support for sha256 repositories (#23894) 1 year ago