-
Notifications
You must be signed in to change notification settings - Fork 3
/
git_buildpackage.service
55 lines (44 loc) · 1.79 KB
/
git_buildpackage.service
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<service name="git_buildpackage">
<summary>An OBS service that uses git buildpackage</summary>
<description>This OBS service is using git buildpackage to create the debian
source package.</description>
<parameter name="url">
<description>URL to clone GIT repository from</description>
<required/>
</parameter>
<parameter name="revision">
<description>
When using git, revision may refer to any of the following:
* explicit SHA1: a1b2c3d4....
- the SHA1 must be reachable from a default clone/fetch
(generally, must be reachable from some branch or tag on the
remote).
- set by: git checkout ${SHA1}
* short branch name: "master", "devel" etc.
- set by: git checkout ${branch}
git pull
* explicit ref: refs/heads/master, refs/tags/v1.2.3,
refs/changes/49/11249/1
- set by: git fetch ${url} ${revision}:${revision}
git checkout ${revision}
</description>
</parameter>
<parameter name="submodules">
<description>Whether or not to include git submodules. Default is 'enable'</description>
<allowedvalue>enable</allowedvalue>
<allowedvalue>disable</allowedvalue>
</parameter>
<parameter name="pristine-tar">
<description>Use pristine-tar. Default is 'enable'</description>
<allowedvalue>enable</allowedvalue>
<allowedvalue>disable</allowedvalue>
</parameter>
<parameter name="build_args">
<description>Apply build_args. Default is '-nc -uc -us -S'</description>
</parameter>
<parameter name="dch-release-update">
<description>Append OBS release number. Default is 'disable'</description>
<allowedvalue>enable</allowedvalue>
<allowedvalue>disable</allowedvalue>
</parameter>
</service>