Ku Bilow Qaran dumis addoo isticmaalaya SvnX

Haddii aad tahay horumariye, kontoroolka nooca software wuxuu kuu ogolaanayaa inaad la socoto isbeddelada koodkaaga. Tani waxay lama huraan u tahay mashaariicda aad ka shaqaynayso qayb ka mid ah kooxda, taasoo kuu ogolaanaysa inaad la socoto isbeddelada marka ay dhacaan. Iyadoo adeegyada sida GIT ay caan yihiin, gaar ahaan softiweerka isha furan(open-source software) , beddelka sida Subversion ( SVN ) ayaa bixiya koontarool badan.

Macmiil kala duwan oo SVN ah ayaa jira, laakiin isticmaalayaasha Mac , ikhtiyaarka caanka ah waa SvnX . Waxaan markii hore taabanay macmiilkan fudud, xorta ah, iyo isha furan ee Mac SVN toban sano ka hor, oo leh astaamo badan oo cusub iyo isbedelo lagu quusin karo tan iyo markaas. Haddii aad rabto inaad isticmaasho SvnX , halkan waxaa ah wax walba oo aad u baahan tahay inaad ogaato si aad u bilowdo.

Ku Bilow Subverion addoo isticmaalaya SvnX

Waa maxay (SVN) Qaran dumis?

Noocyada kale ee kantaroolka nooca, sida GIT , waxay ku tiirsan yihiin hab baahsan oo lagu xakameynayo nooca. Shaqaale kastaa wuxuu helayaa koobiga koodka, waxay ku shaqeeyaan koodkaas, ka dibna isbeddelada ayaa lagu dhejiyaa (go'an) dul koodka weyn.

Apache Subversion waxay u shaqeysaa si kala duwan. Halkii hab maamul-daadejin laga samayn lahaa, Qaran- dumistu(Subversion) waa mid dhexe. Waxa jira hal, kayd kood dhexe oo keliya, iyadoo horumariye kastaa uu ka shaqaynayo qaybihiisa gaarka ah. Dib-u-eegis kasta oo koodka lagu sameeyo waa lala socdaa, iyada oo awoodda dib loogu noqonayo noocyadii hore la fududeeyey. 

Jaantuska socodka kaydka ee SVN oo tusaya dhammaan horumariyeyaal ku xidhan kaydka dhexe

Tani waxay siisaa maamulayaasha kontorool badan, ammaan badan, waxayna noqon kartaa nidaam sahlan oo lagu bilaabo isticmaalka. Haddii habka dhexe uu adiga kuu yahay, ka dibna ku rakibida SvnX waa tillaabadaada ugu horeysa ee aad u isticmaasho Subversion on Mac . Macmiilkani waxa uu ku daraa interface GUI abka Terminalka Subversion .

Ku rakibida SvnX Subversion ee macOS

Noocyadii hore ee SvnX waxay(SvnX) u baahdeen in lagu rakibo gacanta ee Subversion macOS ka hor inta aanu macmiilku shaqayn. Mahadsanid, macOS hadda waxaa ku jira noocii dhawaa ee Qaran- dumis(Subversion) , markaa tani hadda lagama maarmaan maaha.

Si aad u rakibto oo aad u socodsiiso nooca ugu casrisan ee SvnX , waxaad u baahan doontaa inaad ku rakibto maamulaha xirmada Homebrew(Homebrew package manager) ee macOS. Noocyada kale ee la heli karo ee SvnX , oo ay ku jiraan kuwa lagu bixiyo "rasmiga ah" laakiin muddo dheer laga soo tagay website-ka SvnX(long-since abandoned SvnX website) , si fudud uma shaqeyn doono rakibaadda macOS ee dhowaan sababtoo ah xaaladdeeda 32-bit ee ka weyn.

  • Haddii aadan ku rakibin Homebrew macOS, fur daaqadda terminal oo ku qor /usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install )" si loo bilaabo rakibidda. Sug(Wait) soo dejinta iyo qoraalka rakibidda si ay u dhammaystiraan, oo raac tilmaamaha shaashadda.
  • Marka Homebrew la rakibo, ku qor brew cask ku rakib svnx gudaha terminalka, oo ku dhufo gal. Tani waxay soo dejisan doontaa oo rakibi doontaa nooca ugu dambeeyay, nooca 64-bit ee SvnX ee loo heli karo macOS. Homebrew ayaa ku ogeysiin doona marka habka rakibidda la(brew cask install svnx in the terminal, and hit enter. This will download and install the latest, 64-bit version of SvnX available for macOS. Homebrew will alert you once the installation process has been ) dhammeeyo.

