[Pkg-javascript-devel] Bug#979996: libjs-jquery: please use the default extension for precompressed brotli files

Jonas Smedegaard jonas at jones.dk
Tue Jan 12 20:50:19 GMT 2021


Quoting Guilhem Moulin (2021-01-12 21:30:43)
> On Tue, 12 Jan 2021 at 20:19:18 +0100, Jonas Smedegaard wrote:
> > I think you (and nginx?) are mistaken:
> 
> FWIW ngx_brotli is a third-party nginx module developed by the folks 
> (Google) behind the brotli(1) utility and the brotli data format 
> [RFC7932].

Heh - developed by Google I am not surprised they have their own agenda.


> > The officially registered meaning for file suffix .br is the 
> > language breton.
> 
> Do you have a link for this?

Sorry, I found some evidence but don't recall if it was substantion and 
failed at locating it again now :-)


> br is the ISO 639-1 code for the breton language but I guess that's 
> not what you mean (application/ecmascript, text/x-perl or video/gl 
> don't conflict with the language codes for Spanish, Polish or Galician 
> right)?  After quick search I was unable to find an official 
> registration for the .br file suffix.

As I recall, the "officiality" of it is tied to that ISO 639-1 and some 
W3C definitions (but might just be recommendations, and might just be 
Apache2 practise).


> It appears there was some debate upstream about the default extension 
> (.br / .bro / .brotli) [0,1] but they now settled on .br and I think 
> it's unfortunate to choose something else, especially given this not 
> configurable everywhere.

I remember seeing such debate - but apparently another than the 
toothless "debate" at [0] which does not mention ISO 639-1 at all.


> > Until that clash with language code is resolved (if ever) I think it 
> > is wrong to change back, and I therefore flag this as wontfix.
> 
> Please at least document the extension change in the NEWS files, as 
> the change might require a manual configuration update on the HTTPd.

Ah, I thought it was introduced recently, even with the old suffix, but 
I see now that it was in buster.  Yes, makes sense to add a NEWS entry 
for that.  Thanks!


 - Jonas


> [0] https://github.com/google/brotli/issues/299 
> [1] https://news.ycombinator.com/item?id=11336756

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20210112/8cf4e475/attachment.sig>


More information about the Pkg-javascript-devel mailing list