<div dir="ltr"><div dir="ltr">On Mon, Dec 16, 2024 at 5:39 AM Eirik Bjørsnøs <<a href="mailto:eirbjo@gmail.com">eirbjo@gmail.com</a>> wrote:</div><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I propose that we add a new option, tentatively named "--no-compress-ext", which would take a colon-separated list of file extensions to disable ZIP compression for:</div><div><br></div><div><font face="monospace">jar --create --file archive.jar --no-compress-ext=.jpg:.png:.gz -C dir .</font></div></div></blockquote><div><br></div><div>This sounds like a good idea to me. Thumbs up.</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I specifically do not suggest that we should define any kind of default for this option. This should be entirely up to the user.</blockquote><div><br></div><div>Agree with that, though one could argue that maybe there should be an "available default", e.g.</div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">    --standard-compress-exts    Apply a standard set of no-compression extensions.</span></div><div><span style="font-family:monospace">                                Equivalent to: </span><font face="monospace">--no-compress-ext=.jpg:.png:.gz</font></div><div><br></div><div>But that would introduce a new debate about what that list should be, and how it should evolve over time (possibly introducing variability into people's builds). So again probably best to completely avoid any "opinions" and leave all decisions up to the user.<br></div><div><br></div></div><div>-Archie</div><div><br></div></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Archie L. Cobbs<br></div></div>