From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- .../20110116/230b2120/attachment-0001.html | 76 +++++++++++++ .../attachments/20110116/230b2120/attachment.html | 76 +++++++++++++ .../20110116/24c90d0b/attachment-0001.html | 105 +++++++++++++++++ .../attachments/20110116/24c90d0b/attachment.html | 105 +++++++++++++++++ .../20110116/34db0636/attachment-0001.html | 109 ++++++++++++++++++ .../attachments/20110116/34db0636/attachment.html | 109 ++++++++++++++++++ .../20110116/4680f040/attachment-0001.html | 105 +++++++++++++++++ .../attachments/20110116/4680f040/attachment.html | 105 +++++++++++++++++ .../20110116/4c9813a6/attachment-0001.html | 79 +++++++++++++ .../attachments/20110116/4c9813a6/attachment.html | 79 +++++++++++++ .../20110116/6f76be68/attachment-0001.html | 83 ++++++++++++++ .../attachments/20110116/6f76be68/attachment.html | 83 ++++++++++++++ .../20110116/92b5200b/attachment-0001.html | 89 +++++++++++++++ .../attachments/20110116/92b5200b/attachment.html | 89 +++++++++++++++ .../20110116/a759230d/attachment-0001.html | 78 +++++++++++++ .../attachments/20110116/a759230d/attachment.html | 78 +++++++++++++ .../20110116/c5ed51a0/attachment-0001.html | 77 +++++++++++++ .../attachments/20110116/c5ed51a0/attachment.html | 77 +++++++++++++ .../20110116/cd8f3497/attachment-0001.html | 94 ++++++++++++++++ .../attachments/20110116/cd8f3497/attachment.html | 94 ++++++++++++++++ .../20110116/d0de823a/attachment-0001.html | 125 +++++++++++++++++++++ .../attachments/20110116/d0de823a/attachment.html | 125 +++++++++++++++++++++ .../20110116/eba8265e/attachment-0001.html | 85 ++++++++++++++ .../attachments/20110116/eba8265e/attachment.html | 85 ++++++++++++++ .../20110116/fa0cf2c2/attachment-0001.html | 78 +++++++++++++ .../attachments/20110116/fa0cf2c2/attachment.html | 78 +++++++++++++ .../20110116/fdccee92/attachment-0001.html | 89 +++++++++++++++ .../attachments/20110116/fdccee92/attachment.html | 89 +++++++++++++++ 28 files changed, 2544 insertions(+) create mode 100644 zarb-ml/mageia-sysadm/attachments/20110116/230b2120/attachment-0001.html create mode 100644 zarb-ml/mageia-sysadm/attachments/20110116/230b2120/attachment.html create mode 100644 zarb-ml/mageia-sysadm/attachments/20110116/24c90d0b/attachment-0001.html create mode 100644 zarb-ml/mageia-sysadm/attachments/20110116/24c90d0b/attachment.html create mode 100644 zarb-ml/mageia-sysadm/attachments/20110116/34db0636/attachment-0001.html create mode 100644 zarb-ml/mageia-sysadm/attachments/20110116/34db0636/attachment.html create mode 100644 zarb-ml/mageia-sysadm/attachments/20110116/4680f040/attachment-0001.html create mode 100644 zarb-ml/mageia-sysadm/attachments/20110116/4680f040/attachment.html create mode 100644 zarb-ml/mageia-sysadm/attachments/20110116/4c9813a6/attachment-0001.html create mode 100644 zarb-ml/mageia-sysadm/attachments/20110116/4c9813a6/attachment.html create mode 100644 zarb-ml/mageia-sysadm/attachments/20110116/6f76be68/attachment-0001.html create mode 100644 zarb-ml/mageia-sysadm/attachments/20110116/6f76be68/attachment.html create mode 100644 zarb-ml/mageia-sysadm/attachments/20110116/92b5200b/attachment-0001.html create mode 100644 zarb-ml/mageia-sysadm/attachments/20110116/92b5200b/attachment.html create mode 100644 zarb-ml/mageia-sysadm/attachments/20110116/a759230d/attachment-0001.html create mode 100644 zarb-ml/mageia-sysadm/attachments/20110116/a759230d/attachment.html create mode 100644 zarb-ml/mageia-sysadm/attachments/20110116/c5ed51a0/attachment-0001.html create mode 100644 zarb-ml/mageia-sysadm/attachments/20110116/c5ed51a0/attachment.html create mode 100644 zarb-ml/mageia-sysadm/attachments/20110116/cd8f3497/attachment-0001.html create mode 100644 zarb-ml/mageia-sysadm/attachments/20110116/cd8f3497/attachment.html create mode 100644 zarb-ml/mageia-sysadm/attachments/20110116/d0de823a/attachment-0001.html create mode 100644 zarb-ml/mageia-sysadm/attachments/20110116/d0de823a/attachment.html create mode 100644 zarb-ml/mageia-sysadm/attachments/20110116/eba8265e/attachment-0001.html create mode 100644 zarb-ml/mageia-sysadm/attachments/20110116/eba8265e/attachment.html create mode 100644 zarb-ml/mageia-sysadm/attachments/20110116/fa0cf2c2/attachment-0001.html create mode 100644 zarb-ml/mageia-sysadm/attachments/20110116/fa0cf2c2/attachment.html create mode 100644 zarb-ml/mageia-sysadm/attachments/20110116/fdccee92/attachment-0001.html create mode 100644 zarb-ml/mageia-sysadm/attachments/20110116/fdccee92/attachment.html (limited to 'zarb-ml/mageia-sysadm/attachments/20110116') diff --git a/zarb-ml/mageia-sysadm/attachments/20110116/230b2120/attachment-0001.html b/zarb-ml/mageia-sysadm/attachments/20110116/230b2120/attachment-0001.html new file mode 100644 index 000000000..354becab9 --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20110116/230b2120/attachment-0001.html @@ -0,0 +1,76 @@ + + + +[310] set 0440 permissions to tmp file before copying it to sudoers + + + + +
+
+
Revision
310
+
Author
blino
+
Date
2011-01-16 23:59:25 +0100 (Sun, 16 Jan 2011)
+
+ +

Log Message

+
set 0440 permissions to tmp file before copying it to sudoers
+ +

Modified Paths

+ + +
+
+Modified: build_system/iurt/trunk/iurt2
+===================================================================
+--- build_system/iurt/trunk/iurt2	2011-01-16 22:58:11 UTC (rev 309)
++++ build_system/iurt/trunk/iurt2	2011-01-16 22:59:25 UTC (rev 310)
+@@ -1452,6 +1452,7 @@
+ $user   ALL=(ALL) NOPASSWD:RPM
+ );
+     close $f;
++    chmod 0440, $tmpfile;
+ 
+     plog("adding sudo for /bin/rpm, /usr/sbin/urpmi and /usr/sbin/urpme");
+     my $ret = sudo($run, $config, '--cp', $tmpfile, $file);
+
+
+ + + \ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20110116/230b2120/attachment.html b/zarb-ml/mageia-sysadm/attachments/20110116/230b2120/attachment.html new file mode 100644 index 000000000..354becab9 --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20110116/230b2120/attachment.html @@ -0,0 +1,76 @@ + + + +[310] set 0440 permissions to tmp file before copying it to sudoers + + + + +
+
+
Revision
310
+
Author
blino
+
Date
2011-01-16 23:59:25 +0100 (Sun, 16 Jan 2011)
+
+ +

