Lai piekļūt SVN repozitorijām parasti izmanto Apache (http, https protokolu) vai SVNServe piekļūšanas protokolus (svn, svn+ssh). Par to kā uzstādīt Apache, lai piekļūtu repozitorijai biju aprakstījis šeit, par to kā izmantot SVNServe – tad tagad.

Viens no plusiem izmantojot SVNServe ir tas, ja esat uzstādījuši SVN uz attiecīgās darbstacijas vai servera tad nekas vairs nav nepieciešam ne instalēt, ne kompilēt. SVNServe ir iekļauts Subversion pamata pakā, kur šis process ir tikai jāaktivizē.

Aktivizēt to var ar šādu komandrindu:

svnserve -d --listen-port `ports` -r /var/svn/repository

Attiecīgi pēc tam piekļūšana ir:  svn://svn.lv:ports/
Lasīt tālāk »

SVN Pamatkomandas

» How to

7 Dec 2009

Šeit būs pašas nepieciešamākās lietas, kas nepieciešamas, lai lietotu Subversion bez jebkāda grafiskā klienta.

Getting Help

svn help apakškomandu saraksts
svn help subcommand apakškomandas palīdzība

Working Copies

svn checkout [flags] URL dest izveidot jaunu darba direktoriju
-r N izveidot atkārībā no uzdotās revīzijas

svn update [flags] [targets. . . ] iegūt jaunākos datus
-r N iegūt atkārībā no uzdotās revīzijas

svn commit [flags] [targets. . . ] ievietot lokālās izmaiņas repozitorijā
-m message Pievienot izmaiņu aprakstu
-F logfile Ievietot aprakstu failā

svn add [flags][ targets. . .] Pievienot darba direktorijai

svn rm [flags] paths | URLs. . . Izmest no darba direktorijas

svn import path URL Imports uz darba direktoriju Lasīt tālāk »

Lai nerasot dažādi pārpratumi, vai versiju konfliktu ir viens efektīvs risinājums Commint Monitor. Tas ik pa laikam (atkarībā no konfigurācijas) pārbauda repozitoriju un paziņo par tā izmaiņām, vai ir labota kāda versija, vai pievienots fails, vai arī veiktas kādas citas darbības. Attiecīgi, pēc šī paziņojuma tu zini, ka ir jāveic svn update, lai nerastos konflikti, jo kā zināms, ne vienmēr sanāk marge (apvienot) izmaiņas.

commit-monitor-config-b

Lejupielādēt priekš windows:
* CommitMonitor

Konfigurācijas fails, lai izmantotu Apache SVN autorizāciju izmantojot LDAP. Šī konfigurācija ir derīga Apache 2.2.x versijai.

# Load Apache LDAP modules
LoadModule ldap_module modules/mod_ldap.so
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
 
# Work around authz and SVNListParentPath issue
RedirectMatch ^(/repos)$ $1/
 
# Enable Subversion logging
CustomLog logs/svn_logfile "%t %u %{SVN-ACTION}e" env=SVN-ACTION

Lasīt tālāk »

Par šo blogu

Šis projekts ir izveidots tīri informatīvos nolūkos, lai esošajiem un jaunajiem projekta izstrādātājiem pastāstītu par SVN un tās priekšrocībām izmantojot tos savos projektos, jo kā pieredze rāda, ka daudziem tā joprojām ir sveša lieta.

RSS Subversion Blog

  • CollabNet Subversion Edge now GA!
    With the release of CollabNet Subversion Edge 1.1.0 today, I am pleased to announce that the Beta period has ended and the product has now reached GA status. The Beta period was hugely successful as we saw well in excess of a thousand installations. We also received a lot of... […]
  • CollabNet Subversion Edge 1.0.1 released
    I have just pushed the bits for the CollabNet Subversion Edge 1.0.1 release to the package repository. Those of you that have installed Subversion Edge should be able to see these updates now and install them. Click on the Administration tab and then Software Updates and ask it to check... […]
  • Introducing Subversion Edge
    Today I am pleased to be able to take the covers off an exciting new product we have been working on at CollabNet for a while now -- CollabNet Subversion Edge. I see Subversion Edge as the premier Subversion server distribution available today. It includes a complete stack of CollabNet-certified... […]
  • Guten tag, Berlin
    I've just arrived in Berlin for elego's Subversion Day conference and associated hackathon. I'll be giving the keynote talk on Friday morning, where I'll share a little bit about the recently adopted updated Subversion vision statement and roadmap. If you're in the area, consider attending the conference and meeting a... […]