<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://wiki.livois.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Subversion</id>
	<title>Subversion - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.livois.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Subversion"/>
	<link rel="alternate" type="text/html" href="https://wiki.livois.com/mediawiki/index.php?title=Subversion&amp;action=history"/>
	<updated>2026-05-25T04:09:11Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.livois.com/mediawiki/index.php?title=Subversion&amp;diff=171&amp;oldid=prev</id>
		<title>Christophe : 1 version</title>
		<link rel="alternate" type="text/html" href="https://wiki.livois.com/mediawiki/index.php?title=Subversion&amp;diff=171&amp;oldid=prev"/>
		<updated>2012-05-28T20:31:56Z</updated>

		<summary type="html">&lt;p&gt;1 version&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 28 mai 2012 à 20:31&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;fr&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(Aucune différence)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Christophe</name></author>
	</entry>
	<entry>
		<id>https://wiki.livois.com/mediawiki/index.php?title=Subversion&amp;diff=170&amp;oldid=prev</id>
		<title>Christophe : /* Installation */</title>
		<link rel="alternate" type="text/html" href="https://wiki.livois.com/mediawiki/index.php?title=Subversion&amp;diff=170&amp;oldid=prev"/>
		<updated>2007-12-02T08:28:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Installation&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Applications]]&lt;br /&gt;
