Date: Sun, 4 Sep 2011 18:36:55 +1000 From: Peter Jeremy <peterjeremy@acm.org> To: perryh@pluto.rain.com Cc: freebsd-arch@freebsd.org Subject: Re: Official git export Message-ID: <20110904083655.GA32801@server.vk2pj.dyndns.org> In-Reply-To: <4e62195b.cdaZfeF621ojSqVQ%perryh@pluto.rain.com> References: <4E5C364D.7070904@freebsd.org> <CAHM0Q_Mq3YEEpB6uNymjtd=WCQuTR6gd=71EsLxJf5J0ygyjiw@mail.gmail.com> <20110830201357.GB58638@acme.spoerlein.net> <4e5e458a.Un%2BVK0itRgItvxbf%perryh@pluto.rain.com> <20110831081815.GN2493@over-yonder.net> <4e5f2e26.6PQ5d6F3eauFfAcH%perryh@pluto.rain.com> <4E5F12B6.3090307@FreeBSD.org> <4e5fa001.BTxOKlcJfp7aZ2KE%perryh@pluto.rain.com> <4E5F4807.6070206@FreeBSD.org> <4e62195b.cdaZfeF621ojSqVQ%perryh@pluto.rain.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--KsGdsel6WgEHnImy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2011-Sep-03 05:11:07 -0700, perryh@pluto.rain.com wrote: >A few hundred MB of disk space is nothing. Having to _download_ >a few hundred MB of source code, that one already has, is _not_ >"nothing" unless one has a rather large pipe. If you already have the source code, why would you be downloading it again? Typically, if you keep a local copy of the repo, you would be checking out from it, rather than using csup or similar. >One way to mitigate this would be to provide the ability to >download and install VCS metadata (back-deltas, commit comments, >etc.) for particular files and directories "as needed". Based on the description, I'll take "metadata" to mean the VCS repository itself, rather than VCS-related metadata that is added to a checked-out working directory. Whilst this was fairly easy for CVS, it's not practical for SVN because the metadata is stored per-commit, rather than per-file. > If that >level of granularity is problematic, just splitting the metadata >into 5 groups would help: > > group contents size * > > infrastructure all files directly in /usr/src; and 66 MB > subdirs etc, include, lib, libexec, > release, rescue, share, tools. > > contrib /usr/src/contrib 232 MB > > crypto /usr/src/{crypto,kerberos5,secure} 40 MB > > kernel /usr/src/sys 143 MB > > other /usr/src/{bin,cddl,games,gnu, 50 MB > sbin,usr.bin,usr.sbin} I don't believe this is practical given the way FreeBSD and SVN work. From the SVN perspective, it's not practical to disentagle the content in that way. From a FreeBSD perspective, I don't think it'll work - you can't do much without "infrastructure". "contrib" is referenced from "infrastructure" and "other". "crypto" includes some historic (but not current) references to "contrib". >For that matter, FreeBSD could provide the VCS metadata corresponding >to each release as a separate ISO, so those who need it can obtain >and install it. Those for whom large downloads are a problem could >buy it on CD. Once upon a time, the release CDs did include the CVS tree but it simply became too big. And, since you can checkout any point in history I don't believe having a -release repo CD/DVD adds any real value. You just need a copy of the repo after the relevant release - this can be downloaded via CTM/ftp or csup for CVS and svn can do it's own downloading. My guess is that most people for whom large downloads present a problem know someone who has ready access to the repo and could burn a CD/DVD for them. --=20 Peter Jeremy --KsGdsel6WgEHnImy Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk5jOKcACgkQ/opHv/APuIcOTwCdFANc87hSyPjUpXNl+CckOsn0 lRQAn3K1OGusq36yLZ6q9K0jK/UMt5Rh =6Tci -----END PGP SIGNATURE----- --KsGdsel6WgEHnImy--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110904083655.GA32801>