Log Message

+
set 0440 permissions to tmp file before copying it to sudoers
+ +

Modified Paths

+ + +
+
+Modified: build_system/iurt/trunk/iurt2
+===================================================================
+--- build_system/iurt/trunk/iurt2	2011-01-16 22:58:11 UTC (rev 309)
++++ build_system/iurt/trunk/iurt2	2011-01-16 22:59:25 UTC (rev 310)
+@@ -1452,6 +1452,7 @@
+ $user   ALL=(ALL) NOPASSWD:RPM
+ );
+     close $f;
++    chmod 0440, $tmpfile;
+ 
+     plog("adding sudo for /bin/rpm, /usr/sbin/urpmi and /usr/sbin/urpme");
+     my $ret = sudo($run, $config, '--cp', $tmpfile, $file);
+
+
+ + + \ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20110116/24c90d0b/attachment-0001.html b/zarb-ml/mageia-sysadm/attachments/20110116/24c90d0b/attachment-0001.html new file mode 100644 index 000000000..68791652b --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20110116/24c90d0b/attachment-0001.html @@ -0,0 +1,105 @@ + + + +[807] - reuse the more elegant array for check_syntax + + + + +
+
+
Revision
807
+
Author
misc
+
Date
2011-01-16 14:15:31 +0100 (Sun, 16 Jan 2011)
+
+ +

Log Message

+
- reuse the more elegant array for check_syntax
+ +

Modified Paths

+ + +
+
+Modified: puppet/modules/subversion/manifests/init.pp
+===================================================================
+--- puppet/modules/subversion/manifests/init.pp	2011-01-16 13:15:29 UTC (rev 806)
++++ puppet/modules/subversion/manifests/init.pp	2011-01-16 13:15:31 UTC (rev 807)
+@@ -132,9 +132,7 @@
+                        $cia_module = 'default',
+ 		       $cia_ignore_author = '',
+ 		       $no_binary = false,
+-                       $syntax_check1 = '',
+-                       $syntax_check2 = '',
+-                       $syntax_check3 = '',
++                       $syntax_check = '',
+                        $extract_dir = '') {
+         # check permissions
+         # http://svnbook.red-bean.com/nightly/fr/svn.serverconfig.multimethod.html
+@@ -222,21 +220,11 @@
+ 	pre_commit_link { "$name/hooks/pre-commit.d/no_root_commit":
+ 	    scriptname => 'no_root_commit',
+ 	}
+-	if $syntax_check1 {
+-	    pre_commit_link { "$name/hooks/pre-commit.d/${syntax_check1}":
+-	        scriptname => $syntax_check1,
++	if $syntax_check {
++	    pre_commit_link { "$name/hooks/pre-commit.d/$syntax_check":
++		scriptname => $syntax_check,
+ 	    }
+-	}
+-	if $syntax_check2 {
+-	    pre_commit_link { "$name/hooks/pre-commit.d/${syntax_check2}":
+-		scriptname => $syntax_check2,
+-	    }
+-	}
+-	if $syntax_check3 {
+-	    pre_commit_link { "$name/hooks/pre-commit.d/${syntax_check3}":
+-		scriptname => $syntax_check3,
+-	    }
+-	}
++        }
+     }
+ 
+ 
+
+
+ + + \ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20110116/24c90d0b/attachment.html b/zarb-ml/mageia-sysadm/attachments/20110116/24c90d0b/attachment.html new file mode 100644 index 000000000..68791652b --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20110116/24c90d0b/attachment.html @@ -0,0 +1,105 @@ + + + +[807] - reuse the more elegant array for check_syntax + + + + +
+
+
Revision
807
+
Author
misc
+
Date
2011-01-16 14:15:31 +0100 (Sun, 16 Jan 2011)
+
+ +

Log Message

+
- reuse the more elegant array for check_syntax
+ +

Modified Paths

+ + +
+
+Modified: puppet/modules/subversion/manifests/init.pp
+===================================================================
+--- puppet/modules/subversion/manifests/init.pp	2011-01-16 13:15:29 UTC (rev 806)
++++ puppet/modules/subversion/manifests/init.pp	2011-01-16 13:15:31 UTC (rev 807)
+@@ -132,9 +132,7 @@
+                        $cia_module = 'default',
+ 		       $cia_ignore_author = '',
+ 		       $no_binary = false,
+-                       $syntax_check1 = '',
+-                       $syntax_check2 = '',
+-                       $syntax_check3 = '',
++                       $syntax_check = '',
+                        $extract_dir = '') {
+         # check permissions
+         # http://svnbook.red-bean.com/nightly/fr/svn.serverconfig.multimethod.html
+@@ -222,21 +220,11 @@
+ 	pre_commit_link { "$name/hooks/pre-commit.d/no_root_commit":
+ 	    scriptname => 'no_root_commit',
+ 	}
+-	if $syntax_check1 {
+-	    pre_commit_link { "$name/hooks/pre-commit.d/${syntax_check1}":
+-	        scriptname => $syntax_check1,
++	if $syntax_check {
++	    pre_commit_link { "$name/hooks/pre-commit.d/$syntax_check":
++		scriptname => $syntax_check,
+ 	    }
+-	}
+-	if $syntax_check2 {
+-	    pre_commit_link { "$name/hooks/pre-commit.d/${syntax_check2}":
+-		scriptname => $syntax_check2,
+-	    }
+-	}
+-	if $syntax_check3 {
+-	    pre_commit_link { "$name/hooks/pre-commit.d/${syntax_check3}":
+-		scriptname => $syntax_check3,
+-	    }
+-	}
++        }
+     }
+ 
+ 
+
+
+ + + \ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20110116/34db0636/attachment-0001.html b/zarb-ml/mageia-sysadm/attachments/20110116/34db0636/attachment-0001.html new file mode 100644 index 000000000..df54e8d9f --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20110116/34db0636/attachment-0001.html @@ -0,0 +1,109 @@ + + + +[809] add hook to allow to change svn:log property + + + + +
+
+
Revision
809
+
Author
misc
+
Date
2011-01-16 14:15:33 +0100 (Sun, 16 Jan 2011)
+
+ +

Log Message

+
add hook to allow to change svn:log property
+ +

Modified Paths

+ + +

Added Paths

+ + +
+
+Modified: puppet/modules/subversion/manifests/init.pp
+===================================================================
+--- puppet/modules/subversion/manifests/init.pp	2011-01-16 13:15:32 UTC (rev 808)
++++ puppet/modules/subversion/manifests/init.pp	2011-01-16 13:15:33 UTC (rev 809)
+@@ -55,6 +55,14 @@
+             content => template('subversion/no_empty_message') 
+         }
+ 
++        file { "$local_dir/pre-revprop-change":
++            ensure => present,
++            owner => root,
++            group => root,
++            mode => 755,
++            content => template('subversion/pre-revprop-change') 
++        }
++
+         # TODO : add check for
+         #    - ym       perl -MYAML -e 'YAML::LoadFile("-");'
+         #    - tt       ( do not seem to be possible, but this would be great )
+
+Added: puppet/modules/subversion/templates/pre-revprop-change
+===================================================================
+--- puppet/modules/subversion/templates/pre-revprop-change	                        (rev 0)
++++ puppet/modules/subversion/templates/pre-revprop-change	2011-01-16 13:15:33 UTC (rev 809)
+@@ -0,0 +1,15 @@
++#!/bin/sh
++
++# script taken from svn example hooks
++
++REPOS="$1"
++REV="$2"
++USER="$3"
++PROPNAME="$4"
++ACTION="$5"
++
++if [ "$ACTION" = "M" -a "$PROPNAME" = "svn:log" ]; then exit 0; fi
++
++echo "Changing revision properties other than svn:log is prohibited" >&2
++exit 1
++
+
+
+ + + \ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20110116/34db0636/attachment.html b/zarb-ml/mageia-sysadm/attachments/20110116/34db0636/attachment.html new file mode 100644 index 000000000..df54e8d9f --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20110116/34db0636/attachment.html @@ -0,0 +1,109 @@ + + + +[809] add hook to allow to change svn:log property + + + + +
+
+
Revision
809
+
Author
misc
+
Date
2011-01-16 14:15:33 +0100 (Sun, 16 Jan 2011)
+
+ +

