Opened 12 years ago
Closed 10 years ago
#569 closed task (wontfix)
please do not commit .jar files to git (closure-compiler)
Reported by: | Thomas Koch | Owned by: | |
---|---|---|---|
Priority: | trivial | Milestone: | |
Component: | programming | Keywords: | |
Cc: | ben@… | Parent Tickets: |
Description
Hi,
I found the closure-compiler jar in extlib/leaflet/lib/closure-compiler/compiler.jar. Is closure a hard dependency or could mediagoblin be built without it? closure is not packaged for Debian so it would make it even harder to get mediagoblin in Debian.
How do you plan to create a source only tarball if you commit .jar files to git? I'd propose to rely on closure-compiler being available and probably provide a two liner shell script to download and sha1sum the .jar file.
Regards, Thomas Koch
Change History (2)
comment:1 by , 12 years ago
Component: | infrastructure → programming |
---|
comment:2 by , 10 years ago
Cc: | added |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
I can understand the motivation to remove
compiler.jar
; it's 4.2MB and is only used for building the Leaflet library, not for using Leaflet or MediaGoblin.Debian, for example, only packages the following files for Leaflet:
That said, the
extlib/README
is very clear about the policy of including unmodified upstream versions of the libraries:Licensing and creating source distributions of MediaGoblin aren't a problem, since
compiler.jar
is free software and the source is available elsewhere. Although compiler.jar a big file, in practise this probably isn't preventing anyone from downloading MediaGoblin.Let me know if I've missed something, but otherwise I recommend sticking with MediaGoblin's policy of not modifying the upstream libraries.
The bigger picture problem is that including upstream libraries is a pain. Solutions to this problem include depending on operating system-level packages like the Debian package above or using a Javascript packaging tool like Bower.