]> git.pld-linux.org Git - projects/rc-scripts.git/blobdiff - DEVELOPMENT
up to 0.4.8
[projects/rc-scripts.git] / DEVELOPMENT
index 1cf92d1d3f0fb15efecd76faecfabcd6b2ca5a2c..debc719ed09ca74ec63cb4a3db9a9ba13bf1ed86 100644 (file)
@@ -1,17 +1,16 @@
           READ THIS BEFORE CHANGEING SOMETHING IN RC-SCRIPTS PACKAGE
-                   Arkadiusz Miskiewicz <misiek@pld.org.pl>
-           $Id: DEVELOPMENT,v 1.2 2001/05/15 16:05:05 baggins Exp $
+                   Arkadiusz Miskiewicz <misiek@pld-linux.org>
 
 1)
-       consult all major changes with people on pld-rc-scripts@pld.org.pl
+       consult all major changes with people on pld-rc-scripts@pld-linux.org
 mailing list. This is very important.
 
 2)
-       use 'typeset' for local variables in functions for example:
+       use 'local' for local variables in functions for example:
 
 function_ble ()
 {
-typeset qw er
+local qw er=0
 qw=$(tty)
 er=/dev/console
 echo "$qw $er"
@@ -24,12 +23,18 @@ something=$(whoami)
 instead of
 something="`whoami`"
 
-4)
-       consider using typeset -i variable for integer variables
+Warning! The following snippet will not work, use `` in such cases:
+There is one ')' too many there.
 
-5)     don't use sed ! It only causes one more Requires.
+interfaces_boot=$(
+       case $i in
+               *ifcfg-lo) continue ;;
+       esac
+)
+
+4)     don't use sed ! It only causes one more Requires.
        Use awk ' { gsub(/pattern/,"replaced"); print $0; } ' for that.
-       Also try replase grep calls with awk calls.
+       Also try to replace grep calls with awk calls.
        
 5)
        (PL) Tlumaczac komunikaty na PL nalezy uzywac formy bezosobowej np:
@@ -38,3 +43,13 @@ uruchamianie uslugi
 zamiast
 uruchamiam usluge
 
+
+
+HOW TO MAKE A RELEASE
+
+- ./autogen.sh
+- make distcheck
+- update configure.ac release and commit it
+- make dist
+- ./make-tag.sh
+- upload tarball to distfiles, update rc-scripts.spec:HEAD
This page took 0.127782 seconds and 4 git commands to generate.