Log Message

+
add hook to allow to change svn:log property
+ +

Modified Paths

+ + +

Added Paths

+ + +
+
+Modified: puppet/modules/subversion/manifests/init.pp
+===================================================================
+--- puppet/modules/subversion/manifests/init.pp	2011-01-16 13:15:32 UTC (rev 808)
++++ puppet/modules/subversion/manifests/init.pp	2011-01-16 13:15:33 UTC (rev 809)
+@@ -55,6 +55,14 @@
+             content => template('subversion/no_empty_message') 
+         }
+ 
++        file { "$local_dir/pre-revprop-change":
++            ensure => present,
++            owner => root,
++            group => root,
++            mode => 755,
++            content => template('subversion/pre-revprop-change') 
++        }
++
+         # TODO : add check for
+         #    - ym       perl -MYAML -e 'YAML::LoadFile("-");'
+         #    - tt       ( do not seem to be possible, but this would be great )
+
+Added: puppet/modules/subversion/templates/pre-revprop-change
+===================================================================
+--- puppet/modules/subversion/templates/pre-revprop-change	                        (rev 0)
++++ puppet/modules/subversion/templates/pre-revprop-change	2011-01-16 13:15:33 UTC (rev 809)
+@@ -0,0 +1,15 @@
++#!/bin/sh
++
++# script taken from svn example hooks
++
++REPOS="$1"
++REV="$2"
++USER="$3"
++PROPNAME="$4"
++ACTION="$5"
++
++if [ "$ACTION" = "M" -a "$PROPNAME" = "svn:log" ]; then exit 0; fi
++
++echo "Changing revision properties other than svn:log is prohibited" >&2
++exit 1
++
+
+
+ + + \ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20110116/4680f040/attachment-0001.html b/zarb-ml/mageia-sysadm/attachments/20110116/4680f040/attachment-0001.html new file mode 100644 index 000000000..16c872293 --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20110116/4680f040/attachment-0001.html @@ -0,0 +1,105 @@ + + + +[805] add a git repository creation script + + + + +
+
+
Revision
805
+
Author
misc
+
Date
2011-01-16 14:15:28 +0100 (Sun, 16 Jan 2011)
+
+ +

Log Message

+
add a git repository creation script
+ +

Modified Paths

+ + +

Added Paths

+ + +
+
+Modified: puppet/modules/git/manifests/init.pp
+===================================================================
+--- puppet/modules/git/manifests/init.pp	2011-01-16 13:15:25 UTC (rev 804)
++++ puppet/modules/git/manifests/init.pp	2011-01-16 13:15:28 UTC (rev 805)
+@@ -15,7 +15,16 @@
+         file { "$git_base_path":
+             ensure => directory
+         }
++        
++        file { "/usr/local/bin/create_git_repo.sh":
++             ensure => present,
++             owner => root,
++             group => root,
++             mode => 755,
++             content => template('git/create_git_repo.sh')
++        }
+ 
++
+         # TODO
+         # define common syntax check, see svn 
+         #          http://stackoverflow.com/questions/3719883/git-hook-syntax-check
+
+Added: puppet/modules/git/templates/create_git_repo.sh
+===================================================================
+--- puppet/modules/git/templates/create_git_repo.sh	                        (rev 0)
++++ puppet/modules/git/templates/create_git_repo.sh	2011-01-16 13:15:28 UTC (rev 805)
+@@ -0,0 +1,9 @@
++#!/bin/bash
++umask 0002
++# http://eagleas.livejournal.com/18907.html
++name="$1"
++mkdir -p $name
++cd $name 
++git --bare init --shared=group 
++chmod g+ws branches info objects refs 
++( cd objects; chmod g+ws * )
+
+
+ + + \ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20110116/4680f040/attachment.html b/zarb-ml/mageia-sysadm/attachments/20110116/4680f040/attachment.html new file mode 100644 index 000000000..16c872293 --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20110116/4680f040/attachment.html @@ -0,0 +1,105 @@ + + + +[805] add a git repository creation script + + + + +
+
+
Revision
805
+
Author
misc
+
Date
2011-01-16 14:15:28 +0100 (Sun, 16 Jan 2011)
+
+ +

Log Message

+
add a git repository creation script
+ +

Modified Paths

+ + +

Added Paths

+ + +
+
+Modified: puppet/modules/git/manifests/init.pp
+===================================================================
+--- puppet/modules/git/manifests/init.pp	2011-01-16 13:15:25 UTC (rev 804)
++++ puppet/modules/git/manifests/init.pp	2011-01-16 13:15:28 UTC (rev 805)
+@@ -15,7 +15,16 @@
+         file { "$git_base_path":
+             ensure => directory
+         }
++        
++        file { "/usr/local/bin/create_git_repo.sh":
++             ensure => present,
++             owner => root,
++             group => root,
++             mode => 755,
++             content => template('git/create_git_repo.sh')
++        }
+ 
++
+         # TODO
+         # define common syntax check, see svn 
+         #          http://stackoverflow.com/questions/3719883/git-hook-syntax-check
+
+Added: puppet/modules/git/templates/create_git_repo.sh
+===================================================================
+--- puppet/modules/git/templates/create_git_repo.sh	                        (rev 0)
++++ puppet/modules/git/templates/create_git_repo.sh	2011-01-16 13:15:28 UTC (rev 805)
+@@ -0,0 +1,9 @@
++#!/bin/bash
++umask 0002
++# http://eagleas.livejournal.com/18907.html
++name="$1"
++mkdir -p $name
++cd $name 
++git --bare init --shared=group 
++chmod g+ws branches info objects refs 
++( cd objects; chmod g+ws * )
+
+
+ + + \ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20110116/4c9813a6/attachment-0001.html b/zarb-ml/mageia-sysadm/attachments/20110116/4c9813a6/attachment-0001.html new file mode 100644 index 000000000..9bf7f76af --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20110116/4c9813a6/attachment-0001.html @@ -0,0 +1,79 @@ + + + +[811] update description of syntax_check argument + + + + +
+
+
Revision
811
+
Author
boklm
+
Date
2011-01-16 14:59:51 +0100 (Sun, 16 Jan 2011)
+
+ +