Daaqadda rakibida Homebrew oo lagu guulaystay

  • Waxaad ka bilaabi kartaa SvnX Launchpad (SvnX),(Launchpad) ama adigoo laba jeer gujinaya abka ku jira galka Codsiyada(Applications) ee Finder . Si kastaba ha noqotee, marka ugu horeysa ee aad tan sameyso, macOS waxay u badan tahay inay xannibi doonto isku dayga sababo ammaan dartood.

    Waxaad u baahan doontaa inaad u ogolaato SvnX inuu bilaabo adigoo gujinaya Launchpad > System Preferences > Security & Privacy iyo, tabka Guud , dhagsii badhanka (General)Furan(Open Anyway) si kasta oo ku xiga digniinta bilaabista SvnX .

Ku fur badhanka Anyway gudaha Amniga & Qarsoonaanta

  • Kahor intaadan bilaabin, macOS wuxuu ku waydiin doonaa oggolaanshaha kama dambaysta ah. Guji Fur(Open) si aad ugu oggolaato SvnX inuu ugu dambeyntii bilaabo abka.

Badhanka furan ee macOS ma xaqiijin karo shaashadda

Ka dib markii ugu horeysay ee la soo bandhigay, macOS wuxuu u oggolaanayaa SvnX inuu shaqeeyo iyada oo aan wax arrimo amni ah oo dheeraad ah la helin.

Sida Loo Isticmaalo SvnX Subversion(How To Use SvnX Subversion)

Marka ugu horeysa ee aad bilowdo SvnX , waxaa lagu soo bandhigi doonaa shaashad aasaasi ah oo cadaalad ah. Dhanka bidix waxaa ku taxan laba qaybood oo loo yaqaan Copy Working(Working Copies) and Repositories.

Kaydka Settings tab ee Bookmarks

Kaydyadu waa adeegayaasha dhexe ee SVN ee aad ku xidho. Kaydka SVN(SVN) ayaa haya dhammaan faylasha mashruucaaga. Markaad cusboonaysiiso faylka, sumad cusub oo dib u eegid ayaa lagu daraa, taasoo kuu ogolaanaysa inaad kala saartid nuqullada cusub iyo kan cusub ee faylalkaaga kaydka.

Nuqullada shaqadu waa halka lagu kaydiyo nuqullada maxalliga ah ee faylasha kaydka. Tani waxay kuu ogolaaneysaa inaad wax ka beddesho faylashaada gudaha ka hor intaadan u galin kaydka. Faylasha sida caadiga ah waxaa loo kala saaraa meelo kala duwan oo diiradda la saarayo sida jirridda(trunk ) (kooobiyada xasilan), laanta(branch) (faylalka ku hoos jira horumarinta firfircoon) iyo summada ( kooobiyada(tag ) kaydinta muhiimka ah).

  • Si aad ugu darto kayd cusub, dhagsii badhanka Settings(Settings button) ee ku yaal liiska gacanta bidix oo guji Ku dar Kaydka(Add Repository)

Ku dar kaydka menu-ka midig-guji

  • Waxaad u baahan doontaa inaad bixiso tafaasiil ku saabsan serfarkaga Qaran-dumisnimada si uu kuu oggolaado inaad ku xidho. Ku qor server-ka kaydka SVN sanduuqa (SVN)URL , adoo siinaya kaydka magac xusuus leh oo hoos yimaada Magaca(Name) . Haddii aad leedahay magac isticmaale iyo erayga sirta ah, ku qor kuwa ku jira sanduuqa(Username) isticmaalaha iyo lambarka sirta(Password) ah.

