cvs,latest branch version
V13
v13 at priest.com
Sun Feb 23 15:50:02 EET 2003
On Sunday 23 February 2003 13:27, Pavlos Parissis wrote:
> OKey ksana grafw oti egrapsa sto teleftaio mail mou me merikes allages.
>
> Tha exw 75 akrivos idious servers apo plevras hardware,software kai
> configuration files, me 5-8 mikres diafores o kathenas. Otan tha kanw mia
> allagh ston enan server, px allaksa kati sto sudoers file,prepei na
> enhmerothoun kai ypoloipoi 74 servers gia afth thn allagh. Opws
Edo theoro oti otan tha kaneis tin alagi, tha kaneis kai ena `cvs commit'
> katalavenete den iparxei periptwsh na kanw 74 login,74 visudo,74 x N
> prosthikes sto sudoers files. Etsi exw ftiaksei kapoia packages,ta project
> mou elega gia to cvs einai praktika packages pou exoun mesa ta arxeia pou
> kserw oti tha allazoun. Otan eimai ston server1 tha kanw thn allagh pou
> thelw kai meta tha kanw checkout apo ton CVS server to package pou exei
> mesa to arxeio pou piraksa. Ta packages apotelountai apo configuration
Diladi, mpeneis sto server1, kaneis alages kai meta les `cvs commit'.
Sti synexeia mpenei to scriptaki soy se oloys toys servers (akoma kai ston
server1) kai kane ena `cvs update' sto kathe dir
> files kai exoun thn domh tou /etc directory. Tha kanw tis idies allages sto
> arxeio apo ton working dir pou ekana checkout kai meta commit. H
> egkatastash tou paketou stous allous server tha ginete me ssh kai ta resta
> me perl scripts pou tha prepei na kseroun poia einai h teleftaia version
> enos project-package pou iparxei sto CVS, poios server thn exei kai poios
> oxi.Gia afto zitisa na mporw na kserw poia einai h teleftaia version enos
> project-package oxi enos arxeiou apo to project.
Ayto tha to xreiasteis mono an exeis dokimastikes ekdoseis tis opoios tha tis
stelneis men sto cvs server alla den theleis na tis pernoyn oloi. Se mia
tetoia periptosi synistatai h dimioyrgia enos branch sto opoio tha paizeis
kai meta h enosh toy me to main branch, to opoio tha koitane oloi oi aloi.
me liga logia:
ssh server1
server1:/etc# .. kaneis alages ..
server1:/etc# cvs commit
to script soy:
for a in server1 server2 ... serverN ; do
ssh root@$a /sbin/getnew.sh
done
kai to /sbin/getnew.sh to opoio exeis sto kathe mixanima:
#!/bin/sh
cd /etc
cvs update
kai eisai ok.. (sto parapano theoro oti exeis setarei to ssh toy root oste na
epitrepei eisodo me public key authentication gia na min xreiazetai password)
> Pavlos
<<V13>>
More information about the Linux-greek-users
mailing list