]> source.dussan.org Git - gitea.git/commit
Fix debian InRelease Acquire-By-Hash newline (#29204)
authorRobin Schoonover <robin@cornhooves.org>
Sat, 17 Feb 2024 05:40:13 +0000 (22:40 -0700)
committerGitHub <noreply@github.com>
Sat, 17 Feb 2024 05:40:13 +0000 (05:40 +0000)
commit33400a02d4eb35a0656fd6d20fc56801de09b959
treef515d16e7d64abfa75b29f98229b4bf5e103ca8e
parent68227996a7a84a240b36c304d04c5c8d82948df8
Fix debian InRelease Acquire-By-Hash newline (#29204)

There is a missing newline when generating the debian apt repo InRelease
file, which results in output like:

```
[...]
Date: Wed, 14 Feb 2024 05:03:01 UTC
Acquire-By-Hash: yesMD5Sum:
 51a518dbddcd569ac3e0cebf330c800a 3018 main-dev/binary-amd64/Packages
[...]
```

It appears this would probably result in apt ignoring the
Acquire-By-Hash setting and not using the by-hash functionality,
although I'm not sure how to confirm it.
services/packages/debian/repository.go