incubator-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lahoda <lah...@gmail.com>
Subject Re: [DISCUSS] Apache NetBeans Incubator Proposal
Date Tue, 20 Sep 2016 14:19:09 GMT
Hello,

On Tue, Sep 20, 2016 at 12:21 PM, Mark Struberg <struberg@yahoo.de.invalid>
wrote:

> git clone of the Linus' repo takes 3 minutes.
>
> The hg clone of netbeans took 5 HOURS!
>
> Also checking out all the files or swapping branches in the git repo takes
> about 45 seconds in GIT, but much longer in hg.
>
> The repo size is 3.6GB. But it contains many binaries which we could
> probably strip off.
> I really don't like to have a Hibernate jar file in an official ASF repo ;)
>

To my knowledge, NetBeans build is normally downloading external
(production) binaries from a binary repository:
http://hg.netbeans.org/binaries/

Which binaries should be downloaded is currently specified using
binaries-list, like:
http://hg.netbeans.org/main-silver/file/6627a4fc3e3f/o.apache.tools.ant.module/external/binaries-list

But, before, these were specified using a different format:
http://hg.netbeans.org/main-silver/file/a280d4534580/hibernatelib/external/hibernate-3.2.5-lib.zip
http://hg.netbeans.org/main-silver/file/0f086eac0b5b/o.apache.tools.ant.module/external/ant-libs-1.7.0.zip

This is still a textual format and is not the actual binary - that was
downloaded automatically on demand. (I believe this approach was found to
be not reliable enough and was replaced with binaries-list, which AFAIK
works well.) So not all historical ".zip" or ".jar" files in the repository
are binaries.

That said, it is entirely possible there are some doubtful binaries in the
repository, and there are (binary) icons, launchers, test data, etc.

I would, however, be surprised if removing those would make the repository
half the current size or less.

Jan


> Still figuring where to upload the git repo to :(
>
>
> LieGrue,
>
> strub
>
>
>
>
>
> > On Tuesday, 20 September 2016, 11:52, cowwoc <cowwoc@bbs.darktech.org>
> wrote:
> > > Mark Struberg-2 wrote
> >>  Linux never was on hg, so the comparison doesn't fit.
> >>
> >>  To be more clear: I'm not concerned that GIT cannot handle the NetBeans
> >>  repo size.
> >
> > I actually concerned by this. A client I work for has a large Git repo. I
> > doubt its size is anywhere close to the Linux repo, but its performance
> is
> > abysmal. Navigating the git log or invoking "git checkout" takes
> > minutes. It
> > is almost completely unusable.
> >
> > I'm sure you've read this by now, but HG seems a better fit for these
> > larger
> > projects:
> > https://www.reddit.com/r/programming/comments/1unehr/
> scaling_mercurial_at_facebook/
> >
> > All this to say: I would tread carefully. Out of curiosity, is there a
> > reason that Apache projects can't use Mercurial?
> >
> > Gili
> >
> >
> >
> > --
> > View this message in context:
> > http://apache-incubator-general.996316.n3.nabble.com/
> DISCUSS-Apache-NetBeans-Incubator-Proposal-tp51171p51346.html
> > Sent from the Apache Incubator - General mailing list archive at
> Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
> > For additional commands, e-mail: general-help@incubator.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
> For additional commands, e-mail: general-help@incubator.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message