Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #68791

Re: Question about Source Control

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!ecngs!feeder2.ecngs.de!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <fomcl@yahoo.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.010
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'broken': 0.04; 'subject:Question': 0.07; '22,': 0.09; 'git': 0.09; 'latter': 0.09; 'subject:Source': 0.09; 'terms,': 0.09; 'cc:addr:python- list': 0.11; 'changes': 0.15; 'books': 0.15; '(there': 0.16; '-&gt;': 0.16; '>in': 0.16; '>to': 0.16; 'cleaned': 0.16; 'discarded': 0.16; 'it;': 0.16; 'settings)': 0.16; 'skipping': 0.16; 'thinking,': 0.16; 'to:addr:python.list': 0.16; 'to:addr:tim.thechases.com': 0.16; 'to:name:tim chase': 0.16; 'url:guide': 0.16; 'url:keywords': 0.16; 'url:sr': 0.16; 'all.': 0.16; 'wrote:': 0.18; 'commit': 0.19; 'addition,': 0.20; 'cc:addr:python.org': 0.22; 'logical': 0.24; 'tend': 0.24; 'url:utf8': 0.24; 'regardless': 0.24; 'looks': 0.24; 'cc:2**0': 0.24; 'source': 0.25; '&gt;': 0.26; 'least': 0.26; 'gets': 0.27; 'van': 0.27; 'header:In-Reply-To:1': 0.27; 'to:2**1': 0.27; 'tim': 0.29; "doesn't": 0.30; 'change,': 0.30; 'said,': 0.30; 'url:mailman': 0.30; '(which': 0.31; 'code': 0.31; 'away.': 0.31; 'chase': 0.31; 'produces': 0.31; 'url:python': 0.33; 'header:Received:9': 0.33; 'agree': 0.35; 'common': 0.35; 'something': 0.35; 'test': 0.35; 'but': 0.35; 'version': 0.36; 'cancel': 0.36; 'skip:> 10': 0.36; 'url:ie': 0.36; 'url:ref': 0.36; 'done': 0.36; 'url:listinfo': 0.36; 'hi,': 0.36; 'url:org': 0.36; 'two': 0.37; 'system,': 0.38; 'skip:& 10': 0.38; 'branch': 0.38; 'tasks': 0.38; 'tools,': 0.38; 'url:amazon': 0.38; 'version,': 0.38; 'pm,': 0.38; 'enough': 0.39; 'either': 0.39; 'according': 0.40; 'url:mail': 0.40; 'read': 0.60; 'easy': 0.60; 'received:98.137': 0.60; 'units': 0.60; 'most': 0.60; 'full': 0.61; 'march': 0.61; 'save': 0.62; 'more': 0.64; 'header:Reply- To:1': 0.67; 'believe': 0.68; 'book,': 0.68; 'apart': 0.72; 'applying': 0.72; 'fat': 0.84; 'received:98.138.229': 0.84; 'subject:Control': 0.84; 'us?': 0.84; 'working,': 0.84; 'albert': 0.91; 'comprise': 0.91; 'medicine,': 0.91; 'education,': 0.96
X-Yahoo-Newman-Property ymail-4
X-Yahoo-Newman-Id 375314.41166.bm@omp1050.mail.gq1.yahoo.com
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1395518482; bh=xXkBQiR+Qa0eyIDgynDFxOnoWk4TIJiU3R4Re1sITho=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=rU/jUDJpyllFIVNMB9fIDYC1+UWvpalKcbU0SSjUlTibm5Uit1hGgpwKKyMFGxR5vuArvH2x0FkVHuWmBxhvIxmfLT2QRBE4jHMp8h3dx7bH0EfbXPxcWpHZDoTmcvoK6slGB5Y2LO+fBM4XaaYWCvHV/L0GTVwBi/Rlf9QopwU=
DomainKey-Signature a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-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Qj7tCfyvklkfGyW.Wcg2 fDVWunmXtY4ORxOVhLkW9Ct0Okg--
X-Rocket-MIMEInfo 002.001, SGksCgpJIGNhbiByZWNvbW1lbmQgdGhlIGJvb2sgIlByYWdtYXRpYyBHdWlkZSB0byBHaXQiLiBWZXJ5IHByYWN0aWNhbCBhbmQgdG8gdGhlIHBvaW50OgoKaHR0cDovL3d3dy5hbWF6b24uY29tL1ByYWdtYXRpYy1HdWlkZS1HaXQtUHJvZ3JhbW1lcnMvZHAvMTkzNDM1NjcyNy9yZWY9c3JfMV8xLzE4NC0wMTQyNDgxLTA0ODQwNjI_aWU9VVRGOCZxaWQ9MTM5NTUxODE1OSZzcj04LTEma2V5d29yZHM9cHJhZ21hdGljK2d1aWRlK3RvK2dpdAoKCkkgYWRkaXRpb24sIEkgcmVhZCBhIGJpZyBmYXQgc3VwZXItZXgBMAEBAQE-
X-Mailer YahooMailWebService/0.8.181.645
References <lg6s09$irl$1@ger.gmane.org> <bortetF7t42U1@mid.individual.net> <lgasdj$93f$1@ger.gmane.org> <mailman.8270.1395195147.18130.python-list@python.org> <532dc915$0$24914$e4fe514c@dreader36.news.xs4all.nl> <20140322134917.080bada6@bigbox.christie.dr>
Date Sat, 22 Mar 2014 13:01:22 -0700 (PDT)
From Albert-Jan Roskam <fomcl@yahoo.com>
Subject Re: Question about Source Control
To Tim Chase <python.list@tim.thechases.com>, Albert van der Horst <albert@spenarnc.xs4all.nl>
In-Reply-To <20140322134917.080bada6@bigbox.christie.dr>
MIME-Version 1.0
Content-Type multipart/alternative; boundary="1691886257-1200879178-1395518482=:78665"
Cc "python-list@python.org" <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
Reply-To Albert-Jan Roskam <fomcl@yahoo.com>
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.8406.1395518658.18130.python-list@python.org> (permalink)
Lines 165
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1395518658 news.xs4all.nl 2924 [2001:888:2000:d::a6]:46528
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:68791

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi,

