Re: Making NetBeans' Mercurial More Manageable

Sven Reimers <[email protected]> Wed, 2 Nov 2011 18:34:19 +0100
Newsgroups gmane.comp.java.netbeans.general
Message-ID <CAP+Jvx55LJJ10vMqcktx5YnbEJtjqU-ScCqZ4jD6h_s1Hz5frQ@mail.gmail.com>
+1 on smaller repositories...

-Sven

On Wed, Nov 2, 2011 at 6:00 PM, Tom Wheeler <[email protected]> wrote:
> One very common bit of feedback I've gotten from those participating
> in First Patch -- from both developers and mentors alike -- is that
> checking out the Mercurial repository takes an exceptional amount of
> time, bandwidth and disk space.  This is particularly a problem in
> countries where Internet infrastructure is less developed, though the
> trend towards bandwidth caps/throttling/usage-based billing for
> Internet service in the United States means this is a growing problem
> here too.
>
> To put this into perspective, the ZIP file containing all the sources
> for NetBeans 7.1 is only around 170 MB.  In order to change even a
> single line of code in NetBeans, you must check out the entire
> NetBeans repository, which is more than fifteen times bigger at around
> 3 GB!
>
> I know there was some discussion at one point about correcting this
> problem by splitting the single repository (e.g. hg.netbeans.org/main)
> into multiple repositories, each of which might carry only the things
> relevant to a particular product (e.g. just the platform vs. all of
> the IDE).  Another solution might be to have shallow clones, which
> only pull a relevant portion of history by default and bring the rest
> in as needed.
>
> Can anyone update us on the status of those efforts and whether there
> are specific things we might do to help this along?
>
> Also, I wanted to mention that the Mercurial 2.0 was released
> yesterday and it includes the "Largefiles Extension" [1].  As I
> understand it, this could mean that NetBeans' custom solution [2] to
> binary file storage might not be necessary in the future.
>
> [1] http://mercurial.selenic.com/wiki/LargefilesExtension
>
> [2] http://wiki.netbeans.org/HgExternalBinaries
>
> --
> Tom Wheeler
> http://www.tomwheeler.com/
>



-- 
Sven Reimers

* Senior System Engineer and Software Architect
* NetBeans Dream Team Member: http://dreamteam.netbeans.org
* NetBeans Governance Board Member: http://netbeans.org/about/os/governance.html
* Community Leader  NetBeans: http://community.java.net/netbeans
* Duke's Choice Award Winner 2009
* Blog: http://nbguru.blogspot.com

* XING: https://www.xing.com/profile/Sven_Reimers8
* LinkedIn: http://www.linkedin.com/in/svenreimers

Join the NetBeans Groups:
* XING: http://www.xing.com/group-20148.82db20
* NUGM: http://haug-server.dyndns.org/display/NUGM/Home
* LinkedIn: http://www.linkedin.com/groups?gid=1860468
                   http://www.linkedin.com/groups?gid=107402
                   http://www.linkedin.com/groups?gid=1684717
* Oracle: https://mix.oracle.com/groups/18497