473,406 Members | 2,843 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Python and version control

Dear friends,

What is the ultimate version control tool for Python if you are working in a
Windows environment?

When you work on a Visual C++ project then it's easy, use Visual Source Safe
for your source code! But when it comes to large Python projects and no
universal Python IDE with version control integration is available,
checking in and out files is not as simple. I am a keen user of Emacs, but
version control, which is very simple when you are in a Linux environment,
for example, is not a straightforward in Windows.

What is the most common adopted approach among Python developers working in
a Windows environment?

Carl

Jul 18 '05 #1
13 2952
Carl <ph***********@chello.se> writes:

[...]
I am a keen user of Emacs, but version control, which is very simple
when you are in a Linux environment, for example, is not a
straightforward in Windows.


Emacs + CVS (or CVSNT) should work just fine in Windows either.

--
Sergei.
Jul 18 '05 #2
Carl wrote:
What is the ultimate version control tool for Python if you are working in a
Windows environment?

What is the most common adopted approach among Python developers working in
a Windows environment?


I never liked coupling the two together like that. Instead
I use tools like TortoiseCVS or (now) TortoiseSVN with a
Subversion repository. These things let you access revision
control features from context (right-button) menus right in
Windows Explorer, as you browse the file system.

The best part is that they work regardless of which editor or
other tool you have to work with, and you aren't at the mercy
of a greedy corporation that decides it's time for you to
upgrade so you can give them more money. You can also use
the command line tools when appropriate, of course.

--

BTW, as a general caution: while Visual Source Safe may be
"easy", it's also dangerous and has been known to corrupt
many a code base, mine included. I wouldn't touch the product
with a virtual ten-foot pole, and I strongly recommend to anyone
who is stuck using it -- *especially in a multi-programmer
environment* -- that they immediately abandon it in favour
of something more stable. (Google can fill in background detail
for anyone interested.)

-Peter
Jul 18 '05 #3
Carl wrote:
Dear friends,

What is the ultimate version control tool for Python if you are working in a
Windows environment?

When you work on a Visual C++ project then it's easy, use Visual Source Safe
for your source code! But when it comes to large Python projects and no
universal Python IDE with version control integration is available,
checking in and out files is not as simple. I am a keen user of Emacs, but
version control, which is very simple when you are in a Linux environment,
for example, is not a straightforward in Windows.

What is the most common adopted approach among Python developers working in
a Windows environment?

Carl

You can integrate PythonWin and version control if you know the
appropriate incantation. Vss used to work fine, but I upgraded and
couldn't be bothered to go through the installation steps again.

regards
Steve

Jul 18 '05 #4
Carl wrote:
Dear friends,

What is the ultimate version control tool for Python if you are working in a
Windows environment?

When you work on a Visual C++ project then it's easy, use Visual Source Safe
for your source code! But when it comes to large Python projects and no
universal Python IDE with version control integration is available,
checking in and out files is not as simple. I am a keen user of Emacs, but
version control, which is very simple when you are in a Linux environment,
for example, is not a straightforward in Windows.

What is the most common adopted approach among Python developers working in
a Windows environment?

Carl


I don't know that you'll find a common approach. I use Subversion for
version control. For larger projects, I use Eclipse with the Pydev
plugin for editing, and the Subclipse plugin for talking to Subversion.
For smaller things, I usually just edit with SciTE and use the
TortoiseSVN Explorer extension or the command-line utilities for
checkins and updates.

Peace,
Joe

Jul 18 '05 #5
In article <ma***************************************@python. org>,
gm**********@joefrancia.com says...
I don't know that you'll find a common approach. I use Subversion for
version control. For larger projects, I use Eclipse with the Pydev
plugin for editing, and the Subclipse plugin for talking to Subversion.
For smaller things, I usually just edit with SciTE and use the
TortoiseSVN Explorer extension or the command-line utilities for
checkins and updates.

Peace,
Joe

Hi Joe,

I'm curious. Why do you only use Eclipse for big projects?
Jul 18 '05 #6
Carl
What is the ultimate version control tool for Python if you are working
in a
Windows environment?


We use JEDI VCS (open source, free). To be fair, JEDI VCS actually
integrates into the Delphi IDE, which is what we use mostly. However, the
standard installation also installs a standalone client (as opposed to the
IDE client) that you can use for anything. Actually, we use the
standalone client for latex documentation, so I know it works well for
non-Delphi stuff.

The JEDI VCS server download (now) contains an embedded firebird database,
which makes setting up the whole server thing a total breeze. I just did
it a few days ago, took all of 2 minutes to set up the server and start
the service (and send a mail out to everyone asking them to install the
new client). Firebird is based on Interbase, if that means anything to
you.

