Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #67452
| Path | csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!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.004 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; '(at': 0.04; 'cpython': 0.05; 'svn': 0.05; 'subject:code': 0.07; 'git': 0.09; 'hooks': 0.09; 'latter': 0.09; 'mercurial': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'personally,': 0.16; 'vastly': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'trying': 0.19; 'commit': 0.19; 'not,': 0.20; 'written': 0.21; '(the': 0.22; 'import': 0.22; 'cc:addr:python.org': 0.22; 'passes': 0.24; 'subversion': 0.24; 'mon,': 0.24; '(or': 0.24; 'cc:2**0': 0.24; 'header:In-Reply- To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'serve': 0.31; 'run': 0.32; 'quite': 0.32; "can't": 0.35; 'test': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'version': 0.36; 'really': 0.36; 'subject:skip:d 10': 0.36; 'doing': 0.36; "i'll": 0.36; 'easily': 0.37; 'being': 0.38; 'server': 0.38; 'question,': 0.38; 'anything': 0.39; 'sure': 0.39; 'either': 0.39; 'manually': 0.60; 'more': 0.64; 'mar': 0.68; 'atm': 0.68; 'lose': 0.68; 'facilities': 0.69; 'business': 0.70; 'friendly': 0.72; 'rita': 0.84; 'subject:source': 0.84; 'to:none': 0.92 |
| 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=qyJVtg4tuFoVt0Xo/fe7isGIhmTYnRAKme+VqTDpMA8=; b=TnKkePBj7sCqGV8e1YkUKBb3OX51kjCxfYi0xSQv69QsIOuuCiOOekDyr8bCGmhyKX mqQFKa07sO7cfFE/EpFvZHZu2W6xzdvn10DFD4d18+OwVBxRr0NZvZG1K/ju/dg/ASpf zGcRe9jU2uRUPCCpyppArFDAVnf0NV9SY9D/BHFXuxAyISqs/25cdQAKWX/xIHM+V9bL DTFu1+/PoG5Whz9QBp3I00+dlQo97FWKFtdODqj2Ikf+Dy//vwlf5HjBTkFxsCtnWwAb kHs43dIch06XcwR3rqh24emuwfCZcQ7Lsjtw8UNG/bmzFznnUBnrgYWZxIL0K60p0G6p FLYA== |
| MIME-Version | 1.0 |
| X-Received | by 10.68.201.10 with SMTP id jw10mr14747033pbc.25.1393776153009; Sun, 02 Mar 2014 08:02:33 -0800 (PST) |
| In-Reply-To | <CAOF-KfjnM=BXRRnendFsY3iigPyW8PcCTEijQvfcU_9fGwWOXA@mail.gmail.com> |
| References | <CAOF-KfjnM=BXRRnendFsY3iigPyW8PcCTEijQvfcU_9fGwWOXA@mail.gmail.com> |
| Date | Mon, 3 Mar 2014 03:02:32 +1100 |
| Subject | Re: source code control and documentation |
| 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.7584.1393776156.18130.python-list@python.org> (permalink) |
| Lines | 28 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1393776156 news.xs4all.nl 2907 [2001:888:2000:d::a6]:50243 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:67452 |
Show key headers only | View raw
On Mon, Mar 3, 2014 at 2:56 AM, Rita <rmorgan466@gmail.com> wrote: > I am trying to achieve this, every time I commit to svn I automatically run > hooks to test my libraries, ATM I am doing this manually > > cd libs > PYTHONPATH=. python test_lib.py > > and if everything passes I do a svn commit -m 'committing code' > > I don't have access to my svn server so I can't create my own hooks (or can > I?) This is really a subversion question, not a Python one. But this much I'll say: svn is vastly inferior to modern version control systems like git and Mercurial (the latter being written in Python and used for CPython and many other Python-related projects). You can easily import your svn history into either git or Mercurial (at least, I'm pretty sure Mercurial offers good import facilities - if not, there are ways around the problem), so you won't lose anything by switching. And hook support is excellent. Personally, I'm very friendly with git - we work together really well. Mercurial and I are like business acquaintances that don't see each other quite as often, and interactions are a bit more formal and stilted. But I know that either one will serve you well, and far more easily than svn does. ChrisA
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: source code control and documentation Chris Angelico <rosuav@gmail.com> - 2014-03-03 03:02 +1100
csiph-web