]> git.pld-linux.org Git - projects/rc-scripts.git/blame_incremental - DEVELOPMENT
update to 0.4.11
[projects/rc-scripts.git] / DEVELOPMENT
... / ...
CommitLineData
1 READ THIS BEFORE CHANGEING SOMETHING IN RC-SCRIPTS PACKAGE
2 Arkadiusz Miskiewicz <misiek@pld-linux.org>
3
41)
5 consult all major changes with people on pld-rc-scripts@pld-linux.org
6mailing list. This is very important.
7
82)
9 use 'local' for local variables in functions for example:
10
11function_ble ()
12{
13local qw er=0
14qw=$(tty)
15er=/dev/console
16echo "$qw $er"
17}
18
193)
20 use $() instead `` for command execution for example
21
22something=$(whoami)
23instead of
24something="`whoami`"
25
26Warning! The following snippet will not work, use `` in such cases:
27There is one ')' too many there.
28
29interfaces_boot=$(
30 case $i in
31 *ifcfg-lo) continue ;;
32 esac
33)
34
354) don't use sed ! It only causes one more Requires.
36 Use awk ' { gsub(/pattern/,"replaced"); print $0; } ' for that.
37 Also try to replace grep calls with awk calls.
38
395)
40 (PL) Tlumaczac komunikaty na PL nalezy uzywac formy bezosobowej np:
41
42uruchamianie uslugi
43zamiast
44uruchamiam usluge
45
46
47
48HOW TO MAKE A RELEASE
49
50- git checkout master
51- git pull --rebase
52- ./autogen.sh
53- make distcheck
54- update configure.ac release and commit it
55- make dist
56- ./make-tag.sh
57- upload tarball to distfiles, update rc-scripts.spec:HEAD
This page took 0.026495 seconds and 4 git commands to generate.