Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'cpython': 0.05; '(so': 0.07; 'subject:Question': 0.07; 'editor.': 0.09; 'imply': 0.09; 'interim': 0.09; 'occasionally': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:Source': 0.09; 'jan': 0.12; 'changes': 0.15; 'books': 0.15; '24,': 0.16; '6:56': 0.16; 'bigger.': 0.16; 'cheap.': 0.16; 'docstring': 0.16; 'mean,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'typo': 0.16; 'pushed': 0.16; 'fix': 0.17; 'wrote:': 0.18; 'cheap': 0.19; 'commit': 0.19; '(in': 0.22; 'header:User-Agent:1': 0.23; 'either.': 0.24; 'month,': 0.24; 'mon,': 0.24; 'developers': 0.25; 'suggested': 0.26; 'header:X -Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'idea': 0.28; 'correct': 0.29; 'chris': 0.29; 'am,': 0.29; 'said,': 0.30; "i'm": 0.30; 'code': 0.31; 'lines': 0.31; 'branches': 0.31; 'religious': 0.31; 'summary': 0.32; 'entirely': 0.33; 'not.': 0.33; 'sense': 0.34; 'maybe': 0.34; 'but': 0.35; 'should': 0.36; 'wrong': 0.37; 'e.g.': 0.38; 'improving': 0.38; 'stable': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'rather': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'even': 0.60; 'read': 0.60; 'easy': 0.60; 'improved': 0.60; 'received:173': 0.61; "you're": 0.61; 'back': 0.62; 'become': 0.64; 'more': 0.64; 'mar': 0.68; 'combining': 0.68; 'default': 0.69; 'felt': 0.74; 'faster.': 0.84; 'received:fios.verizon.net': 0.84; 'subject:Control': 0.84; 'state.': 0.95 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: Question about Source Control Date: Sun, 23 Mar 2014 21:26:54 -0400 References: <532dc915$0$24914$e4fe514c@dreader36.news.xs4all.nl> <20140322134917.080bada6@bigbox.christie.dr> <1395518482.78665.YahooMailNeo@web163804.mail.gq1.yahoo.com> <1395586700.55921.YahooMailNeo@web163806.mail.gq1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-173-75-254-207.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 In-Reply-To: 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: 26 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1395624437 news.xs4all.nl 2844 [2001:888:2000:d::a6]:60226 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:68834 On 3/23/2014 6:56 PM, Chris Angelico wrote: > On Mon, Mar 24, 2014 at 1:58 AM, Albert-Jan Roskam wrote: >> One more thing (so this is not entirely a double post!). While reading these books I found that the authors were pretty religious about Clean Commits. I mean, ok, it's not a good idea to do one huge monolithic commit each month, but I felt they were exaggerating. But maybe I'm wrong and clean commits become more important when the number of collaborators get bigger. It's just so easy to fix something, and e.g. correct that typo in a docstring while you're at it. >> > > It's important even with a single editor. When you go back and look at > a commit, you should be able to read the summary and know immediately > whether a particular line in it should have been edited or not. > Combining changes into a single commit makes that harder. > > Commits are cheap. Do more of 'em rather than less. With multiple branches (as with 2.7, 3.4, and default for cpython) and multiple active developers (20?) commiting to those brances, commits are definitely not free. I would not exactly call them as cheap as you seem to imply either. That said, I have occasionally pushed interim changes that put code in an improved and stable state. N. Coughlan has suggested improving the cpython infrastructure and procedures to reduce the cost of commits to encourage more people to make more commits (in the sense of more lines changed, not more pieces) and improve cpython faster. -- Terry Jan Reedy