Jean Hollis Weber wrote:
Diane wrote:
[snip]
http://documentation.openoffice.org/faqs/site_maintainers/003.html

Good Luck!


Thanks, Diane. I've just looked at that one, but IIRC, my main problem was in establishing a terminal connection (and thus logging in to create a tunnel) using the instructions provided on the page I've been complaining about (a page to which this FAQ refers, btw), so I never got to any of the real work routines. I hope that once I get past that hurdle, then the rest of the stuff will work okay for me.


I found the email (copied below) that I sent Daniel when he was experiencing difficulty using ssh and CVS. At the end of Aug '04 he created: http://www.math.umd.edu/~dcarrera/openoffice/misc/cvs_guide.pdf

I'm pleased that Daniel used my comment about the gotcha about adding
new files when the directory paths don't appear to work. This still
happens, but less so now.

Diane is creating and maintaining FAQs which is great, and since then
Leon (fellow PLUG member) has created a tutorial on tunnelling with
PuTTY: http://www.cyberknights.com.au/doc/PuTTY-tunnelling-HOWTO.html
Leon does comment on a problem he had with XP, but I'm not sure whether
it is relevant to the problems that you are having Jean.

Like Ian, I prefer to know why I'm doing things, but I have been quite
happy to be guided by others to just follow the steps and in the process
understand CVS better. Just recently, I attempted to use tools such as
TortoiseCVS and WinCVS, but have returned to using Cygwin on my Windows
box. This is because I use UNIX and Linux at other times, and tools or
programs such as ssh are an inherent part of the OS that I don't have to
download, install or run different software when using other machines.

Regards
Jacqueline


-------- Original Message -------- Subject: [Fwd: ssh and cvs] Date: Fri, 21 May 2004 15:58:54 +0800 From: Jacqueline McNally <[EMAIL PROTECTED]> To: [EMAIL PROTECTED]

I don't think Diane will mind if I simply forward my message about ssh
and cvs. It was drawn from my cheat sheet that I leave lurking around in
my email client. I simply substituted my OOo username for Diane's.

Regards
Jacqueline

-------- Original Message --------
Hello Diane

I pop in now and again to the [authors] list and spotted something I may
be able to assist you with.

When I started out, at Louis' suggestion, I looked up all these, with
varying levels of success:
http://www.openoffice.org/docs/ddSSHGuide.html
http://www.openoffice.org/docs/ddCVS.html
http://website.openoffice.org/support/en/howtos/1-v1a.html
http://website.openoffice.org/support/en/howtos/1.html
http://www.nbcs.rutgers.edu/ssh/putty.php3

Now, that I have history recorded in my bash shell, I don't have to
worry about them that much.

The tricky part is knowing the directory structure of the project that
you are working on. Hopefully if I show you the one for marketing, you
will be able to figure out the one for documentation. I think you should
safely be able to s/marketing/documentation. Also, the examples below
are assuming your OOo username is mackmoon.

I work with two terminal windows or shells.

The first to establish the tunnel:

ssh -2 -x -L 2401:localhost:2401 [EMAIL PROTECTED]

I am then prompted for my ssh passphrase. Successfully entered, I
minimise this shell. Note: If I mistype the passphrase it will prompt
for the ssh passphrase two more times, before giving up. The first time
(ever) you do this, it will ask for a password, in which case you exit
out, and start over.

In the second shell, I use to login into CVS and actually do some work:

To login:
cvs -d:pserver:[EMAIL PROTECTED]:/cvs login
Then prompted for OOo password associated with OOo username mackmoon.

To checkout (or startover) from the cvs repository:
cvs -d:pserver:[EMAIL PROTECTED]:/cvs checkout marketing
Note: You have to do this the first time.

If you don't want to checkout or startover the whole project, you can
update a particular file, this is assuming you have checked out initially:
cvs -d:pserver:[EMAIL PROTECTED]:/cvs checkout marketing/www/index.html
Where the filename=index.html and is located in the www directory of the
marketing project.

To commit changes to a file in the repository having tweaked on your own
disk:
cvs -d:pserver:[EMAIL PROTECTED]:/cvs commit -m "comment"
marketing/www/filename

Note 1: If you do not include a comment, you will be prompted for one.
Note 2: Directory structure is project name/www/project files for most
projects.

To add a new file is a two step process.
cvs -d:pserver:[EMAIL PROTECTED]:/cvs add marketing/www/filename
cvs -d:pserver:[EMAIL PROTECTED]:/cvs commit -m "comment"
marketing/www/filename

The only gotcha is sometimes the directory paths don't appear to work.
The way around this is simply to go to the particular directory where
the file is located on your hard disk and remove any references to the
directory in the cvs command. For example, if you are committing a file
called todo.html, use cd to move to the directory that contains
todo.html, then:
cvs -d:pserver:[EMAIL PROTECTED]:/cvs commit -m "comment" todo.html

I have not attempted to use any GUI for CVS as I find that most of the
work is done locally except for the few commands above that are
contained in my bash history.

Hope this helps.

Regards
Jacqueline





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to