package-indexer: add .gz, .xz and .bz2 compression for Packages#4313
Conversation
Signed-off-by: Attila Szakacs <szakacs.attila96@gmail.com>
|
No news file has been detected. Please write one, if applicable. |
bazsi
left a comment
There was a problem hiding this comment.
I am not sure how large those Packages files can become, but this will read everything into
a memory based buffer and then compress it in memory before writing it out.
As long as those files are tiny, I am ok, but this will eventually bite us. :)
With all that said, this is nice and simple and will probably work for years to come, so I am ok with this as implemented.
|
The nightly is now green, please run nightly if you merge this to check if this break anything as it gets to master. |
I think we can get rid of the simple Storing the |
|
Oh, I have completely missed your point about storing it in memory while compressing it, sorry. |
|
agreed |
…yslog-ng#4302, syslog-ng#4305, syslog-ng#4313 Signed-off-by: Attila Szakacs <szakacs.attila96@gmail.com>
…yslog-ng#4302, syslog-ng#4305, syslog-ng#4313 Signed-off-by: Attila Szakacs <szakacs.attila96@gmail.com>
Tested locally:
Note: The 404 comes from the repo not being signed and the
InReleaseandRelease.gpgfiles are missing, which is due to the local testing.Fixes #4309
Signed-off-by: Attila Szakacs szakacs.attila96@gmail.com