cvs,latest branch version

Pavlos Parissis p_pavlos at freemail.gr
Sun Feb 23 16:18:01 EET 2003


On Sun, 23 Feb 2003 15:51:46 +0200 V13 <v13 at priest.com> wrote:
>  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)

to epeiases to nohma alla den tha valw katw apo CVS olo to etc opws kaneis esi
edo.Den thelw na kanw kati tetoio gia 2 logous:
1->Oti mpainei stou servers, configuration kai software prepei na einai sthn morfh
package
2->Den nomizw na einai oti kai pio asfales afto,ennow oti kati lathos na ginei apo
plevras xristh kai meta asta pane.

EKana shmera kati test me vash afta pou mou eipes.
Ekana checkout ena project ekana allages
kai meta commit.AMesws meta ekana tag, cvs tag rel-1-0 .

Otan ksana ekana checkout phra ta teleftaia revisions twn files pou tixenei na
einai to tag rel-1-0. Kanw pali allages kai kanw pali commit kai meta tag -r
rel-1-1. Ama thelw na dw tis prwtes allages tote apla kane checkout -r rel-1-0 kai
afto htan. Ara tha exw ti ekseis politi:
1-> checkout
2-> modify
3-> commit
4->tag rel-1-n .

Twra to mono pou menei einai na vrw ena tropo na petaw thn version tou teleftaiou
tag pou eftiaksa se ena arxeio.Lew teleftaio tag dioti simfona me thn politiki pou
tha exw panta to teleftaio tag na  isodinami me to ti exei exei to main branch.
Ta lew kala afth thn fora?

Paw na ftiaksw frappe dioti mpouktisa..
Pavlos




-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I love having the feeling of being in control
while i have the sensation of speed

The surfer of life
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GnuPG 1024D/FB1E6AE7 = A9AE EA0C EE1F FBD0 5B6F  3F77 2782 EFE2 FB1E 6AE7
Get my key here: http://users.hol.gr/~p_pavlos/pubpgpkey.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.hellug.gr/pipermail/linux-greek-users/attachments/20030223/b0137104/attachment.pgp>


More information about the Linux-greek-users mailing list