Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin1!goblin2!goblin.stu.neva.ru!newsfeed1.swip.net!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.038 X-Spam-Evidence: '*H*': 0.92; '*S*': 0.00; 'cpython': 0.05; 'repository': 0.05; 'url:bitbucket': 0.05; '21,': 0.07; 'subject:Question': 0.07; 'mercurial': 0.09; 'subject:Source': 0.09; 'python': 0.11; 'clone': 0.16; 'dvcs': 0.16; 'from:addr:cs': 0.16; 'from:addr:zip.com.au': 0.16; 'from:name:cameron simpson': 0.16; 'manner,': 0.16; 'message-id:@cskk.homeip.net': 0.16; 'received:cskk.homeip.net': 0.16; 'received:homeip.net': 0.16; 'simpson': 0.16; 'tarball': 0.16; 'threshold': 0.16; 'url:css': 0.16; 'all.': 0.16; 'wrote:': 0.18; 'typing': 0.19; 'to:name :python-list@python.org': 0.22; 'header:User-Agent:1': 0.23; 'days,': 0.24; 'earlier': 0.24; 'cheers,': 0.24; '(or': 0.24; 'source': 0.25; 'compiled': 0.26; 'downloaded': 0.26; 'header:In- Reply-To:1': 0.27; 'installed': 0.27; 'chris': 0.29; 'am,': 0.29; "i'm": 0.30; 'work.': 0.31; 'code': 0.31; '3.2': 0.31; 'easy,': 0.31; 'probably': 0.32; 'figure': 0.32; 'know.': 0.32; 'says': 0.33; 'fri,': 0.33; 'there,': 0.34; 'but': 0.35; 'there': 0.35; 'really': 0.36; 'returning': 0.36; 'charset:us-ascii': 0.36; 'url:org': 0.36; 'project': 0.37; 'easily': 0.37; 'others.': 0.38; 'to:addr:python-list': 0.38; 'rather': 0.38; 'to:addr:python.org': 0.39; 'university': 0.39; 'how': 0.40; 'truly': 0.60; 'gone': 0.61; 'course': 0.61; 'content-disposition:inline': 0.62; "you've": 0.63; 'making': 0.63; 'name': 0.63; 'high': 0.63; 'sum': 0.64; 'more': 0.64; 'size.': 0.65; 'mar': 0.68; 'advantages': 0.68; 'importantly,': 0.68; 'walk': 0.74; 'paper': 0.75; 'low': 0.83; '9:19': 0.84; 'bare': 0.84; 'grew': 0.84; 'intending': 0.84; 'ohio': 0.84; 'presumably': 0.84; 'received:192.168.15': 0.84; 'subject:Control': 0.84; 'top.': 0.84; 'professor,': 0.91; 'ratio': 0.91 Date: Fri, 21 Mar 2014 12:33:13 +1100 From: Cameron Simpson To: "python-list@python.org" Subject: Re: Question about Source Control MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) References: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 50 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1395367443 news.xs4all.nl 2895 [2001:888:2000:d::a6]:39466 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:68660 On 21Mar2014 09:34, Chris Angelico wrote: > On Fri, Mar 21, 2014 at 9:19 AM, Gregory Ewing > > Also, unless the project is truly ancient, the > > whole history might not be as big as you expect. > > The code presumably grew to its present size > > incrementally, in an approximately monotonic > > manner, so the sum of all the diffs is probably > > about the same order of magnitude as the current > > code size. > > > > As an experiment, I just cloned a copy of the > > CPython repository, and it's about 300MB. A > > tarball of Python 3.2 that I downloaded and > > compiled earlier is about 75MB. That's a ratio > > of about 4, and CPython is a pretty ancient > > project! > > Yep! But cloning requires that you have Mercurial installed and, more > importantly, know how to use it. We don't have a huge proliferation of > source control systems these days, but if someone says "Our code is > available via Perforce", I'm going to just look for a tarball > download, rather than figure out a source control system I don't know. Someone intending to clone the project and develop will probably want the whole repository; as Gregory says - they can then easily push/pull with others. For Frank, the size of the repo is not the size of the bare code * number of changesets. There are many diff-level steps in there, making for a much smaller size. And code is small; really really small. Regarding having Mercurial installed, that is very easy, and after you've gone (eg): hg clone https://bitbucket.org/cameron_simpson/css my-copy-of-cameron's-css (or wherever the public repository is published), you can of course then walk away and work. You no longer need the public copy at all. With a DVCS the threshold is low and the advantages are high (hg or git; I'm an hg person myself). Cheers, -- Cameron Simpson I am returning this otherwise good typing paper to you because someone has printed gibberish all over it and put your name at the top. - English Professor, Ohio University