mfoemmel / fig

Fig is a utility for configuring environments and managing dependencies across a team of developers.
Other
81 stars 13 forks source link

zips published from Windows fig are corrupted - OK when same are pub'd from Linux #37

Closed walquis closed 13 years ago

walquis commented 14 years ago

From Windows, published java\jre1.6.0_13.zip. All good until I tried to run the installer, and then 7zip barfed.

Investigation revealed a binary diff between the published version and the original:

$ tar xzf //devnas/builds/Fig/repos/java-zipped/1.6.0.13/resources.tar.gz

$ ls java/
jre1.6.0_13.zip

$ svn co http://svpsvn/drw/libs/thirdparty/JVMs/jre1.6.0_13-win
A    jre1.6.0_13-win\jre1.6.0_13.zip
A    jre1.6.0_13-win\README.txt
Checked out revision 226837.

$ ls -l jre1.6.0_13-win/jre1.6.0_13.zip
-rw-r--r--    1 cwalquis Administ 31576912 Mar  5 14:01 jre1.6.0_13-win/jre1.6.0_13.zip

$ cmp jre1.6.0_13-win/jre1.6.0_13.zip  java/jre1.6.0_13.zip
jre1.6.0_13-win/jre1.6.0_13.zip java/jre1.6.0_13.zip differ: char 669, line 4

$

The workaround is to do the publish operation from Linux, and then everything is fine.

jramnani commented 13 years ago

Chris, has this been fixed for you since v0.1.16 was released?