<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://kerlinux.org/w/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
		<id>http://kerlinux.org/w/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="http://kerlinux.org/w/index.php?action=history&amp;feed=atom&amp;title=Subversion"/>
		<link rel="alternate" type="text/html" href="http://kerlinux.org/w/index.php?title=Subversion&amp;action=history"/>
		<updated>2026-04-14T15:39:39Z</updated>
		<subtitle>Historique pour cette page sur le wiki</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>http://kerlinux.org/w/index.php?title=Subversion&amp;diff=239&amp;oldid=prev</id>
		<title>SLiX : A protégé « Subversion » ([edit=autoconfirmed] (infini) [move=autoconfirmed] (infini))</title>
		<link rel="alternate" type="text/html" href="http://kerlinux.org/w/index.php?title=Subversion&amp;diff=239&amp;oldid=prev"/>
				<updated>2012-05-15T12:14:18Z</updated>
		
		<summary type="html">&lt;p&gt;A protégé « &lt;a href=&quot;/wiki/Subversion&quot; title=&quot;Subversion&quot;&gt;Subversion&lt;/a&gt; » ([edit=autoconfirmed] (infini) [move=autoconfirmed] (infini))&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Version précédente&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Version du 15 mai 2012 à 12:14&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>SLiX</name></author>	</entry>

	<entry>
		<id>http://kerlinux.org/w/index.php?title=Subversion&amp;diff=197&amp;oldid=prev</id>
		<title>SLiX : /* Pas de commentaire, pas de commit */</title>
		<link rel="alternate" type="text/html" href="http://kerlinux.org/w/index.php?title=Subversion&amp;diff=197&amp;oldid=prev"/>
				<updated>2012-01-30T14:56:49Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Pas de commentaire, pas de commit&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Version précédente&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Version du 30 janvier 2012 à 14:56&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 13 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 13 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==== Pas de commentaire, pas de commit ====&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==== Pas de commentaire, pas de commit ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Ce script permet de refuser un commit si celui-ci n'a pas de commentaire:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Ce script &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;(pre-commit) &lt;/ins&gt;permet de refuser un commit si celui-ci n'a pas de commentaire:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>SLiX</name></author>	</entry>

	<entry>
		<id>http://kerlinux.org/w/index.php?title=Subversion&amp;diff=196&amp;oldid=prev</id>
		<title>SLiX : Page créée avec « == Hooks ==  === Introduction === Les ''hooks'' sont des commandes lancées automatiquement lors de certaines actions. Ces commandes sont généralement des scripts permettan... »</title>
		<link rel="alternate" type="text/html" href="http://kerlinux.org/w/index.php?title=Subversion&amp;diff=196&amp;oldid=prev"/>
				<updated>2012-01-30T14:55:54Z</updated>
		
		<summary type="html">&lt;p&gt;Page créée avec « == Hooks ==  === Introduction === Les &amp;#39;&amp;#39;hooks&amp;#39;&amp;#39; sont des commandes lancées automatiquement lors de certaines actions. Ces commandes sont généralement des scripts permettan... »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Hooks ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
Les ''hooks'' sont des commandes lancées automatiquement lors de certaines actions. Ces commandes sont généralement des scripts permettant d'effectuer des actions du genre:&lt;br /&gt;
&lt;br /&gt;
* Envoi de mail de rapport&lt;br /&gt;
* Déploiement d'application&lt;br /&gt;
* Vérification de contraintes&lt;br /&gt;
&lt;br /&gt;
Ces scripts sont présents dans le répertoire '''hooks''' du dépôt Subversion.&lt;br /&gt;
&lt;br /&gt;
=== Scripts ===&lt;br /&gt;
&lt;br /&gt;
==== Pas de commentaire, pas de commit ====&lt;br /&gt;
Ce script permet de refuser un commit si celui-ci n'a pas de commentaire:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
REPOS=&amp;quot;$1&amp;quot;&lt;br /&gt;
TXN=&amp;quot;$2&amp;quot;&lt;br /&gt;
&lt;br /&gt;
SVNLOOK=/usr/bin/svnlook&lt;br /&gt;
&lt;br /&gt;
$SVNLOOK log -t &amp;quot;$TXN&amp;quot; &amp;quot;$REPOS&amp;quot; | grep -q &amp;quot;[a-zA-Z0-9]&amp;quot;&lt;br /&gt;
if [ $? -ne 0 ] ; then&lt;br /&gt;
   echo &amp;gt;&amp;amp;2&lt;br /&gt;
   echo &amp;gt;&amp;amp;2 &amp;quot;No comment, no commit !&amp;quot;&lt;br /&gt;
   exit 1&lt;br /&gt;
fi&lt;br /&gt;
exit 0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Catégorie:Applications]]&lt;/div&gt;</summary>
		<author><name>SLiX</name></author>	</entry>

	</feed>