I can recommend the book "Pragmatic Guide to Git". Very practical and to the point:

http://www.amazon.com/Pragmatic-Guide-Git-Programmers/dp/1934356727/ref=sr_1_1/184-0142481-0484062?ie=UTF8&qid=1395518159&sr=8-1&keywords=pragmatic+guide+to+git


I addition, I read a big fat super-exhaustive book, I believe it' s this one (there are two Git books with a bat!):

http://www.amazon.com/Version-Control-Git-collaborative-development/dp/1449316387/ref=sr_1_2/184-0142481-0484062?ie=UTF8&qid=1395518159&sr=8-2&keywords=pragmatic+guide+to+git


The former is for common tasks that are not common enough to remember right away. The latter is for reference.

I only have experience with git and subversion. I like git much better. But any SCM is better than none at all.

 
Regards,

Albert-Jan




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

All right, but apart from the sanitation, the medicine, education, wine, public order, irrigation, roads, a 

fresh water system, and public health, what have the Romans ever done for us?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 





On Saturday, March 22, 2014 7:49 PM, Tim Chase <python.list@tim.thechases.com> wrote:
 
On 2014-03-22 17:32, Albert van der Horst wrote:
>> >I don't know if this is a hg-vs-git way of thinking, but I tend to
>> >frequently commit things on a private development branch regardless
>> >of brokenness, but once I get it working, I flatten & clean up
>> >those changes ("rebase" in git terms, which I believe has been
>> >adopted as a standardly-available-but-not-enabled-by-default
>> >module in hg) into logical units of change-sets that I then test
>> >individually before applying them to my more public-facing
>> >branch.  This produces clean history that makes it easy for others
>> >to see what's going on.  
>> 
>> I see it this way that all code is broken to at least a small
>> extent, so it is stupid to not to save into source control because
>> code is not yet flawless.
>
>I agree that skipping the commits just because it might be broken is
>a foolish idea.  However, with most VCS tools, your commits can look
>something like
>
>  Baseline -> A -> B -> C -> D -> E -> F -> G {head/tip}
>
>but A, C, & E all comprise one conceptual change, while B & G are
>another, and D & F cancel each other out.  You can either cherry-pick
>those changes or rebase (with git or the hg plugin) so that the
>history looks like
>
>  Baseline -> (ACE) -> (BG) {head/tip}
>
>With git, the history isn't actually discarded immediately, but
>rather just gets a parallel version (which may or may not have a
>reference to it; if it doesn't it will get cleaned up about a month
>later according to your garbage-collection settings) so your repo
>ends up looking something like
>
>  Baseline -> A -> B -> C -> D -> E -> F -> G {orphaned or named}
>        \---> (ACE) -> (BG) {head/tip}
>
>You can then publish that conceptually clean (and hopefully
>tested&working) branch while simultaneously having the full history
>in the event you need it.  That said, I almost never want the
>intermediate work product once I have a final clean version, so I
>just let git GC that for me.
>
>
>-tkc
>
>
>
>
>
>
>
>
>
>
>
>
>
>-- 
>https://mail.python.org/mailman/listinfo/python-list
>
>
>

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Question about Source Control "Frank Millman" <frank@chagford.com> - 2014-03-18 08:42 +0200
  Re: Question about Source Control Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2014-03-19 10:51 +1300
    Re: Question about Source Control Terry Reedy <tjreedy@udel.edu> - 2014-03-18 21:38 -0400
    Re: Question about Source Control Tim Chase <python.list@tim.thechases.com> - 2014-03-18 21:12 -0500
      Re: Question about Source Control albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-03-22 17:32 +0000
        Re: Question about Source Control Tim Chase <python.list@tim.thechases.com> - 2014-03-22 13:49 -0500
        Re: Question about Source Control Albert-Jan Roskam <fomcl@yahoo.com> - 2014-03-22 13:01 -0700
        Re: Question about Source Control Dave Angel <davea@davea.name> - 2014-03-22 22:18 -0400
        Re: Question about Source Control Albert-Jan Roskam <fomcl@yahoo.com> - 2014-03-23 07:58 -0700
        Re: Question about Source Control Chris Angelico <rosuav@gmail.com> - 2014-03-24 09:56 +1100
        Re: Question about Source Control Terry Reedy <tjreedy@udel.edu> - 2014-03-23 21:26 -0400
        Re: Question about Source Control Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-03-24 01:42 +0000
        Re: Question about Source Control Chris Angelico <rosuav@gmail.com> - 2014-03-24 13:04 +1100
        Re: Question about Source Control Terry Reedy <tjreedy@udel.edu> - 2014-03-24 00:55 -0400
    Re: Question about Source Control Chris Angelico <rosuav@gmail.com> - 2014-03-19 13:34 +1100

csiph-web