On 2017-11-01 17:29, Matthias Bläsing wrote:
Hey,
the big question - are there alternatives? How well does git cope with
binaries and are there experiences with big repositories?
The JNA project decided, that holding the released binaries in the git
history would be a good idea. The library itself is a few megabytes,
the repository currently takes nearly 500 MB.
If netbeans begins to regularly update binaries I fear, that the
repository grows into unhandleable sizes.
What about this:
Instead of maven coordinates full URLs are specified in binaries-list.
As long as the hash is checked, this should still be secure.
This way also sources for binaries, not backed by maven (eclipse) could
be supported.
If we ensure that only stable URLs are used (Maven, Eclipse, W3C) we
would be save - or we establish a separate repository for the binaries,
as Emilian suggested.
For now I think I found most eclipse binaries on maven central, so we
could focus on preparing a release for now.
If most Eclipse binaries already are available from maven central, maybe
we can ask *them* to also upload/push these missing binaries there?
Sometimes things like these can be resolved by just asking friendly :-)
Ate
Greetings
Matthias
Am Mittwoch, den 01.11.2017, 10:29 +0100 schrieb Antonio:
Hi all,
PROBLEM:
The mylyn binaries are not available in Maven central. Nor in any
other
Maven repository.
SOLUTION:
We could use the eclipse downloads system, with automatic mirror
selection, with [1].
So, for instance, to download the jar file
org.eclipse.mylyn.tasks.core_3.17.0.v20150828-2026.jar for the
o.eclipse.mylyn.tasks.core module we could use the url [2], and we
could
then use an appropriate SHA-1 to verify that the download is correct.
All mylyn binaries are available there (maybe other binaries as
well).
Currently the build system uses a single server
(nbbuild/default-properties.xml|binaries.server). But we could
specify
multiple download servers and try to download from them in order,
until
the download succeeds.
QUESTIONS:
Would it be a good idea to add support for multiple URLs into
"binaries.server"? Is it ok to download binaries from the
www.eclipse.org/downloads URL? Do you want me to submit a PR with
this?
Thanks,
Antonio
[1]
http://www.eclipse.org/downloads/download.php?file=/mylyn/drops/3.17.
0/v20150909-1855/plugins
[2]
http://www.eclipse.org/downloads/download.php?file=/mylyn/drops/3.17.
0/v20150909-
1855/plugins/org.eclipse.mylyn.tasks.core_3.17.0.v20150828-2026.jar