CVS_REPOS

Yannis Kotsinos zookie at med.auth.gr
Tue Feb 19 16:13:01 EET 2002


>> Mporeis bebaia na ftia3eis kai kapoio scriptraki poy
> > apla 8a kanei export ton diaforetiko CVSROOT soy.
>
> Για Remote μιλάω και εγώ (pserver).

Nai sorry... to eida meta :-)

> Είμαι σχεδόν σίγουρος ότι δε χρειάζονται
> 2 χρήστες. Δε πιστεύω ότι ο pserver μπορεί να βλέπει 1 μόνο repository.

Kata pasa pi8anothta exeis dikio. Apla emeis to doyleyoyme  mesw toy
built-in cvs client toy forte poy yposthrizei diaforetiko xrhsth ana
repository opote einai pio boliko etsi. An tyxon 8eleis kati se scriptaki
lysh ayto xrhsimopoiw gia to login poy kanei o crontab gia export kai
backup.

cat repository1.login

#!/usr/bin/expect
send_user "\r\n\n\n"
send "cd /home/cvs\r"
spawn /usr/bin/cvs -d :pserver:cvsuser at pc.domain.gr:/path/to/repository
login
expect password:
send "yourpassword\r"
send_user "\r\n Done \r\n\n\n"
exit







More information about the Linux-greek-users mailing list