[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Changed IP of cvs server,then it can't update !
From: |
Jim Hyslop |
Subject: |
Re: Changed IP of cvs server,then it can't update ! |
Date: |
Mon, 13 Mar 2006 13:33:55 -0500 |
User-agent: |
Mozilla Thunderbird 1.0.6 (Windows/20050716) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jason Brown wrote:
> ? I've had to deal with this rather regularly as a result of changing ip
> addresses without a good hostname to checkout from. It seemed annoying, but
> not difficult to work with...I'm sure it would only take two minutes to write
> a shellscript to handle it.
Someone's already done it. Have a look at the newcvsroot script,
distributed in the 'contrib' directory of the source code.
> If I've been doing something horribly wrong here (other than having a
> repository running off of DHCP ...there was no way around *that*
> unfortunately), or there is an existing tool for this, somebody please tell
> me. It would be quite bad if I had somehow risked corruption of the working
> copy I had done this for.
OK, I must be missing something here. The whole point of hostnames is to
avoid having to worry about IP addresses. Why do people (you're not the
only one, I see this all the time) insist on hard-coding IP addresses?
Is it really that hard to set up hostnames and DNS systems?
Heck, even adding an entry to /etc/hosts would work, then all you have
to do is modify one line and away you go.
- --
Jim Hyslop
Dreampossible: Better software. Simply. http://www.dreampossible.ca
Consulting * Mentoring * Training in
C/C++ * OOD * SW Development & Practices * Version Management
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFEFbsTLdDyDwyJw+MRAqA5AJ4vIFr0GSYI3aKyNy34MFijEd6OdwCg57Pf
1Qddb/N/iE1Tqd8ZGElsIis=
=o/pv
-----END PGP SIGNATURE-----