-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy pathpackager_v3_to_index.yaml
More file actions
176 lines (175 loc) · 3.68 KB
/
packager_v3_to_index.yaml
File metadata and controls
176 lines (175 loc) · 3.68 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
---
document: modulemd-defaults
version: 1
data:
module: foo
profiles:
"latest": [minimal]
...
---
document: modulemd
version: 2
data:
name: foo
stream: "latest"
context: CTX1
summary: An example module
description: >-
A module for the demonstration of the metadata format. Also, the obligatory lorem
ipsum dolor sit amet goes right here.
license:
module:
- "MIT"
xmd:
some_key: some_data
dependencies:
- buildrequires:
appframework: ["v1"]
platform: ["f32"]
requires:
appframework: ["v1"]
platform: ["f32"]
references:
community: http://www.example.com/
documentation: http://www.example.com/
tracker: http://www.example.com/
profiles:
buildroot:
rpms:
- bar-devel
container:
rpms:
- bar
- bar-devel
minimal:
description: Minimal profile installing only the bar package.
rpms:
- bar
srpm-buildroot:
rpms:
- bar-extras
api:
rpms:
- "bar"
- "bar-devel"
- "bar-extras"
- "baz"
- "xxx"
filter:
rpms:
- "baz-nonfoo"
demodularized:
rpms:
- "bar-old"
buildopts:
rpms:
macros: >
%demomacro 1
%demomacro2 %{demomacro}23
whitelist:
- fooscl-1-bar
- fooscl-1-baz
- xxx
- xyz
arches: [i686, x86_64]
components:
rpms:
bar:
rationale: We need this to demonstrate stuff.
name: bar-real
repository: https://pagure.io/bar.git
cache: https://example.com/cache
ref: 26ca0c0
baz:
rationale: Demonstrate updating the buildroot contents.
buildroot: true
srpm-buildroot: true
xxx:
rationale: xxx demonstrates arches and multilib.
buildorder: 10
arches: [i686, x86_64]
multilib: [x86_64]
modules:
includedmodule:
rationale: Included in the stack, just because.
repository: https://pagure.io/includedmodule.git
ref: somecoolbranchname
buildorder: 100
...
---
document: modulemd
version: 2
data:
name: foo
stream: "older"
context: CTX2
summary: An example module
description: >-
A module for the demonstration of the metadata format. Also, the obligatory lorem
ipsum dolor sit amet goes right here.
license:
module:
- "MIT"
xmd:
some_key: some_data
dependencies:
- buildrequires:
platform: ["f33"]
requires:
platform: ["f33"]
references:
community: http://www.example.com/
documentation: http://www.example.com/
tracker: http://www.example.com/
profiles:
buildroot:
rpms:
- bar-devel
container:
rpms:
- bar
- bar-devel
minimal:
description: Minimal profile installing only the bar package.
rpms:
- bar
srpm-buildroot:
rpms:
- bar-extras
api:
rpms:
- "bar"
- "bar-devel"
- "bar-extras"
- "baz"
- "xxx"
filter:
rpms:
- "baz-nonfoo"
demodularized:
rpms:
- "bar-old"
components:
rpms:
bar:
rationale: We need this to demonstrate stuff.
name: bar-real
repository: https://pagure.io/bar.git
cache: https://example.com/cache
ref: 26ca0c0
baz:
rationale: Demonstrate updating the buildroot contents.
buildroot: true
srpm-buildroot: true
xxx:
rationale: xxx demonstrates arches and multilib.
buildorder: 10
arches: [i686, x86_64]
multilib: [x86_64]
modules:
includedmodule:
rationale: Included in the stack, just because.
repository: https://pagure.io/includedmodule.git
ref: somecoolbranchname
buildorder: 100
...