sonatype-nexus-community / nexus-repository-apt

A Nexus Repository 3 plugin that allows usage of apt repositories
Eclipse Public License 1.0
105 stars 50 forks source link

Fix processing of files with an XZ compressed control file #62

Closed mpoindexter closed 6 years ago

mpoindexter commented 6 years ago

Fixes a bug uploading deb packages when the control file is compressed using XZ.

This pull request makes the following changes:

brianpatrickreavey commented 6 years ago

I do not believe this fixed #43. I get the same error on OSS 3.13.0-01, and the most recent apt repository plugin.

Any attempts to upload a .deb to an apt repo with the S3-blob backend fails with an error:

java.io.IOException: failed to read entry trailer. Occured at byte: <size of file>

Using the default blob store works fine. This occurs via the UI, or curl.