Community
Participate
Working Groups
Many of the git.eclipse.org snapshot zips are corrupted. Received message saying the zips are not valid archives when zips are downloaded and opened. Here are just a few example links for DataTools, EMF, and Eclipse: https://git.eclipse.org/c/datatools/org.eclipse.datatools.git/snapshot/org.eclipse.datatools-1.14.100.201805031905.zip https://git.eclipse.org/c/emf/org.eclipse.emf.git/snapshot/org.eclipse.emf-R2_26_0.zip https://git.eclipse.org/c/equinox/rt.equinox.bundles.git/snapshot/rt.equinox.bundles-R4_20.zip https://git.eclipse.org/c/equinox/rt.equinox.framework.git/snapshot/rt.equinox.framework-R4_20.zip https://git.eclipse.org/c/equinox/rt.equinox.p2.git/snapshot/rt.equinox.p2-R4_20.zip https://git.eclipse.org/c/jdt/eclipse.jdt.core.git/snapshot/eclipse.jdt.core-R4_20.zip https://git.eclipse.org/c/jdt/eclipse.jdt.debug.git/snapshot/eclipse.jdt.debug-R4_20.zip https://git.eclipse.org/c/jdt/eclipse.jdt.git/snapshot/eclipse.jdt-R4_20.zip https://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/snapshot/eclipse.jdt.ui-R4_20.zip https://git.eclipse.org/c/pde/eclipse.pde.build.git/snapshot/eclipse.pde.build-R4_20.zip https://git.eclipse.org/c/pde/eclipse.pde.ui.git/snapshot/eclipse.pde.ui-R4_20.zip https://git.eclipse.org/c/platform/eclipse.platform.common.git/snapshot/eclipse.platform.common-R4_20.zip https://git.eclipse.org/c/platform/eclipse.platform.debug.git/snapshot/eclipse.platform.debug-R4_20.zip https://git.eclipse.org/c/platform/eclipse.platform.git/snapshot/eclipse.platform-R4_20.zip https://git.eclipse.org/c/platform/eclipse.platform.resources.git/snapshot/eclipse.platform.resources-R4_20.zip https://git.eclipse.org/c/platform/eclipse.platform.runtime.git/snapshot/eclipse.platform.runtime-R4_20.zip https://git.eclipse.org/c/platform/eclipse.platform.swt.git/snapshot/eclipse.platform.swt-R4_20.zip https://git.eclipse.org/c/platform/eclipse.platform.team.git/snapshot/eclipse.platform.team-R4_20.zip https://git.eclipse.org/c/platform/eclipse.platform.text.git/snapshot/eclipse.platform.text-R4_20.zip https://git.eclipse.org/c/platform/eclipse.platform.ua.git/snapshot/eclipse.platform.ua-R4_20.zip https://git.eclipse.org/c/platform/eclipse.platform.ui.git/snapshot/eclipse.platform.ui-R4_20.zip https://git.eclipse.org/c/platform/eclipse.platform.ui.tools.git/snapshot/eclipse.platform.ui.tools-R4_20.zip
The Babel project downloads source zips for different Eclipse projects to extract translatable files for translation. The Babel database is currently broken and blocked because these git.eclipse.org snapshot zips are corrupted. Please investigate.
Hello Kit, Can you please retry? If the issue persists, can you please copy paste an exact error message? Thanks
I still have the same problem. Here are the commands I tried: wget -O rt.equinox.bundles-R4_20.zip https://git.eclipse.org/c/equinox/rt.equinox.bundles.git/snapshot/rt.equinox.bundles-R4_20.zip unzip rt.equinox.bundles-R4_20.zip Here is the error message: Archive: rt.equinox.bundles-R4_20.zip End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of rt.equinox.bundles-R4_20.zip or rt.equinox.bundles-R4_20.zip.zip, and cannot find rt.equinox.bundles-R4_20.zip.ZIP, period.
We are still looking into this.
I see that only 64KB of the file is getting downloaded. Is there a limit imposed by cgit?
You can also download content of a version using Gerrit's gitiles plugin: curl -O https://git.eclipse.org/r/plugins/gitiles/equinox/rt.equinox.bundles/+archive/R4_20.tar.gz In the gitiles UI there is a link to download the selected version/folder. For this version of rt.equinox.bundles that's the [tgz] link on this page: https://git.eclipse.org/r/plugins/gitiles/equinox/rt.equinox.bundles/+/refs/tags/R4_20
you can choose a different archive format by changing the extension: https://git.eclipse.org/r/plugins/gitiles/equinox/rt.equinox.bundles/+archive/R4_20.tar.xz https://git.eclipse.org/r/plugins/gitiles/equinox/rt.equinox.bundles/+archive/R4_20.tbz2 https://git.eclipse.org/r/plugins/gitiles/equinox/rt.equinox.bundles/+archive/R4_20.tar .zip is not supported for security reasons, see https://gerrit.googlesource.com/gitiles/+/7c07a4a68ece6009909206482e0728dbbf0be77d/java/com/google/gitiles/ArchiveFormat.java#29 Usually tar.xz produces the smallest archives.
(In reply to Sravan Kumar Lakkimsetti from comment #5) > I see that only 64KB of the file is getting downloaded. Is there a limit > imposed by cgit? We're seeing that as well, and not only with snapshots. The cgit home page is also 64K. We're trying to trace to where that limit is. (In reply to Matthias Sohn from comment #6) > You can also download content of a version using Gerrit's gitiles plugin: > > curl -O > https://git.eclipse.org/r/plugins/gitiles/equinox/rt.equinox.bundles/ > +archive/R4_20.tar.gz That's a great workaround, and likely more robust than cgit's.
I've implemented a workaround to make cgit function again. Please try now.
I was implementing a workaround in Babel using Gerrit's gitiles, but Denis beat me! Thanks, Denis! Babel's issue is resolve and is back to normal.