Ku tijaabi SVN meelaha kaydka ah

  • Marka tafaasiishaadu meesha taal, laba jeer ku dhufo galitaanka kaydkaaga ee liiska gacanta bidix, ama dhagsii Details > Refresh Now . Tani waxay furi doontaa liiska gelitaanka ee kaydkaaga SVN(SVN) , taasoo kuu oggolaanaysa inaad gasho faylalka kaydka ee jira iyo dib u eegistii hore, oo aad isbeddel ku samayso sida loo baahdo.

Tijaabi daaqada SVN

  • Haddii aad rabto inaad dhoofiso nuqul ka mid ah kaydka SV gaaga oo ah nuqul shaqaynaysa(working copy) si aad u samayso tafatir maxalli ah, dooro dib-u-eegis (lambarada ku hoos jira tiirarka Rev. ), ka dibna dooro galka xagga hoose ee shaashadda.

    Si aad u sameyso nuqul maxalli ah, dhagsii badhanka Checkout ee dhanka sare ee midig. Xaqiiji meesha aad rabto inaad ku kaydiso faylashan ka hor intaadan dhagin(Checkout) badhanka hubinta. 

Badhanka hubinta ee Test SVN

  • Waxaad ka heli doontaa macluumaad dheeraad ah oo ku saabsan nuqulka shaqada ee kaydsan ee daaqada SvnX ee ugu weyn , oo ku hoos taxan Nuqulada Shaqada(Working Copies) ee liiska gacanta bidix. Marka aad wax ka badasho nuqulka shaqada ee SVN , laba jeer ku dhufo gelida daaqada ugu weyn ee SvnX . Daaqadda Copy Working(Working Copy)

    ee soo muuqata, dooro faylal kasta ama faylal kasta oo aad wax ka beddeshay, dabadeed dhagsii Ballanqaadka(Commit) si aad u kaydiso dib-u-eegis cusub oo lagu sameeyo kaydka dhexe ee SVN .

Badhanka go'aaminta gudaha SVN

Dib u eegis kasta oo cusub oo aad samayso waxa lagu qori doonaa daaqada kaydka ee seerfarkaaga (Repository)SVN . Waxaad samayn kartaa nuqullo shaqo oo cusub oo ku saabsan dib-u-eegistii hore si aad "fargeeto" koodkaaga oo aad dib ugu noqotid nooc hore, haddii aad u baahato.

Xakamaynta Nooca Waxtarka leh ee SvnX(Effective Version Control with SvnX)

Haddii aanad isticmaalayn nidaamka xakamaynta nooca, isbedel kasta oo aad ku samayso koodkaaga waa u dambeeya. Dib uma dhaqaaqi kartid, mana soo celin kartid isbedelada aad ku sameyso safka hoose. Isticmaalka SvnX ee Mac wuxuu kaa caawinayaa inaad wax ka qabato dhibaatadan, adoo siinaya hab fudud oo waxtar leh oo lagula socdo isbeddelada koodka. 

SvnX waxyar baa duugoobay, in kastoo, si xor ah u isticmaal beddelka nooca Versions haddii aysan ahayn macmiilka Mac SVN ee adiga kugu habboon. Dabcan, ma ordi kartid ka hor intaadan socon, markaa haddii aad rabto inaad barato sida loo codeeyo(learn how to code) , waxaa jira tiro adeegyo iyo apps ah oo ku caawinaya.



About the author

Waxaan ahay injineer software iyo sahamiye. Waxaan khibrad u leeyahay labada Microsoft Xbox 360 iyo Google Explorer. Waxaan awoodaa inaan bixiyo talooyinka khabiirada ee qalabyada horumarinta software-ka qaarkood, iyo sidoo kale inaan caawiyo dadka inay cilad-saaraan khaladaadka Explorer ee caadiga ah.



Related posts