Log Message

+
update description of syntax_check argument
+ +

Modified Paths

+ + +
+
+Modified: puppet/modules/subversion/manifests/init.pp
+===================================================================
+--- puppet/modules/subversion/manifests/init.pp	2011-01-16 13:15:35 UTC (rev 810)
++++ puppet/modules/subversion/manifests/init.pp	2011-01-16 13:59:51 UTC (rev 811)
+@@ -132,9 +132,7 @@
+     #    cia_module : name of the module to send to cia.vc
+     #    cia_ignore_author : a regexp to ignore commits from some authors
+     #    no_binary : do not accept files with common binary extentions on this repository
+-    #    syntax_check1 : pre-commit script with syntax check to add
+-    #    syntax_check2 : pre-commit script with syntax check to add
+-    #    syntax_check3 : pre-commit script with syntax check to add
++    #    syntax_check : array of pre-commit script with syntax check to add
+     #    extract_dir : hash of directory to update upon commit ( with svn update ), 
+     #            initial checkout is not handled, nor the permission
+     #            TODO, handle the tags ( see svn::notify::mirror )
+
+
+ + + \ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20110116/4c9813a6/attachment.html b/zarb-ml/mageia-sysadm/attachments/20110116/4c9813a6/attachment.html new file mode 100644 index 000000000..9bf7f76af --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20110116/4c9813a6/attachment.html @@ -0,0 +1,79 @@ + + + +[811] update description of syntax_check argument + + + + +
+
+
Revision
811
+
Author
boklm
+
Date
2011-01-16 14:59:51 +0100 (Sun, 16 Jan 2011)
+
+ +

Log Message

+
update description of syntax_check argument
+ +

Modified Paths

+ + +
+
+Modified: puppet/modules/subversion/manifests/init.pp
+===================================================================
+--- puppet/modules/subversion/manifests/init.pp	2011-01-16 13:15:35 UTC (rev 810)
++++ puppet/modules/subversion/manifests/init.pp	2011-01-16 13:59:51 UTC (rev 811)
+@@ -132,9 +132,7 @@
+     #    cia_module : name of the module to send to cia.vc
+     #    cia_ignore_author : a regexp to ignore commits from some authors
+     #    no_binary : do not accept files with common binary extentions on this repository
+-    #    syntax_check1 : pre-commit script with syntax check to add
+-    #    syntax_check2 : pre-commit script with syntax check to add
+-    #    syntax_check3 : pre-commit script with syntax check to add
++    #    syntax_check : array of pre-commit script with syntax check to add
+     #    extract_dir : hash of directory to update upon commit ( with svn update ), 
+     #            initial checkout is not handled, nor the permission
+     #            TODO, handle the tags ( see svn::notify::mirror )
+
+
+ + + \ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20110116/6f76be68/attachment-0001.html b/zarb-ml/mageia-sysadm/attachments/20110116/6f76be68/attachment-0001.html new file mode 100644 index 000000000..30c00fa80 --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20110116/6f76be68/attachment-0001.html @@ -0,0 +1,83 @@ + + + +[804] oops, add missing file + + + + +
+
+
Revision
804
+
Author
misc
+
Date
2011-01-16 14:15:25 +0100 (Sun, 16 Jan 2011)
+
+ +

Log Message

+
oops, add missing file
+ +

Added Paths

+ + +
+
+Added: puppet/modules/git/templates/xinetd
+===================================================================
+--- puppet/modules/git/templates/xinetd	                        (rev 0)
++++ puppet/modules/git/templates/xinetd	2011-01-16 13:15:25 UTC (rev 804)
+@@ -0,0 +1,13 @@
++service git
++{
++        disable         = no
++        type            = UNLISTED
++        port            = 9418
++        socket_type     = stream
++        server          = /usr/lib/git-core/git-daemon
++        wait            = no
++        user            = nobody
++        server_args     = --inetd --verbose --export-all --base-path=<%= git_base_path %>
++        log_on_failure  += HOST
++}
++
+
+
+ + + \ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20110116/6f76be68/attachment.html b/zarb-ml/mageia-sysadm/attachments/20110116/6f76be68/attachment.html new file mode 100644 index 000000000..30c00fa80 --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20110116/6f76be68/attachment.html @@ -0,0 +1,83 @@ + + + +[804] oops, add missing file + + + + +
+
+
Revision
804
+
Author
misc
+
Date
2011-01-16 14:15:25 +0100 (Sun, 16 Jan 2011)
+
+ +

Log Message

+
oops, add missing file
+ +

Added Paths

+ + +
+
+Added: puppet/modules/git/templates/xinetd
+===================================================================
+--- puppet/modules/git/templates/xinetd	                        (rev 0)
++++ puppet/modules/git/templates/xinetd	2011-01-16 13:15:25 UTC (rev 804)
+@@ -0,0 +1,13 @@
++service git
++{
++        disable         = no
++        type            = UNLISTED
++        port            = 9418
++        socket_type     = stream
++        server          = /usr/lib/git-core/git-daemon
++        wait            = no
++        user            = nobody
++        server_args     = --inetd --verbose --export-all --base-path=<%= git_base_path %>
++        log_on_failure  += HOST
++}
++
+
+
+ + + \ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20110116/92b5200b/attachment-0001.html b/zarb-ml/mageia-sysadm/attachments/20110116/92b5200b/attachment-0001.html new file mode 100644 index 000000000..9dab9d2f1 --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20110116/92b5200b/attachment-0001.html @@ -0,0 +1,89 @@ + + + +[306] allow to use umask option for cp + + + + +
+
+
Revision
306
+
Author
blino
+
Date
2011-01-16 23:31:43 +0100 (Sun, 16 Jan 2011)
+
+ +

Log Message

+
allow to use umask option for cp
+ +

Modified Paths

