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


Groups > comp.lang.python > #68569

Re: Question about Source Control

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.027
X-Spam-Evidence '*H*': 0.95; '*S*': 0.00; 'intermediate': 0.07; 'revision': 0.07; 'subject:Question': 0.07; 'git': 0.09; 'release,': 0.09; 'subject:Source': 0.09; 'url:archive': 0.09; 'url:github': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'project,': 0.12; 'url:download': 0.12; 'archive': 0.14; "(i'm": 0.16; '(it': 0.16; '1.1.0': 0.16; 'clone': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'practice?': 0.16; 'revision.': 0.16; 'scratch': 0.16; 'way;': 0.16; 'wrote:': 0.18; 'commit': 0.19; 'file,': 0.19; 'thu,': 0.19; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'source': 0.25; 'compiled': 0.26; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'message-id:@mail.gmail.com': 0.30; 'along': 0.30; 'changes:': 0.31; 'url:se': 0.31; 'handled': 0.32; 'quite': 0.32; 'says': 0.33; 'link.': 0.33; 'could': 0.34; "can't": 0.35; 'common': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'version': 0.36; 'project': 0.37; 'files': 0.38; 'pm,': 0.38; 'that,': 0.38; 'does': 0.39; 'either': 0.39; 'major': 0.40; 'how': 0.40; 'most': 0.60; 'tag': 0.61; 'simply': 0.61; 'further': 0.61; 'offer': 0.62; 'skip:n 10': 0.64; 'url:p': 0.64; 'provide': 0.64; 'more': 0.64; 'effectively': 0.66; 'latest': 0.67; 'url:0': 0.67; 'mar': 0.68; '20,': 0.68; 'frank': 0.68; 'started.': 0.68; 'url:a': 0.72; '3.3.1': 0.84; 'pike': 0.84; 'snapshot': 0.84; 'snapshots': 0.84; 'subject:Control': 0.84; 'url:v1': 0.84; 'url:zip': 0.84; 'to:none': 0.92; 'wishing': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=OR4e9r1FNp9EwaxDB66RSZAaCvlirSTEquijgHA6wNE=; b=07KV735Jd7ISjw8skXakGBrSRMseCdWcRDacEtWWiViPMvgYLFR7sV+Tk/aX0jG+Y0 1eRf0f1bzrrJ1aekFbQq9LcJqdXBZhnIFPVNXtWazHX5dxNTqcQnVMLLzusb+b4an6Tr IVG6G1Z9W/Ygaygj2pWFtFe/a+mGGmJGHst9Dcblbv2xBNAUjeWLGN+/ZnCJAfgbXpDb THC3Rd3NryXv3NWwU2BIaN9AmSJ3r2IPlP0taa4EJEUpMJ9dW1yjniG6PLiyFErkE4yZ APgK6eUIIIYYHgv0vfZuhd77bvY4RNYBDiwTPDeEGqrbZai5oF23ne5STdaXHp+TxRA3 6kHg==
MIME-Version 1.0
X-Received by 10.68.200.74 with SMTP id jq10mr163643pbc.169.1395299725949; Thu, 20 Mar 2014 00:15:25 -0700 (PDT)
In-Reply-To <lge2v9$h0l$1@ger.gmane.org>
References <lg6s09$irl$1@ger.gmane.org> <lgbe6g$j9o$1@ger.gmane.org> <lge2v9$h0l$1@ger.gmane.org>
Date Thu, 20 Mar 2014 18:15:25 +1100
Subject Re: Question about Source Control
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
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.8290.1395299735.18130.python-list@python.org> (permalink)
Lines 40
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1395299735 news.xs4all.nl 2848 [2001:888:2000:d::a6]:48231
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:68569

Show key headers only | View raw


On Thu, Mar 20, 2014 at 5:48 PM, Frank Millman <frank@chagford.com> wrote:
> One thing still confuses me. Over the lifetime of a project, there could be
> many thousands of changesets. Some of those could be tagged as 'major
> releases'. Someone wishing to clone the project from scratch may want to
> start from the latest major release, and not download every changeset since
> the project started.
>
> How is this handled in practice?

There are several ways, but the most common is to simply tag a
revision along the way; Pike does this, and I do the same in Gypsum.

Pike 7.8.700 is commit 1ace5c:
http://pike-git.lysator.liu.se/gitweb.cgi?p=pike.git;a=commit;h=1ace5c8e7c5c14fcaeeefd307b1ec99b80560311

Gypsum 1.1.0 is commit d937bf:
https://github.com/Rosuav/Gypsum/tree/v1.1.0

You can then offer a non-source-control means of downloading that
specific revision. Github does this for me automatically:

https://github.com/Rosuav/Gypsum/archive/v1.1.0.zip

Pike goes further and publishes binaries for various systems, too, and
the source archive isn't quite a pure snapshot of git at that point
(it has some intermediate files so as to reduce dependencies), but the
effect is the same - if you want to get Pike 7.8.700, you don't need
all the changes:

http://pike.lysator.liu.se/download/pub/pike/latest-stable/

Python also snapshots like that, but with a much more complicated
history than either of the above; the Python download pages offer you
source tarballs and compiled binaries. If you want to find version
3.3.1 in source control, just look that up in the .hgtags file, which
says that "v3.3.1" is d9893d. (I'm not familiar with hg-web, so I
can't provide a link. But it's effectively the same as I showed
above.)

ChrisA

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


Thread

Re: Question about Source Control Chris Angelico <rosuav@gmail.com> - 2014-03-20 18:15 +1100
  Re: Question about Source Control Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2014-03-21 11:19 +1300
    Re: Question about Source Control Chris Angelico <rosuav@gmail.com> - 2014-03-21 09:34 +1100
    Re: Question about Source Control albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-03-22 17:53 +0000

csiph-web