tests.reproducible-builds.org: build logs sent as gzip but no content-encoding, but only sometimes?

наб nabijaczleweli at nabijaczleweli.xyz
Fri Nov 17 12:12:40 UTC 2023


Hi!

On Fri, Nov 17, 2023 at 10:13:24AM +0000, Holger Levsen wrote:
> On Wed, Nov 15, 2023 at 10:42:25PM +0100, наб wrote:
> > -- >8 --
> > Subject: [PATCH] jenkins.d.n: AddEncoding gzip .gz, such that the files aren't
> >  re-compressed as gzip, which some clients can't deal with, and it's a waste
> >  of time
> Next time please do send a proper git patch, it was a tiny bit cumbersome to
> extract it from the email and add a From: header. No big deal neither, but.
If the scissors didn't give it away, this is a "proper" scissor-patch,
which uses headers from the mail (herein: From:)
and overrides under the cut line (herein: Subject:),
but you do need -c or --scissors to apply it:
  $ git am -c ../n3sm23vj4d3pv7xx453xdbd6um6tpqloei6jnvcawm4sk6ed4z at tarta.nabijaczleweli.xyz
  Applying: jenkins.d.n: AddEncoding gzip .gz, such that the files aren't re-compressed as gzip, which some clients can't deal with, and it's a waste of time
  $ git llog -1
  commit 9293db7e5a055c584f07244a37d754303e7bff96 (HEAD -> master)
  Author: наб <nabijaczleweli at nabijaczleweli.xyz>
  Date:   Wed Nov 15 22:42:26 2023 +0100
  
      jenkins.d.n: AddEncoding gzip .gz, such that the files aren't re-compressed as gzip, which some clients can't deal with, and it's a waste of time
  
      The current approach, under bookworm apache 2.4.57-2, returns:
        (no accept-encoding)    -> content-encoding: gzip       + raw gzipped file
        (accept-encoding: gzip) -> content-encoding: gzip, gzip + gzip(raw gzipped file)
  
      This is valid, but on systems with ESET, or under lynx, opening
        https://tests.reproducible-builds.org/debian/rbuild/unstable/amd64/systemd-cron_2.3.0-1.rbuild.log.gz
      would just return a garbled result: they match content-encoding
      directly, instead of tokenising it.
  
      The scary comment doesn't seem to apply to apache 2.4.57-2.
      Message-Id: <n3sm23vj4d3pv7xx453xdbd6um6tpqloei6jnvcawm4sk6ed4z at tarta.nabijaczleweli.xyz>

Best,
наб
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.reproducible-builds.org/pipermail/rb-general/attachments/20231117/b7afebc2/attachment.sig>


More information about the rb-general mailing list