You get full access controls (check-in/check-out), version history,
rollbacks, milestones, integrated diff, check-in requests, per-file
check-in/check-out comments, automated database backup, and so on. I
cannot recommend it highly enough actually :) Though we use it all the
time, we hardly think about it much, which is a really great feature for
this type of thing.

Of course, I have only used JEDI VCS, so I have nothing to compare it to:
ymmv.

keep well
Caleb
Jul 18 '05 #7
Carl wrote:
What is the ultimate version control tool for Python if you are working in a
Windows environment?


I would very much recommend Subversion. It's in no way specific to either
Windows or Python, but it's a wonderful tool. If you've ever used CVS, you'll
feel right at home. Or after 10 minutes of learning the commands, that is.

And as someone already suggested, TortoiseSVN is a great front-end for SVN. It
integrates with the Windows shell very nicely.

http://subversion.tigris.org/
http://tortoisesvn.tigris.org/

--
Timo Virkkala
Jul 18 '05 #8
I'll throw in my reccomendation for svn as well. It just works.

On Wed, 09 Feb 2005 14:01:33 -0800 (PST), Timo Virkkala <a@a.invalid> wrote:
Carl wrote:
What is the ultimate version control tool for Python if you are working in a
Windows environment?


I would very much recommend Subversion. It's in no way specific to either
Windows or Python, but it's a wonderful tool. If you've ever used CVS, you'll
feel right at home. Or after 10 minutes of learning the commands, that is.

And as someone already suggested, TortoiseSVN is a great front-end for SVN. It
integrates with the Windows shell very nicely.

http://subversion.tigris.org/
http://tortoisesvn.tigris.org/

--
Timo Virkkala
--
http://mail.python.org/mailman/listinfo/python-list

--
Thomas G. Willis
http://paperbackmusic.net
Jul 18 '05 #9
Chris wrote:

Hi Joe,

I'm curious. Why do you only use Eclipse for big projects?


Habit, mainly; plus it's easier for one-offs and single-file scripts to
just right-click a file in Explorer and "Edit with ScITE" and work from
there. And to further complicate matters, when in FreeBSD or Linux,
Eric3 and Kate fill the same roles as Eclipse and SciTE in Windows-land.

Peace,
Joe
--
Soraia - http://www.soraia.com

Jul 18 '05 #10
Sergei Organov <os*@javad.ru> wrote:
Carl <ph***********@chello.se> writes:

[...]
I am a keen user of Emacs, but version control, which is very simple
when you are in a Linux environment, for example, is not a
straightforward in Windows.


Emacs + CVS (or CVSNT) should work just fine in Windows either.


When I have to edit stuff on windows I use emacs. Cvs works fine on
windows too. I haven't tried cvs in emacs on windows, but I suspect
it will work fine as all emacs does is shell out to the cvs binaries.

--
Nick Craig-Wood <ni**@craig-wood.com> -- http://www.craig-wood.com/nick
Jul 18 '05 #11
On Wed, 09 Feb 2005 13:13:01 -0500, rumours say that Peter Hansen
<pe***@engcorp.com> might have written:
BTW, as a general caution: while Visual Source Safe may be
"easy", it's also dangerous and has been known to corrupt
many a code base, mine included. I wouldn't touch the product
with a virtual ten-foot pole


Are you sure you got the acronym right?-) It seems that VSS provides viRTual
source-safety...
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should keep that in mind when talking with people, actually...
Jul 18 '05 #12
[Peter Hansen]
BTW, as a general caution: while Visual Source Safe may be
"easy", it's also dangerous and has been known to corrupt
many a code base, mine included. I wouldn't touch the product
with a virtual ten-foot pole

[Christos TZOTZIOY Georgiou] Are you sure you got the acronym right?-) It seems that VSS provides viRTual
source-safety...


In my circles, VSS is most often referred to as Visual Source Unsafe.

--
alan kennedy
------------------------------------------------------
email alan: http://xhaus.com/contact/alan
Jul 18 '05 #13
On Thu, 10 Feb 2005 23:03:43 +0000, Alan Kennedy <al****@hotmail.com> wrote:
In my circles, VSS is most often referred to as Visual Source Unsafe.


I always find it amusing that VSS's icon is a safe - with the door wide open.

--
Cheers,
Simon B,
si***@brunningonline.net,
http://www.brunningonline.net/simon/blog/
Jul 18 '05 #14

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Fuzzyman | last post by:
It's finally happened, `Movable Python <http://www.voidspace.org.uk/python/movpy/>`_ is finally released. Versions for Python 2.3 & 2.4 are available from `The Movable Python Shop...
53
by: Michael Tobis | last post by:
Someone asked me to write a brief essay regarding the value-add proposition for Python in the Fortran community. Slightly modified to remove a few climatology-related specifics, here it is. I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.