Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.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; 'python,': 0.01; 'bug': 0.02; 'svn': 0.04; 'app,': 0.07; 'happen,': 0.07; 'python': 0.07; 'bugzilla,': 0.09; 'figuring': 0.09; 'subject:tools': 0.09; 'tracker': 0.09; 'scripts': 0.10; 'wrote:': 0.14; '"each': 0.16; '1.1': 0.16; 'aspire': 0.16; 'concepts.': 0.16; 'properly.': 0.16; 'pythonista,': 0.16; 'received:192.168.200': 0.16; 'sync': 0.16; 'tackling': 0.16; 'things.': 0.16; 'versions': 0.18; 'mapping': 0.19; 'cc:no real name:2**0': 0.20; 'usage': 0.20; 'cc:2**0': 0.20; 'seems': 0.21; 'maybe': 0.21; 'code': 0.22; 'header:In- Reply-To:1': 0.22; 'cc:addr:python-list': 0.22; '(usually': 0.23; 'mental': 0.23; 'tool,': 0.23; 'version.': 0.23; 'mainly': 0.24; 'version': 0.25; "i'm": 0.26; 'later': 0.26; 'be.': 0.29; 'features,': 0.29; 'like,': 0.29; 'order.': 0.29; '(the': 0.30; 'named': 0.30; 'list': 0.30; 'this.': 0.30; 'cc:addr:python.org': 0.31; 'do.': 0.31; 'clean.': 0.31; 'etc.,': 0.31; 'random': 0.31; 'anyone': 0.31; 'weeks': 0.32; 'idea': 0.32; 'maps': 0.33; 'minor': 0.33; 'things': 0.33; 'thinking': 0.33; 'several': 0.33; 'sometimes': 0.33; 'received:192': 0.34; 'file.': 0.34; 'got': 0.34; 'file': 0.35; 'header:User-Agent:1': 0.35; 'guidance': 0.35; 'usually': 0.36; 'feature': 0.36; 'systems,': 0.36; 'think': 0.36; 'problems': 0.37; 'received:192.168': 0.37; 'some': 0.37; 'consistent': 0.38; 'hack': 0.38; 'less': 0.38; 'but': 0.38; 'pretty': 0.38; 'files': 0.38; 'them,': 0.38; 'current': 0.38; 'help': 0.39; 'though,': 0.39; 'where': 0.39; 'how': 0.39; 'map': 0.40; 'would': 0.40; "it's": 0.40; 'best': 0.60; 'hand': 0.61; 'back': 0.61; 'free': 0.62; 'making': 0.62; 'spend': 0.63; 'organized': 0.63; 'worth': 0.64; 'ever': 0.65; 'busy': 0.66; 'offer.': 0.67; 'minutes': 0.67; 'subject:Development': 0.73; 'week,': 0.80; 'hunt': 0.84; 'progress,': 0.84; 'to:addr:hotmail.com': 0.90; 'branch,': 0.91 X-IronPort-AV: E=Sophos;i="4.64,270,1301868000"; d="scan'208";a="1378737" X-Virus-Scanned: amavisd-new at zimbra.sequans.com Date: Tue, 26 Apr 2011 20:04:17 +0200 From: Jean-Michel Pichavant User-Agent: Mozilla-Thunderbird 2.0.0.24 (X11/20100328) MIME-Version: 1.0 To: snorble Subject: Re: Development tools and practices for Pythonistas References: <58a6bb1b-a98e-4c4a-86ea-09e040cb2d21@r35g2000prj.googlegroups.com> In-Reply-To: <58a6bb1b-a98e-4c4a-86ea-09e040cb2d21@r35g2000prj.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 52 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1303841074 news.xs4all.nl 81475 [::ffff:82.94.164.166]:35152 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:4060 snorble wrote: > I'm not a Pythonista, but I aspire to be. > > My current tools: > > Python, gvim, OS file system > > My current practices: > > When I write a Python app, I have several unorganized scripts in a > directory (usually with several named test1.py, test2.py, etc., from > random ideas I have tested), and maybe a todo.txt file. Then I hack > away, adding features in a semi-random order. Then I get busy with > other things. Maybe one week I spend 20 hours on development. The next > week, no time on development. A few weeks later when I have some time, > I'm excited to get back to making progress, only to find that I have > to spend 30-60 minutes figuring out where I left off. The code is > usually out of sync with todo.txt. I see people who release new > versions and bug fixes, so I sometimes will create a new directory and > continue working from that copy, because it seems like the thing to > do. But if I ever made something worth releasing, and got a request > like, "I have problems with the 2.0 version. Can you send me the old > 1.1 version?" I'd be like, "uhhh... let me hunt through my files by > hand and get back to you in a month". I'm thinking I can do a lot > better than this. > > I am aware of tools like version control systems, bug trackers, and > things like these, but I'm not really sure if I need them, or how to > use them properly. I think having some organization to all of this > would help me to make more consistent progress, and spend less time > bringing myself up to speed after some time off. > > I really like the idea of having a list of features, and tackling > those features one at a time. I read about people who do this, and > each new features gets a new minor version number. It sounds very > organized and clean. But I'm not really sure of the best way to > achieve this. Mainly I think I just need some recommendations to help > create a good mental map of what needs to happen, and mapping jargon > to concepts. Like, "each feature gets its own directory". Or with a > version control tool, I don't know if a feature maps to a branch, or a > commit? > > I appreciate any advice or guidance anyone has to offer. > You can have a look at SVN and bugzilla, they are free SCM & bug tracker applications. Make sure it's worth the pain though, these tools are not that easy to administrate (the usage is pretty simple). JM