]> git.pld-linux.org Git - projects/rc-scripts.git/blame - DEVELOPMENT
update make-tag.sh to git
[projects/rc-scripts.git] / DEVELOPMENT
CommitLineData
de1fc6ce 1 READ THIS BEFORE CHANGEING SOMETHING IN RC-SCRIPTS PACKAGE
ec8b15cb 2 Arkadiusz Miskiewicz <misiek@pld-linux.org>
9ccfa537 3 $Id$
de1fc6ce
JR
4
51)
ec8b15cb 6 consult all major changes with people on pld-rc-scripts@pld-linux.org
de1fc6ce
JR
7mailing list. This is very important.
8
92)
944d6d80 10 use 'local' for local variables in functions for example:
de1fc6ce
JR
11
12function_ble ()
13{
944d6d80 14local qw er=0
de1fc6ce
JR
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
fcf7cc19
JR
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
944d6d80 364) don't use sed ! It only causes one more Requires.
de1fc6ce 37 Use awk ' { gsub(/pattern/,"replaced"); print $0; } ' for that.
52c53926 38 Also try to replace grep calls with awk calls.
de1fc6ce 39
944d6d80 405)
de1fc6ce
JR
41 (PL) Tlumaczac komunikaty na PL nalezy uzywac formy bezosobowej np:
42
43uruchamianie uslugi
44zamiast
45uruchamiam usluge
6f90b667
ER
46
47
48
49HOW TO MAKE A RELEASE
50
1d3ff153 51- svn up
56dc3756 52- ./autogen.sh
6f90b667
ER
53- make distcheck
54- update configure.ac release and commit it
bfe92d09 55- svn up && ./changelog.sh && svn ci ChangeLog
6f90b667
ER
56- make dist
57- ./make-tag.sh
58- upload tarball to distfiles, update rc-scripts.spec:HEAD
This page took 0.82847 seconds and 4 git commands to generate.