Mercurial > treepkg
annotate demo.cfg @ 57:d0d08c7e7d37
allow optionally set the file permissions in writefile
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Tue, 10 Apr 2007 17:42:07 +0200 |
parents | 2802be410156 |
children | 1c74e3b56a63 |
rev | line source |
---|---|
1 | 1 [DEFAULT] |
2 # the default section provides defaults for the other sections. Also, | |
3 # other sections can use the values here in interpolations. | |
4 | |
5 # The basedir to use for interpolations in other sections | |
6 treepkg_dir: /home/builder/enterprise | |
7 | |
8 # The command to use to gain the permissions to execute pbuilder. The | |
9 # default is sudo. The actual command line used to run pbuilder is | |
10 # root_cmd followed by the pbuilder command line. With the default it | |
11 # is something like | |
12 # | |
13 # sudo pbuilder build <name-of-dsc-file> | |
14 # | |
2
e6a9f4037f68
readconfig.py is smarter now about conversions and supports shlex
Bernhard Herzog <bh@intevation.de>
parents:
1
diff
changeset
|
15 # The value of this option is split into words with the python function |
e6a9f4037f68
readconfig.py is smarter now about conversions and supports shlex
Bernhard Herzog <bh@intevation.de>
parents:
1
diff
changeset
|
16 # shlex.split. See the python documentation for the precise semantics. |
e6a9f4037f68
readconfig.py is smarter now about conversions and supports shlex
Bernhard Herzog <bh@intevation.de>
parents:
1
diff
changeset
|
17 # shlex.split works pretty much like a POSIX shell but it doesn't to any |
e6a9f4037f68
readconfig.py is smarter now about conversions and supports shlex
Bernhard Herzog <bh@intevation.de>
parents:
1
diff
changeset
|
18 # expansions. |
1 | 19 # |
20 # Set an empty value to indicate that no special command is needed. | |
21 # | |
22 # You can override this in the pkg_ sections if you need package | |
23 # specific values | |
24 root_cmd: sudo | |
25 | |
47
2802be410156
add config options pbuilderrc and use it when calling pbuilder
Bernhard Herzog <bh@intevation.de>
parents:
6
diff
changeset
|
26 # The pbuilder config file to use. It should be an absolute filename. |
2802be410156
add config options pbuilderrc and use it when calling pbuilder
Bernhard Herzog <bh@intevation.de>
parents:
6
diff
changeset
|
27 # The script initpbuilder.py can create it and the rest of the pbuilder |
2802be410156
add config options pbuilderrc and use it when calling pbuilder
Bernhard Herzog <bh@intevation.de>
parents:
6
diff
changeset
|
28 # files and directories. You can override this in the pkg_ sections for |
2802be410156
add config options pbuilderrc and use it when calling pbuilder
Bernhard Herzog <bh@intevation.de>
parents:
6
diff
changeset
|
29 # individual packagers if necessaary. You will have to adapt pbuilder |
2802be410156
add config options pbuilderrc and use it when calling pbuilder
Bernhard Herzog <bh@intevation.de>
parents:
6
diff
changeset
|
30 # yourself, then, though. |
2802be410156
add config options pbuilderrc and use it when calling pbuilder
Bernhard Herzog <bh@intevation.de>
parents:
6
diff
changeset
|
31 pbuilderrc: %(treepkg_dir)s/pbuilder/pbuilderrc |
2802be410156
add config options pbuilderrc and use it when calling pbuilder
Bernhard Herzog <bh@intevation.de>
parents:
6
diff
changeset
|
32 |
2802be410156
add config options pbuilderrc and use it when calling pbuilder
Bernhard Herzog <bh@intevation.de>
parents:
6
diff
changeset
|
33 |
1 | 34 # Email address and name to use as the packager in the debian packages. |
35 # You can override this in the pkg_ sections if you need package | |
36 # specific values | |
37 deb_email: packager@example.com | |
38 deb_fullname: Sample Packager | |
39 | |
40 | |
41 [treepkg] | |
42 # Section for general tree packager configuration | |
43 | |
44 # Interval in seconds between checks for updates | |
45 check_interval: 300 | |
46 | |
47 | |
48 [pkg_kdepim] | |
49 # Sections with names starting with "pkg_" define the configuration for | |
50 # a package. | |
51 | |
3 | 52 # The SVN URL to check out for packaging. Will only be used for the |
53 # initial checkout | |
1 | 54 svn_url: svn://anonsvn.kde.org/home/kde/branches/kdepim/enterprise/kdepim |
55 | |
56 # The directory under which the packager directory structure will be | |
57 # created. | |
58 base_dir: %(treepkg_dir)s/kdepim | |
59 | |
6
38330d45047f
Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents:
3
diff
changeset
|
60 # The packager class defines how the packaging works. The |
38330d45047f
Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents:
3
diff
changeset
|
61 # enterprise.kdepim class knows how to package the enterprise branch of |
38330d45047f
Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents:
3
diff
changeset
|
62 # KDE-PIM. |
38330d45047f
Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents:
3
diff
changeset
|
63 packager_class: enterprise.kdepim |
38330d45047f
Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents:
3
diff
changeset
|
64 |
1 | 65 # Required fields for a pkg_ section inherited from the DEFAULT section |
66 # in this example: root_cmd deb_email deb_fullname | |
67 | |
68 # An additional option, name, is inferred from the section name. Its | |
69 # value is the part of the section name after the pkg_ prefix. | |
6
38330d45047f
Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents:
3
diff
changeset
|
70 |
38330d45047f
Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents:
3
diff
changeset
|
71 |
38330d45047f
Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents:
3
diff
changeset
|
72 [pkg_i18n] |
38330d45047f
Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents:
3
diff
changeset
|
73 # Another packager. This one for the the localizations. This packager |
38330d45047f
Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents:
3
diff
changeset
|
74 # requires and additional parameter, orig_tarball. |
38330d45047f
Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents:
3
diff
changeset
|
75 svn_url: svn://anonsvn.kde.org/home/kde/branches/kdepim/enterprise/kde-l10n |
38330d45047f
Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents:
3
diff
changeset
|
76 base_dir: %(treepkg_dir)s/kde-i18n |
38330d45047f
Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents:
3
diff
changeset
|
77 orig_tarball: /home/builder/kde-i18n-de-3.5.5.tar.bz2 |
38330d45047f
Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents:
3
diff
changeset
|
78 |
38330d45047f
Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents:
3
diff
changeset
|
79 packager_class: enterprise.kdei18n |