&lt;br /&gt;
{{En Construction}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
http://subversion.tigris.org&lt;br /&gt;
&lt;br /&gt;
http://svnbook.red-bean.com/nightly/en/index.html&lt;br /&gt;
&lt;br /&gt;
http://gentoo-wiki.com/Subversion&lt;br /&gt;
&lt;br /&gt;
Linuxmag 85&lt;br /&gt;
&lt;br /&gt;
=Installation= &lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote class=gentoo&amp;gt;&lt;br /&gt;
Package Gentoo: subversion&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Editer /etc/conf.d/svnserve&lt;br /&gt;
&amp;lt;licode file=/etc/conf.d/svnserve&amp;gt;&lt;br /&gt;
# Options for svnserve&lt;br /&gt;
SVNSERVE_OPTS=&amp;quot;--root=/var/www/svn.livois.com&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# User and group as which to run svnserve&lt;br /&gt;
#SVNSERVE_USER=&amp;quot;apache&amp;quot;&lt;br /&gt;
#SVNSERVE_GROUP=&amp;quot;apache&amp;quot;&lt;br /&gt;
&amp;lt;/licode&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 #/etc/init.d/svnserve start&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
Noter que subversion utilise le port tcp 3690&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Configuration=&lt;br /&gt;
&lt;br /&gt;
==Créer un repository==&lt;br /&gt;
&lt;br /&gt;
 #mkdir -p /var/www/svn.livois.com/monys&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #svnadmin create /var/www/svn.livois.com/monys&lt;br /&gt;
&lt;br /&gt;
Here is a brief description of all of the items you see in your new repository directory:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* conf - A directory containing repository configuration files.&lt;br /&gt;
* dav - A directory provided to Apache and mod_dav_svn for their private housekeeping data.&lt;br /&gt;
* db -  Where all of your versioned data resides. This directory is either a Berkeley DB environment (full of DB tables and other things), or is an FSFS environment containing revision files.&lt;br /&gt;
* format - A file whose contents are a single integer value that dictates the version number of the repository layout.&lt;br /&gt;
* hooks -  A directory full of hook script templates (and hook scripts themselves, once you&amp;#039;ve installed some).&lt;br /&gt;
* locks -  A directory for Subversion&amp;#039;s repository locking data, used for tracking accessors to the repository.&lt;br /&gt;
* README.txt - A file which merely informs its readers that they are looking at a Subversion repository.&lt;br /&gt;
&lt;br /&gt;
 #svn import /usr/local/monys file:///usr/local/svn/monys &lt;br /&gt;
&lt;br /&gt;
 #svn list file:///var/www/svn.livois.com/monys&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Configurer le mode webdav==&lt;br /&gt;
http://gentoo-wiki.com/HOWTO_Apache2_with_subversion_SVN_and_DAV&lt;br /&gt;
&lt;br /&gt;
http://svnbook.red-bean.com/nightly/en/svn.serverconfig.httpd.html&lt;br /&gt;
&lt;br /&gt;
&amp;lt;licode file=/etc/conf.d/apache&amp;gt;&lt;br /&gt;
APACHE2_OPTS=&amp;quot;$APACHE2_OPTS -D DAV -D DAV_FS -D SVN&amp;quot;&lt;br /&gt;
&amp;lt;/licode&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Commenter les lignes de 47_mod_dav_svn.conf&lt;br /&gt;
&amp;lt;licode file=/etc/apache2/modules.d/47_mod_dav_svn.conf&amp;gt;&lt;br /&gt;
        #&amp;lt;Location /svn&amp;gt;&lt;br /&gt;
                #DAV svn&lt;br /&gt;
                #SVNPath /var/svn/repos&lt;br /&gt;
                #AuthType Basic&lt;br /&gt;
                #AuthName &amp;quot;Subversion repository&amp;quot;&lt;br /&gt;
                #AuthUserFile /var/svn/conf/svnusers&lt;br /&gt;
                #Require valid-user&lt;br /&gt;
        #&amp;lt;/Location&amp;gt;&lt;br /&gt;
&amp;lt;/licode&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;licode file=/etc/apache2/vhosts.d/svn.livois.com.conf&amp;gt;&lt;br /&gt;
&amp;lt;IfModule mod_dav_svn.c&amp;gt;&lt;br /&gt;
&amp;lt;Location /svn&amp;gt;&lt;br /&gt;
  DAV svn&lt;br /&gt;
  SVNParentPath /var/www/svn.livois.com/&lt;br /&gt;
  #SVNPath /var/www/svn.livois.com/monys&lt;br /&gt;
&amp;lt;/Location&amp;gt;&lt;br /&gt;
&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&amp;lt;/licode&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Avec l&amp;#039;option SVNParentPath /var/www/svn.livois.com/, vérifier le fonctionnement avec la commande&lt;br /&gt;
 #svn list http://svn.livois.com/svn/monys&lt;br /&gt;
Avec l&amp;#039;option SVNPath, la vérification se fait par la commande:&lt;br /&gt;
 #svn list http://svn.livois.com/svn/&lt;br /&gt;
&lt;br /&gt;
=Utilisation=&lt;br /&gt;
==Créer sa base svn locale==&lt;br /&gt;
http://svnbook.red-bean.com/nightly/en/svn.tour.html&lt;br /&gt;
&lt;br /&gt;
 #cd localsvndir&lt;br /&gt;
&lt;br /&gt;
 #svn checkout file:///var/www/svn.livois.com/monys/&lt;br /&gt;
ou si le répertoire est accessible via webdav :&lt;br /&gt;
 #svn checkout http://svn.livois.com/monys&lt;br /&gt;
ou si les firewalls autorisent l&amp;#039;utiliation du protocole svn:&lt;br /&gt;
 #svn checkout svn://svn.livois.com/monys&lt;br /&gt;
&lt;br /&gt;
==Gérer les droits==&lt;br /&gt;
Les fichiers de configuration se trouvent dans /var/www/svn.livois.com/conf:&lt;br /&gt;
Trois fichiers servent à la configuration des droits :&lt;br /&gt;
* authz&lt;br /&gt;
* passwd&lt;br /&gt;
* svnserve.conf&lt;br /&gt;
&lt;br /&gt;
==Le cycle de travail==&lt;br /&gt;
http://svnbook.red-bean.com/nightly/en/svn.tour.cycle.html&lt;br /&gt;
&lt;br /&gt;
===Mettre à jour sa copie de travail===&lt;br /&gt;
 chris@home:~/svn/monys$ svn update&lt;br /&gt;
&lt;br /&gt;
 U    mail/dev/TODO&lt;br /&gt;
 Actualisé à la révision 2.&lt;br /&gt;
&lt;br /&gt;
===Faire des changements===&lt;br /&gt;
&lt;br /&gt;
 #svn add foo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #svn delete foo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #svn move foo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #svn copy foo  &lt;br /&gt;
&lt;br /&gt;
===Vérifier les changements===&lt;br /&gt;
&lt;br /&gt;
 #svn status&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #svn diff&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #svn revert&lt;br /&gt;
&lt;br /&gt;
===Envoyer ses changements (commit)===&lt;br /&gt;
&lt;br /&gt;
 #svn commit&lt;br /&gt;
&lt;br /&gt;
==Gestion des conflits==&lt;br /&gt;
http://svnbook.red-bean.com/nightly/en/svn.tour.cycle.html&lt;br /&gt;
&lt;br /&gt;
===Réserver un fichier (lock)===&lt;br /&gt;
http://svnbook.red-bean.com/nightly/en/svn.advanced.locking.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Clients pour Windows ==&lt;br /&gt;
RapidSVN - http://www.rapidsvn.org/&lt;br /&gt;
&lt;br /&gt;
TortoiseSVN  - http://tortoisesvn.net/&lt;br /&gt;
&lt;br /&gt;
=Administration=&lt;br /&gt;
==Sauvegarde==&lt;br /&gt;
&lt;br /&gt;
La sauvegarde :&lt;br /&gt;
 #svnadmin dump mon_referentiel &amp;gt; mon_fichier_de_sauvegarde&lt;br /&gt;
&lt;br /&gt;
La restauration:&lt;br /&gt;
 #svnadmin load mon_nouveau_referentiel &amp;lt; mon_fichier_de_sauvegarde&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Copy|2007|Christophe de Livois|FDL}}&lt;/div&gt;</summary>
		<author><name>Christophe</name></author>
	</entry>
</feed>