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