+ + +
+
+Modified: build_system/iurt/trunk/iurt_root_command
+===================================================================
+--- build_system/iurt/trunk/iurt_root_command	2011-01-15 23:43:22 UTC (rev 305)
++++ build_system/iurt/trunk/iurt_root_command	2011-01-16 22:31:43 UTC (rev 306)
+@@ -294,6 +294,10 @@
+ 	plog('FAIL', "copying to $dest forbidden");
+ 	return;
+     }	
++
++    my $prev_umask = umask();
++    umask($prev_umask | $opt->{umask}) if $opt->{umask};
++
+     foreach my $f (@files) {
+ 	if (-d $f) {
+ 	    if (!$opt->{recursive}) {
+@@ -326,6 +330,9 @@
+ 	    }
+ 	}
+     }
++
++    umask($prev_umask) if $opt->{umask};
++
+     if (!$done) { plog('DEBUG', "nothing copied") }
+     $ok;
+ }
+
+
+ + + \ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20110116/92b5200b/attachment.html b/zarb-ml/mageia-sysadm/attachments/20110116/92b5200b/attachment.html new file mode 100644 index 000000000..9dab9d2f1 --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20110116/92b5200b/attachment.html @@ -0,0 +1,89 @@ + + + +[306] allow to use umask option for cp + + + + +
+
+
Revision
306
+
Author
blino
+
Date
2011-01-16 23:31:43 +0100 (Sun, 16 Jan 2011)
+
+ +

Log Message

+
allow to use umask option for cp
+ +

Modified Paths

+ + +
+
+Modified: build_system/iurt/trunk/iurt_root_command
+===================================================================
+--- build_system/iurt/trunk/iurt_root_command	2011-01-15 23:43:22 UTC (rev 305)
++++ build_system/iurt/trunk/iurt_root_command	2011-01-16 22:31:43 UTC (rev 306)
+@@ -294,6 +294,10 @@
+ 	plog('FAIL', "copying to $dest forbidden");
+ 	return;
+     }	
++
++    my $prev_umask = umask();
++    umask($prev_umask | $opt->{umask}) if $opt->{umask};
++
+     foreach my $f (@files) {
+ 	if (-d $f) {
+ 	    if (!$opt->{recursive}) {
+@@ -326,6 +330,9 @@
+ 	    }
+ 	}
+     }
++
++    umask($prev_umask) if $opt->{umask};
++
+     if (!$done) { plog('DEBUG', "nothing copied") }
+     $ok;
+ }
+
+
+ + + \ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20110116/a759230d/attachment-0001.html b/zarb-ml/mageia-sysadm/attachments/20110116/a759230d/attachment-0001.html new file mode 100644 index 000000000..65131002d --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20110116/a759230d/attachment-0001.html @@ -0,0 +1,78 @@ + + + +[808] - use the new old way of giving post commit check + + + + +
+
+
Revision
808
+
Author
misc
+
Date
2011-01-16 14:15:32 +0100 (Sun, 16 Jan 2011)
+
+ +

Log Message

+
- use the new old way of giving post commit check
+ +

Modified Paths

+ + +
+
+Modified: puppet/deployment/repositories/manifests/subversion.pp
+===================================================================
+--- puppet/deployment/repositories/manifests/subversion.pp	2011-01-16 13:15:31 UTC (rev 807)
++++ puppet/deployment/repositories/manifests/subversion.pp	2011-01-16 13:15:32 UTC (rev 808)
+@@ -3,8 +3,7 @@
+     subversion::repository { "/svn/adm/":
+         group => "mga-sysadmin",
+         commit_mail => ['mageia-sysadm@mageia.org', "sysadmin-commits@ml.$domain"],
+-        syntax_check1 => 'check_puppet_templates',
+-        syntax_check2 => 'check_puppet',
++        syntax_check => ['check_puppet_templates','check_puppet'],
+         cia_post => true,
+         cia_module => "sysadm",
+     }
+
+
+ + + \ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20110116/a759230d/attachment.html b/zarb-ml/mageia-sysadm/attachments/20110116/a759230d/attachment.html new file mode 100644 index 000000000..65131002d --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20110116/a759230d/attachment.html @@ -0,0 +1,78 @@ + + + +[808] - use the new old way of giving post commit check + + + + +
+
+
Revision
808
+
Author
misc
+
Date
2011-01-16 14:15:32 +0100 (Sun, 16 Jan 2011)
+
+ +

Log Message

+
- use the new old way of giving post commit check
+ +

Modified Paths

+ + +
+
+Modified: puppet/deployment/repositories/manifests/subversion.pp
+===================================================================
+--- puppet/deployment/repositories/manifests/subversion.pp	2011-01-16 13:15:31 UTC (rev 807)
++++ puppet/deployment/repositories/manifests/subversion.pp	2011-01-16 13:15:32 UTC (rev 808)
+@@ -3,8 +3,7 @@
+     subversion::repository { "/svn/adm/":
+         group => "mga-sysadmin",
+         commit_mail => ['mageia-sysadm@mageia.org', "sysadmin-commits@ml.$domain"],
+-        syntax_check1 => 'check_puppet_templates',
+-        syntax_check2 => 'check_puppet',
++        syntax_check => ['check_puppet_templates','check_puppet'],
+         cia_post => true,
+         cia_module => "sysadm",
+     }
+
+
+ + + \ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20110116/c5ed51a0/attachment-0001.html b/zarb-ml/mageia-sysadm/attachments/20110116/c5ed51a0/attachment-0001.html new file mode 100644 index 000000000..399f32d96 --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20110116/c5ed51a0/attachment-0001.html @@ -0,0 +1,77 @@ + + + +[308] use umask to write sudoers file (so that it gets 0440 perms as expected by sudo) + + + + +
+
+
Revision
308
+
Author
blino
+
Date
2011-01-16 23:37:25 +0100 (Sun, 16 Jan 2011)
+
+ +

Log Message

+
use umask to write sudoers file (so that it gets 0440 perms as expected by sudo)
+ +

Modified Paths

