mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-04-18 21:22:49 +00:00
- When looking for an existing blob, has_blake2b will be null when it was created prior to v26 migration in v11, when the field was introduced. - Add unit test and minimal refactoring to load fixtures. The AddFixture function should not be where it currently is because it cannot be used by some packages (circular import). But that's a refactor that needs to be elsewhere for backporting purposes. Fixes https://codeberg.org/forgejo/forgejo/issues/7519 Co-authored-by: Earl Warren <contact@earl-warren.org> Co-committed-by: Earl Warren <contact@earl-warren.org>
17 lines
328 B
YAML
17 lines
328 B
YAML
-
|
|
id: 1
|
|
size: 10
|
|
hash_md5: HASHMD5_1
|
|
hash_sha1: HASHSHA1_1
|
|
hash_sha256: HASHSHA256_1
|
|
hash_sha512: HASHSHA512_1
|
|
hash_blake2b: HASHBLAKE2B_1
|
|
created_unix: 946687980
|
|
-
|
|
id: 2
|
|
size: 20
|
|
hash_md5: HASHMD5_2
|
|
hash_sha1: HASHSHA1_2
|
|
hash_sha256: HASHSHA256_2
|
|
hash_sha512: HASHSHA512_2
|
|
created_unix: 946687980
|