[Mageia-sysadm] [800] add various urls and TODO

root at mageia.org root at mageia.org
Fri Jan 14 03:40:33 CET 2011


Revision: 800
Author:   misc
Date:     2011-01-14 03:40:32 +0100 (Fri, 14 Jan 2011)
Log Message:
-----------
add various urls and TODO

Modified Paths:
--------------
    puppet/modules/git/manifests/init.pp

Modified: puppet/modules/git/manifests/init.pp
===================================================================
--- puppet/modules/git/manifests/init.pp	2011-01-14 02:40:31 UTC (rev 799)
+++ puppet/modules/git/manifests/init.pp	2011-01-14 02:40:32 UTC (rev 800)
@@ -5,6 +5,7 @@
     }
 
     class server inherits common {
+        # http://www.kernel.org/pub/software/scm/git/docs/everyday.html#Repository%20Administration
         $git_base_path = '/git/'
 
         xinetd::service { "git":
@@ -17,17 +18,25 @@
 
         # TODO
         # define common syntax check, see svn 
-        #        proper policy : no-fast-forward
+        #          http://stackoverflow.com/questions/3719883/git-hook-syntax-check
+        #        proper policy : fast-forward-only 
+        #              ( http://progit.org/book/ch7-4.html ) 
         #            no branch ?
         #            no binary
         #            no big file
-        #            no empty commit message, no root 
+        #            no empty commit message
+        #            no commit from root
+        #        see http://www.itk.org/Wiki/Git/Hooks 
         #        automated push to another git repo ( see http://noone.org/blog/English/Computer/VCS/Thoughts%20on%20Gitorious%20and%20GitHub%20plus%20a%20useful%20git%20hook.futile
         # 
         # how do we handle commit permission ?
+        #   mail sending
+        # 
     }
 
     define repository($description = '') {
+        # http://eagleas.livejournal.com/18907.html
+        # TODO --shared=group + set g+ws 
         exec { "git init --bare $name":
             creates => $name,
         }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110114/e95c87d3/attachment.html>


More information about the Mageia-sysadm mailing list