Re: [viewvc-dev] Current target version of Python for ViewVC

"C. Michael Pilato" <[email protected]> Fri, 1 Mar 2013 09:15:00 -0500
Newsgroups gmane.comp.version-control.cvs.viewcvs.devel
Organization CollabNet, Inc.
Message-ID <[email protected]>
------=_Part_4161_874750165.1362147304264
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On 02/28/2013 04:45 PM, Grant Bremer wrote:
> All --
>=20
> What is the current target version of Python for ViewVC? I am looking to =
add
> some additional options to bin/cvsdbadmin to optimize loads and refreshes=
,
> and would like to consider optparse to process them. Since optparse was
> introduced in Python 2.3 almost 10 years, ago, I would not expect using
> optparse to be an issue. I looked at the currently supported RHEL version=
s
> as an indication what Python is still under support. RHEL 3 shipped with
> Python 2.2, and support when EOL in 2009. RHEL 4 shipped with Python 2.3,
> and entered EOL last year. I would assume then that Python 2.4 is the tar=
get
> version, correct?

2.4 is, in fact, the target version for the trunk (1.2-dev).  The 1.1.x lin=
e
and prior require 1.5.2 for CVS browsing, 2.0 for Subversion.

If your changes to cvsdbadmin don't break compatibility with current
invocations of the script -- that is, if a command line I could run today
would still work the same with your patched script -- you might consider
using good ol' (?) getopt so that I can backport your improvements to 1.1.x
which will, unlike 1.2-dev, probably see a release this side of Eternity.
:-)  Or, send patches for both lines of development, with trunk getting the
optparse flavor and 1.1.x getting getopt.  Or, just send the optparse
version, and I'll try port it to getopt for 1.1.x myself.  Or ... well, I'm
out of "ors" at this point.  So let's try an "and":   And thanks in advance
for your patches!

--=20
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Enterprise Cloud Development

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=3D4251&dsMessageId=3D3=
050118

To unsubscribe from this discussion, e-mail: [[email protected]=
.org].
------=_Part_4161_874750165.1362147304264
Content-Type: application/pgp-signature; name=signature.asc
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=signature.asc
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJRMLfkAAoJEPXg8AH+aBMzgS0P/35f8CEnZ2XMPposlYeb2N7f
ws6W9mbyTgEvi0s+4O1njGB67Dy0fj+v5z0KgkUnJeSIOHhd7rr+bH+sX50VUANF
wJ4T6kb6vkNRkb566LH2b7DAwIetznPkDnciO/O5W6AjJGXqeF/Fm2Q+W7TkVQ9C
EWsajWAM36yEYSbDTE5cu2q1fQ6ASsmwz4P/8zShnKUX38GgNFKBS/hhZ5qHAw7X
Ud+8dFA8oyb8Qu/NInMiuUzO03CIP5wtPrBpbSejlH1y1QcQ0H+0l0mMNPtvxFJ7
0lhKPocQak+UJIU76l5WqKvY+ZrDB9NVKSQbFVU1Jf6qlDCsJhrCSJ5jhH9vFs10
mMBc6UqPpFRukkus+/oG9VBJMf183jhiSA3HfaAKEvgDnGQnoE1Q1Xl6eBvlG82z
KPPpjELOp7RRCrU/ThcBfdp5+JPg/xZKj+fUqEkhVMhqdyzg3vE7y0bTD8AMvktd
IHgfIRp/YsdrUJL8tkOTYivRZ2SAyyC3iubQcuK2t2DlFiY8iXF6lLK1CZPJYD/7
C/nkb7ND9IpAbNwPCg1SeWTYfWZjBr2MkuoVhQi8ubqttkhLVyEBJTaU1+2LmTRC
4olA2yXOmS3fET2mPs9vkzcTOwxjvBcEiCNfFCNdCDZDsDZ5VbM6R1Ts1rT5Kv9H
plFIeBmzPfJQaR7devx8
=Lkdr
-----END PGP SIGNATURE-----

------=_Part_4161_874750165.1362147304264--