+ + +
+
+Modified: build_system/iurt/trunk/iurt2
+===================================================================
+--- build_system/iurt/trunk/iurt2	2011-01-16 22:35:32 UTC (rev 307)
++++ build_system/iurt/trunk/iurt2	2011-01-16 22:37:25 UTC (rev 308)
+@@ -1454,7 +1454,7 @@
+     close $f;
+ 
+     plog("adding sudo for /bin/rpm, /usr/sbin/urpmi and /usr/sbin/urpme");
+-    my $ret = sudo($run, $config, '--cp', $tmpfile, $file);
++    my $ret = sudo($run, $config, '--cp', '--umask', 0337, $tmpfile, $file);
+     unlink $tmpfile;
+ 
+     if (!$ret) {
+
+
+ + + \ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20110116/c5ed51a0/attachment.html b/zarb-ml/mageia-sysadm/attachments/20110116/c5ed51a0/attachment.html new file mode 100644 index 000000000..399f32d96 --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20110116/c5ed51a0/attachment.html @@ -0,0 +1,77 @@ + + + +[308] use umask to write sudoers file (so that it gets 0440 perms as expected by sudo) + + + + +
+
+
Revision
308
+
Author
blino
+
Date
2011-01-16 23:37:25 +0100 (Sun, 16 Jan 2011)
+
+ +

Log Message

+
use umask to write sudoers file (so that it gets 0440 perms as expected by sudo)
+ +

Modified Paths

+ + +
+
+Modified: build_system/iurt/trunk/iurt2
+===================================================================
+--- build_system/iurt/trunk/iurt2	2011-01-16 22:35:32 UTC (rev 307)
++++ build_system/iurt/trunk/iurt2	2011-01-16 22:37:25 UTC (rev 308)
+@@ -1454,7 +1454,7 @@
+     close $f;
+ 
+     plog("adding sudo for /bin/rpm, /usr/sbin/urpmi and /usr/sbin/urpme");
+-    my $ret = sudo($run, $config, '--cp', $tmpfile, $file);
++    my $ret = sudo($run, $config, '--cp', '--umask', 0337, $tmpfile, $file);
+     unlink $tmpfile;
+ 
+     if (!$ret) {
+
+
+ + + \ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20110116/cd8f3497/attachment-0001.html b/zarb-ml/mageia-sysadm/attachments/20110116/cd8f3497/attachment-0001.html new file mode 100644 index 000000000..686c672e2 --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20110116/cd8f3497/attachment-0001.html @@ -0,0 +1,94 @@ + + + +[806] use newly commited script to create shared git repository + + + + +
+
+
Revision
806
+
Author
misc
+
Date
2011-01-16 14:15:29 +0100 (Sun, 16 Jan 2011)
+
+ +

Log Message

+
use newly commited script to create shared git repository
+ +

Modified Paths

+ + +
+
+Modified: puppet/modules/git/manifests/init.pp
+===================================================================
+--- puppet/modules/git/manifests/init.pp	2011-01-16 13:15:28 UTC (rev 805)
++++ puppet/modules/git/manifests/init.pp	2011-01-16 13:15:29 UTC (rev 806)
+@@ -43,16 +43,21 @@
+         # 
+     }
+ 
+-    define repository($description = '') {
++    define repository($description = '',
++                      $group ) {
++
++        include git::server
+         # http://eagleas.livejournal.com/18907.html
+-        # TODO --shared=group + set g+ws 
+-        exec { "git init --bare $name":
++        # TODO group permission should be handled here too
++        exec { "/usr/local/bin/create_git_repo.sh $name":
++            user => root,
++            group => $group
+             creates => $name,
+         }
+ 
+         file { "$name/git-daemon-export-ok":
+             ensure => present,
+-            requires => Exec["git init --bare $name"]
++            requires => Exec["/usr/local/bin/create_git_repo.sh $name"]
+         }
+         
+         file { "$name/description":
+
+
+ + + \ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20110116/cd8f3497/attachment.html b/zarb-ml/mageia-sysadm/attachments/20110116/cd8f3497/attachment.html new file mode 100644 index 000000000..686c672e2 --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20110116/cd8f3497/attachment.html @@ -0,0 +1,94 @@ + + + +[806] use newly commited script to create shared git repository + + + + +
+
+
Revision
806
+
Author
misc
+
Date
2011-01-16 14:15:29 +0100 (Sun, 16 Jan 2011)
+
+ +

Log Message

+
use newly commited script to create shared git repository
+ +

Modified Paths

+ + +
+
+Modified: puppet/modules/git/manifests/init.pp
+===================================================================
+--- puppet/modules/git/manifests/init.pp	2011-01-16 13:15:28 UTC (rev 805)
++++ puppet/modules/git/manifests/init.pp	2011-01-16 13:15:29 UTC (rev 806)
+@@ -43,16 +43,21 @@
+         # 
+     }
+ 
+-    define repository($description = '') {
++    define repository($description = '',
++                      $group ) {
++
++        include git::server
+         # http://eagleas.livejournal.com/18907.html
+-        # TODO --shared=group + set g+ws 
+-        exec { "git init --bare $name":
++        # TODO group permission should be handled here too
++        exec { "/usr/local/bin/create_git_repo.sh $name":
++            user => root,
++            group => $group
+             creates => $name,
+         }
+ 
+         file { "$name/git-daemon-export-ok":
+             ensure => present,
+-            requires => Exec["git init --bare $name"]
++            requires => Exec["/usr/local/bin/create_git_repo.sh $name"]
+         }
+         
+         file { "$name/description":
+
+
+ + + \ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20110116/d0de823a/attachment-0001.html b/zarb-ml/mageia-sysadm/attachments/20110116/d0de823a/attachment-0001.html new file mode 100644 index 000000000..910b9380a --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20110116/d0de823a/attachment-0001.html @@ -0,0 +1,125 @@ + + + +[309] revert umask changes + + + + +
+
+
Revision
309
+
Author
blino
+
Date
2011-01-16 23:58:11 +0100 (Sun, 16 Jan 2011)
+
+ +

Log Message

+
revert umask changes
+ +

Modified Paths

+ + +
+
+Modified: build_system/iurt/trunk/iurt2
+===================================================================
+--- build_system/iurt/trunk/iurt2	2011-01-16 22:37:25 UTC (rev 308)
++++ build_system/iurt/trunk/iurt2	2011-01-16 22:58:11 UTC (rev 309)
+@@ -1454,7 +1454,7 @@
+     close $f;
+ 
+     plog("adding sudo for /bin/rpm, /usr/sbin/urpmi and /usr/sbin/urpme");
+-    my $ret = sudo($run, $config, '--cp', '--umask', 0337, $tmpfile, $file);
++    my $ret = sudo($run, $config, '--cp', $tmpfile, $file);
+     unlink $tmpfile;
+ 
+     if (!$ret) {
+
+Modified: build_system/iurt/trunk/iurt_root_command
+===================================================================
+--- build_system/iurt/trunk/iurt_root_command	2011-01-16 22:37:25 UTC (rev 308)
++++ build_system/iurt/trunk/iurt_root_command	2011-01-16 22:58:11 UTC (rev 309)
+@@ -49,7 +49,7 @@
+     "$program_name is a perl script to execute commands which need root privilege, it helps probram which needs occasional root privileges for some commands.", 
+     sub { $arg or usage($program_name, \@params) }, "Running $program_name" ],
+     [ "", "cp", [
+-   ["", "cp", -1, "[-r] [-u <umask>] <file1> <file2> ... <filen> <dest>", "copy the files to dest",
++   ["", "cp", -1, "[-r] <file1> <file2> ... <filen> <dest>", "copy the files to dest",
+         sub {    
+             my ($tmp, @arg) = @_; 
+             $tmp->[0] ||= {}; 
+@@ -59,10 +59,7 @@
+         ["r", "recursive", 0, "",  
+         "Also copy directories and subdirectories",  
+         sub { my ($tmp) = @_; $tmp->[0]{recursive} = 1; 1 }, "Set the recursive flag"], 
+-        [ "u", "umask", 1, "<umask>", 
+-        "Set the umask",
+-        sub { my ($tmp) = @_; ($tmp->[0]{umask}) = @_; 1 }, "Setting umask" ],
+-    ], "[-r] [-u <umask>] <file1> <file2> ... <filen> <dest>", 
++    ], "[-r] <file1> <file2> ... <filen> <dest>", 
+     "Copy files", 
+     \&cp, "Copying files" ],
+    [ "", "ln", [
+@@ -297,10 +294,6 @@
+ 	plog('FAIL', "copying to $dest forbidden");
+ 	return;
+     }	
+-
+-    my $prev_umask = umask();
+-    umask($prev_umask | $opt->{umask}) if $opt->{umask};
+-
+     foreach my $f (@files) {
+ 	if (-d $f) {
+ 	    if (!$opt->{recursive}) {
+@@ -333,9 +326,6 @@
+ 	    }
+ 	}
+     }
+-
+-    umask($prev_umask) if $opt->{umask};
+-
+     if (!$done) { plog('DEBUG', "nothing copied") }
+     $ok;
+ }
+
+
+ + + \ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20110116/d0de823a/attachment.html b/zarb-ml/mageia-sysadm/attachments/20110116/d0de823a/attachment.html new file mode 100644 index 000000000..910b9380a --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20110116/d0de823a/attachment.html @@ -0,0 +1,125 @@ + + + +[309] revert umask changes + + + + +
+
+
Revision
309
+
Author
blino
+
Date
2011-01-16 23:58:11 +0100 (Sun, 16 Jan 2011)
+
+ +

Log Message

+
revert umask changes
+ +

Modified Paths

+ + +
+
+Modified: build_system/iurt/trunk/iurt2
+===================================================================
+--- build_system/iurt/trunk/iurt2	2011-01-16 22:37:25 UTC (rev 308)
++++ build_system/iurt/trunk/iurt2	2011-01-16 22:58:11 UTC (rev 309)
+@@ -1454,7 +1454,7 @@
+     close $f;
+ 
+     plog("adding sudo for /bin/rpm, /usr/sbin/urpmi and /usr/sbin/urpme");
+-    my $ret = sudo($run, $config, '--cp', '--umask', 0337, $tmpfile, $file);
++    my $ret = sudo($run, $config, '--cp', $tmpfile, $file);
+     unlink $tmpfile;
+ 
+     if (!$ret) {
+
+Modified: build_system/iurt/trunk/iurt_root_command
+===================================================================
+--- build_system/iurt/trunk/iurt_root_command	2011-01-16 22:37:25 UTC (rev 308)
++++ build_system/iurt/trunk/iurt_root_command	2011-01-16 22:58:11 UTC (rev 309)
+@@ -49,7 +49,7 @@
+     "$program_name is a perl script to execute commands which need root privilege, it helps probram which needs occasional root privileges for some commands.", 
+     sub { $arg or usage($program_name, \@params) }, "Running $program_name" ],
+     [ "", "cp", [
+-   ["", "cp", -1, "[-r] [-u <umask>] <file1> <file2> ... <filen> <dest>", "copy the files to dest",
++   ["", "cp", -1, "[-r] <file1> <file2> ... <filen> <dest>", "copy the files to dest",
+         sub {    
+             my ($tmp, @arg) = @_; 
+             $tmp->[0] ||= {}; 
+@@ -59,10 +59,7 @@
+         ["r", "recursive", 0, "",  
+         "Also copy directories and subdirectories",  
+         sub { my ($tmp) = @_; $tmp->[0]{recursive} = 1; 1 }, "Set the recursive flag"], 
+-        [ "u", "umask", 1, "<umask>", 
+-        "Set the umask",
+-        sub { my ($tmp) = @_; ($tmp->[0]{umask}) = @_; 1 }, "Setting umask" ],
+-    ], "[-r] [-u <umask>] <file1> <file2> ... <filen> <dest>", 
++    ], "[-r] <file1> <file2> ... <filen> <dest>", 
+     "Copy files", 
+     \&cp, "Copying files" ],
+    [ "", "ln", [
+@@ -297,10 +294,6 @@
+ 	plog('FAIL', "copying to $dest forbidden");
+ 	return;
+     }	
+-
+-    my $prev_umask = umask();
+-    umask($prev_umask | $opt->{umask}) if $opt->{umask};
+-
+     foreach my $f (@files) {
+ 	if (-d $f) {
+ 	    if (!$opt->{recursive}) {
+@@ -333,9 +326,6 @@
+ 	    }
+ 	}
+     }
+-
+-    umask($prev_umask) if $opt->{umask};
+-
+     if (!$done) { plog('DEBUG', "nothing copied") }
+     $ok;
+ }
+
+
+ + + \ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20110116/eba8265e/attachment-0001.html b/zarb-ml/mageia-sysadm/attachments/20110116/eba8265e/attachment-0001.html new file mode 100644 index 000000000..5e7a30b4d --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20110116/eba8265e/attachment-0001.html @@ -0,0 +1,85 @@ + + + +[810] split subversion-tools in its own class, to prepare for svn mirror + + + + +
+
+
Revision
810
+
Author
misc
+
Date
2011-01-16 14:15:35 +0100 (Sun, 16 Jan 2011)
+
+ +

Log Message

+
split subversion-tools in its own class, to prepare for svn mirror
+ +

Modified Paths

+ + +
+
+Modified: puppet/modules/subversion/manifests/init.pp
+===================================================================
+--- puppet/modules/subversion/manifests/init.pp	2011-01-16 13:15:33 UTC (rev 809)
++++ puppet/modules/subversion/manifests/init.pp	2011-01-16 13:15:35 UTC (rev 810)
+@@ -3,9 +3,15 @@
+ # but not integrated in puppet directly for the moment
+ class subversion {
+ 
++    class tools {
++        package { "subversion-tools":
++            ensure => installed,
++        }
++    }
+ 
+     class server {
+-        package { ["subversion-server", "subversion-tools"]:
++        include subversion::tools
++        package { "subversion-server":
+             ensure => installed,
+         }
+ 
+
+
+ + + \ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20110116/eba8265e/attachment.html b/zarb-ml/mageia-sysadm/attachments/20110116/eba8265e/attachment.html new file mode 100644 index 000000000..5e7a30b4d --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20110116/eba8265e/attachment.html @@ -0,0 +1,85 @@ + + + +[810] split subversion-tools in its own class, to prepare for svn mirror + + + + +
+
+
Revision
810
+
Author
misc
+
Date
2011-01-16 14:15:35 +0100 (Sun, 16 Jan 2011)
+
+ +

Log Message

+
split subversion-tools in its own class, to prepare for svn mirror
+ +

Modified Paths

+ + +
+
+Modified: puppet/modules/subversion/manifests/init.pp
+===================================================================
+--- puppet/modules/subversion/manifests/init.pp	2011-01-16 13:15:33 UTC (rev 809)
++++ puppet/modules/subversion/manifests/init.pp	2011-01-16 13:15:35 UTC (rev 810)
+@@ -3,9 +3,15 @@
+ # but not integrated in puppet directly for the moment
+ class subversion {
+ 
++    class tools {
++        package { "subversion-tools":
++            ensure => installed,
++        }
++    }
+ 
+     class server {
+-        package { ["subversion-server", "subversion-tools"]:
++        include subversion::tools
++        package { "subversion-server":
+             ensure => installed,
+         }
+ 
+
+
+ + + \ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20110116/fa0cf2c2/attachment-0001.html b/zarb-ml/mageia-sysadm/attachments/20110116/fa0cf2c2/attachment-0001.html new file mode 100644 index 000000000..c8757d02f --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20110116/fa0cf2c2/attachment-0001.html @@ -0,0 +1,78 @@ + + + +[305] ci does not commit to bindir + + + + +
+
+
Revision
305
+
Author
boklm
+
Date
2011-01-16 00:43:22 +0100 (Sun, 16 Jan 2011)
+
+ +

Log Message

+
ci does not commit to bindir
+ +

Modified Paths

+ + +
+
+Modified: build_system/mgarepo/trunk/MgaRepo/rpmutil.py
+===================================================================
+--- build_system/mgarepo/trunk/MgaRepo/rpmutil.py	2011-01-14 21:35:59 UTC (rev 304)
++++ build_system/mgarepo/trunk/MgaRepo/rpmutil.py	2011-01-15 23:43:22 UTC (rev 305)
+@@ -597,9 +597,6 @@
+         commit(topdir)
+ 
+ def commit(target=".", message=None, logfile=None):
+-    topdir = getpkgtopdir(target)
+-    sourcesdir = os.path.join(topdir, "SOURCES")
+-    binrepo.commit(sourcesdir) #TODO make it optional
+     svn = SVN()
+     status = svn.status(target, quiet=True)
+     if not status:
+
+
+ + + \ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20110116/fa0cf2c2/attachment.html b/zarb-ml/mageia-sysadm/attachments/20110116/fa0cf2c2/attachment.html new file mode 100644 index 000000000..c8757d02f --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20110116/fa0cf2c2/attachment.html @@ -0,0 +1,78 @@ + + + +[305] ci does not commit to bindir + + + + +
+
+
Revision
305
+
Author
boklm
+
Date
2011-01-16 00:43:22 +0100 (Sun, 16 Jan 2011)
+
+ +

Log Message

+
ci does not commit to bindir
+ +

Modified Paths

+ + +
+
+Modified: build_system/mgarepo/trunk/MgaRepo/rpmutil.py
+===================================================================
+--- build_system/mgarepo/trunk/MgaRepo/rpmutil.py	2011-01-14 21:35:59 UTC (rev 304)
++++ build_system/mgarepo/trunk/MgaRepo/rpmutil.py	2011-01-15 23:43:22 UTC (rev 305)
+@@ -597,9 +597,6 @@
+         commit(topdir)
+ 
+ def commit(target=".", message=None, logfile=None):
+-    topdir = getpkgtopdir(target)
+-    sourcesdir = os.path.join(topdir, "SOURCES")
+-    binrepo.commit(sourcesdir) #TODO make it optional
+     svn = SVN()
+     status = svn.status(target, quiet=True)
+     if not status:
+
+
+ + + \ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20110116/fdccee92/attachment-0001.html b/zarb-ml/mageia-sysadm/attachments/20110116/fdccee92/attachment-0001.html new file mode 100644 index 000000000..bcfce7d24 --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20110116/fdccee92/attachment-0001.html @@ -0,0 +1,89 @@ + + + +[307] add command line umask option for cp + + + + +
+
+
Revision
307
+
Author
blino
+
Date
2011-01-16 23:35:32 +0100 (Sun, 16 Jan 2011)
+
+ +

Log Message

+
add command line umask option for cp
+ +

Modified Paths

+ + +
+
+Modified: build_system/iurt/trunk/iurt_root_command
+===================================================================
+--- build_system/iurt/trunk/iurt_root_command	2011-01-16 22:31:43 UTC (rev 306)
++++ build_system/iurt/trunk/iurt_root_command	2011-01-16 22:35:32 UTC (rev 307)
+@@ -49,7 +49,7 @@
+     "$program_name is a perl script to execute commands which need root privilege, it helps probram which needs occasional root privileges for some commands.", 
+     sub { $arg or usage($program_name, \@params) }, "Running $program_name" ],
+     [ "", "cp", [
+-   ["", "cp", -1, "[-r] <file1> <file2> ... <filen> <dest>", "copy the files to dest",
++   ["", "cp", -1, "[-r] [-u <umask>] <file1> <file2> ... <filen> <dest>", "copy the files to dest",
+         sub {    
+             my ($tmp, @arg) = @_; 
+             $tmp->[0] ||= {}; 
+@@ -59,7 +59,10 @@
+         ["r", "recursive", 0, "",  
+         "Also copy directories and subdirectories",  
+         sub { my ($tmp) = @_; $tmp->[0]{recursive} = 1; 1 }, "Set the recursive flag"], 
+-    ], "[-r] <file1> <file2> ... <filen> <dest>", 
++        [ "u", "umask", 1, "<umask>", 
++        "Set the umask",
++        sub { my ($tmp) = @_; ($tmp->[0]{umask}) = @_; 1 }, "Setting umask" ],
++    ], "[-r] [-u <umask>] <file1> <file2> ... <filen> <dest>", 
+     "Copy files", 
+     \&cp, "Copying files" ],
+    [ "", "ln", [
+
+
+ + + \ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20110116/fdccee92/attachment.html b/zarb-ml/mageia-sysadm/attachments/20110116/fdccee92/attachment.html new file mode 100644 index 000000000..bcfce7d24 --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20110116/fdccee92/attachment.html @@ -0,0 +1,89 @@ + + + +[307] add command line umask option for cp + + + + +
+
+
Revision
307
+
Author
blino
+
Date
2011-01-16 23:35:32 +0100 (Sun, 16 Jan 2011)
+
+ +

Log Message

+
add command line umask option for cp
+ +

Modified Paths

+ + +
+
+Modified: build_system/iurt/trunk/iurt_root_command
+===================================================================
+--- build_system/iurt/trunk/iurt_root_command	2011-01-16 22:31:43 UTC (rev 306)
++++ build_system/iurt/trunk/iurt_root_command	2011-01-16 22:35:32 UTC (rev 307)
+@@ -49,7 +49,7 @@
+     "$program_name is a perl script to execute commands which need root privilege, it helps probram which needs occasional root privileges for some commands.", 
+     sub { $arg or usage($program_name, \@params) }, "Running $program_name" ],
+     [ "", "cp", [
+-   ["", "cp", -1, "[-r] <file1> <file2> ... <filen> <dest>", "copy the files to dest",
++   ["", "cp", -1, "[-r] [-u <umask>] <file1> <file2> ... <filen> <dest>", "copy the files to dest",
+         sub {    
+             my ($tmp, @arg) = @_; 
+             $tmp->[0] ||= {}; 
+@@ -59,7 +59,10 @@
+         ["r", "recursive", 0, "",  
+         "Also copy directories and subdirectories",  
+         sub { my ($tmp) = @_; $tmp->[0]{recursive} = 1; 1 }, "Set the recursive flag"], 
+-    ], "[-r] <file1> <file2> ... <filen> <dest>", 
++        [ "u", "umask", 1, "<umask>", 
++        "Set the umask",
++        sub { my ($tmp) = @_; ($tmp->[0]{umask}) = @_; 1 }, "Setting umask" ],
++    ], "[-r] [-u <umask>] <file1> <file2> ... <filen> <dest>", 
+     "Copy files", 
+     \&cp, "Copying files" ],
+    [ "", "ln", [
+
+
+ + + \ No newline at end of file -- cgit v1.2.1