1 |
shadow 09/04/14 11:45:27 |
2 |
|
3 |
Modified: hb-guide-metadata.xml |
4 |
Log: |
5 |
sync to 1.15 |
6 |
|
7 |
Revision Changes Path |
8 |
1.8 xml/htdocs/proj/pl/devrel/handbook/hb-guide-metadata.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/pl/devrel/handbook/hb-guide-metadata.xml?rev=1.8&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/pl/devrel/handbook/hb-guide-metadata.xml?rev=1.8&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/pl/devrel/handbook/hb-guide-metadata.xml?r1=1.7&r2=1.8 |
13 |
|
14 |
Index: hb-guide-metadata.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/pl/devrel/handbook/hb-guide-metadata.xml,v |
17 |
retrieving revision 1.7 |
18 |
retrieving revision 1.8 |
19 |
diff -u -r1.7 -r1.8 |
20 |
--- hb-guide-metadata.xml 25 Jul 2008 14:06:00 -0000 1.7 |
21 |
+++ hb-guide-metadata.xml 14 Apr 2009 11:45:27 -0000 1.8 |
22 |
@@ -1,13 +1,13 @@ |
23 |
<?xml version='1.0' encoding='UTF-8'?> |
24 |
<!DOCTYPE sections SYSTEM "/dtd/book.dtd"> |
25 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/pl/devrel/handbook/hb-guide-metadata.xml,v 1.7 2008/07/25 14:06:00 shadow Exp $ --> |
26 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/pl/devrel/handbook/hb-guide-metadata.xml,v 1.8 2009/04/14 11:45:27 shadow Exp $ --> |
27 |
|
28 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
29 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
30 |
|
31 |
<sections> |
32 |
-<version>1.0.6</version> |
33 |
-<date>2008-07-10</date> |
34 |
+<version>1.0.7</version> |
35 |
+<date>2008-09-11</date> |
36 |
|
37 |
<section> |
38 |
<title>Dlaczego metadata.xml jest potrzebne?</title> |
39 |
@@ -46,8 +46,10 @@ |
40 |
posiada żadnych atrybutów. Wymagana, drugorzędna etykieta tego pliku to: |
41 |
<brite><herd></brite>. Następujące podrzędne etykiety są dozwolone: |
42 |
<brite><email></brite> czyli adres e-mail herdu, |
43 |
- <brite><maintainer></brite> oraz |
44 |
- <brite><longdescription></brite>. |
45 |
+ <brite><maintainer></brite>, |
46 |
+ <brite><longdescription></brite>, |
47 |
+ <brite><use></brite> i |
48 |
+ <brite><upstream></brite>. |
49 |
</ti> |
50 |
</tr> |
51 |
<tr> |
52 |
@@ -70,7 +72,6 @@ |
53 |
etykiety musi składać się z nazwy herd, jak przedstawia plik <uri |
54 |
link="http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo/xml/htdocs/proj/en/metastructure/herds/herds.xml?content-type=text/plain&rev=HEAD">herds.xml</uri>. |
55 |
Opcja ta musi się pojawić przynajmniej raz o ile nie wybrano no-herd. |
56 |
- |
57 |
</ti> |
58 |
</tr> |
59 |
<tr> |
60 |
@@ -118,7 +119,7 @@ |
61 |
<ti><brite><use></brite></ti> |
62 |
<ti> |
63 |
Etykieta ta zawiera opis <uri |
64 |
- link="/doc/en/handbook/handbook-x86.xml?part=2&chap=2">flag USE</uri>. |
65 |
+ link="/doc/pl/handbook/handbook-x86.xml?part=2&chap=2">flag USE</uri>. |
66 |
Jest ona opcjonalna i jeśli jej użyjemy musimy dodatkowo dodać etykietę: |
67 |
<brite><flag></brite>. |
68 |
</ti> |
69 |
@@ -134,6 +135,68 @@ |
70 |
</ti> |
71 |
</tr> |
72 |
<tr> |
73 |
+ <ti><brite><upstream></brite></ti> |
74 |
+ <ti> |
75 |
+ Etykieta ta zawiera informacje o deweloperach danego projektu. |
76 |
+ </ti> |
77 |
+</tr> |
78 |
+<tr> |
79 |
+ <ti><brite><maintainer></brite></ti> |
80 |
+ <ti> |
81 |
+ Nazwisko i adres e-mail opiekuna projektu. Może pojawić się kilka |
82 |
+ razy. |
83 |
+ </ti> |
84 |
+</tr> |
85 |
+<tr> |
86 |
+ <ti><brite><name></brite></ti> |
87 |
+ <ti> |
88 |
+ Nazwa opiekuna projektu powinna zawierać blok tekstowy z nazwiskami |
89 |
+ deweloperów projektu. Element ten jest obowiązkowy i może być użyty tylko |
90 |
+ raz. |
91 |
+ </ti> |
92 |
+</tr> |
93 |
+<tr> |
94 |
+ <ti><brite><email></brite></ti> |
95 |
+ <ti> |
96 |
+ Adres email projektu może zostać użyty tylko raz. |
97 |
+ </ti> |
98 |
+</tr> |
99 |
+<tr> |
100 |
+ <ti><brite><changelog></brite></ti> |
101 |
+ <ti> |
102 |
+ Zawiera adres URL miejsca, w którym powinnien znajdować się changelog |
103 |
+ projektu. Adres nie może być zależny od wersji pakietu i musi wskazywać na |
104 |
+ changelog, który jest aktualizowany jedynie w przypadku nowych wydań danego |
105 |
+ pakietu (Odnosi się to również do sytuacji, w której adres kieruje do |
106 |
+ changelog generowanego automatycznie w przypadku migawek cvs). |
107 |
+ </ti> |
108 |
+</tr> |
109 |
+<tr> |
110 |
+ <ti><brite><doc></brite></ti> |
111 |
+ <ti> |
112 |
+ Zawiera adres URL miejsca, w którym znajduje się dokumentacja projektu. |
113 |
+ Adres nie może kierować do dokumentacji stron trzecich i musi być |
114 |
+ niezależna od wersji. W przypadku gdy dokumentacja dostępnach jest w wielu |
115 |
+ językach, w adresie można zawrzeć atrybut odnoszący sie do danego języka, |
116 |
+ na takich zasadach jak w etykiecie longdescription. |
117 |
+ </ti> |
118 |
+</tr> |
119 |
+<tr> |
120 |
+ <ti><brite><bugs-to></brite></ti> |
121 |
+ <ti> |
122 |
+ Powinna zawierać miejsce, w którym można zgłaszać błędy. Może to być adres |
123 |
+ URL lub e-mail poprzedzony słowem mailto:. |
124 |
+ </ti> |
125 |
+</tr> |
126 |
+<tr> |
127 |
+ <ti><brite><remote-id></brite></ti> |
128 |
+ <ti> |
129 |
+ Etykieta, która powinna zawierać typ trakera identyfikującego pakiet. |
130 |
+ remote-id powinno ułatwić indeksowanie takich informacji jak ID Freashmeat |
131 |
+ czy nazwę CPAN. |
132 |
+ </ti> |
133 |
+</tr> |
134 |
+<tr> |
135 |
<ti><brite><pkg></brite></ti> |
136 |
<ti>Etykieta ta zawiera poprawną nazwę pakietu w formacie DEPEND.</ti> |
137 |
</tr> |
138 |
@@ -161,7 +224,7 @@ |
139 |
<ti>lang</ti> |
140 |
<ti> |
141 |
<brite><description></brite>, <brite><longdescription></brite>, |
142 |
- <brite><use></brite> |
143 |
+ <brite><use></brite>, <brite><doc></brite> |
144 |
</ti> |
145 |
<ti> |
146 |
W każdym przypadku, gdy opis jest wymagany, musi istnieć |
147 |
@@ -187,7 +250,7 @@ |
148 |
przykładu, w pakiecie <c>sys-lib/db</c> |
149 |
<c>restrict=">=sys-libs/db-3.2.9-r5"</c> na etykiecie maintainer |
150 |
wskazuje, iż zarządzający administruje w tej chwili wszystkimi wersjami |
151 |
- większymi od 3.2.9-r5. |
152 |
+ większymi od 3.2.9-r5. |
153 |
</ti> |
154 |
</tr> |
155 |
<tr> |
156 |
@@ -202,6 +265,31 @@ |
157 |
name='acpi'>Enables ACPI</flag></c> |
158 |
</ti> |
159 |
</tr> |
160 |
+<tr> |
161 |
+ <ti>status</ti> |
162 |
+ <ti> |
163 |
+ <brite><maintainer></brite> |
164 |
+ </ti> |
165 |
+ <ti> |
166 |
+ Element ten posiada atrybut statusu, który może przyjąć wartość aktywny lub |
167 |
+ nieaktywyny. Atrybut ten nie jest obowiązkowy. W przypadku gdy status nie |
168 |
+ jest podany przyjmujemy go jako nieznany. Należy zwrócić uwagę, że atrybut |
169 |
+ ten jest dozwolony jedynie w przypadku elementów <upstream> |
170 |
+ <maintainer>. |
171 |
+ </ti> |
172 |
+</tr> |
173 |
+<tr> |
174 |
+ <ti>type</ti> |
175 |
+ <ti> |
176 |
+ <brite><remote-id></brite> |
177 |
+ </ti> |
178 |
+ <ti> |
179 |
+ Element identyfikujący typ źródła deweloperów zajmujących się projektem. |
180 |
+ Lista poprawnych wpisów przetrzymywana jest w pliku metadata.dtd. Przed |
181 |
+ użyciem nowego typu deweloper powinien wysłać wiadomości na listę |
182 |
+ dyskusyjną gentoo-dev. |
183 |
+ </ti> |
184 |
+</tr> |
185 |
</table> |
186 |
|
187 |
</body> |
188 |
@@ -246,9 +334,9 @@ |
189 |
<herd> |
190 |
<name>openoffice</name> |
191 |
<email>openoffice@g.o</email> |
192 |
- <description>openoffice related packages</description> |
193 |
+ <description>Openoffice related packages</description> |
194 |
<maintainer><email>pauldv@g.o</email></maintainer> |
195 |
- <maintainer><email>brad@g.o</email></maintainer> |
196 |
+ <maintainer><email>suka@g.o</email></maintainer> |
197 |
</herd> |
198 |
</pre> |
199 |
|
200 |
@@ -309,43 +397,72 @@ |
201 |
<pkgmetadata> |
202 |
<herd>gentopia</herd> |
203 |
<maintainer> |
204 |
- <email>compnerd@g.o</email> |
205 |
+ <email>compnerd@g.o</email> |
206 |
</maintainer> |
207 |
<maintainer> |
208 |
- <email>steev@g.o</email> |
209 |
+ <email>steev@g.o</email> |
210 |
</maintainer> |
211 |
<use> |
212 |
- <flag name='acpi'>Enables HAL to attempt to read from |
213 |
- /proc/acpi/event, if unavailable, HAL will read events from |
214 |
- <pkg>sys-power/acpid</pkg>. If you need multiple acpi |
215 |
- readers, ensure acpid is in your default runlevel along with HAL. This |
216 |
- will also enable HAL to read Toshia and IBM acpi events which do not |
217 |
- get sent via /proc/acpi/event</flag> |
218 |
- <flag name='crypt'>Allows HAL to mount volumes that are encrypted using |
219 |
- LUKS. <pkg>sys-fs/cryptsetup-luks</pkg> which has recently been renamed |
220 |
- to <pkg>sys-fs/cryptsetup</pkg> allows you to create such encrypted |
221 |
- volumes. HAL will be able to handle volumes that are removable or |
222 |
- fixed.</flag> |
223 |
- <flag name='dell'>Builds an installs the Dell addon, which reads data from |
224 |
- the Dell SM BIOS via <pkg>sys-libs/libsmbios</pkg>. It will read your |
225 |
- service tag information and your hardware backlight data as well as |
226 |
- allow you to modify the backlight settings on a Dell laptop.</flag> |
227 |
- <flag name='disk-partition'>Allows HAL to use libparted from |
228 |
- <pkg>sys-apps/parted</pkg> to read raw partition data from your disks |
229 |
- and process that data. Future versions of HAL (possibly 0.5.11 and |
230 |
- higher) will allow you to create, modify, delete and format partitions |
231 |
- from a GUI interface agnostic of your desktop environment.</flag> |
232 |
- <flag name='doc'>Generates documentation that describes HAL's fdi |
233 |
- format.</flag> |
234 |
- <flag name='pcmcia'>Allows HAL to process PCMCIA/CardBus slot data which |
235 |
- includes inserts and removals and act on these events.</flag> |
236 |
- <flag name='selinux'>Installs SELinux policies and links HAL to the SELinux |
237 |
- libraries.</flag> |
238 |
+ <flag name='acpi'>Enables HAL to attempt to read from |
239 |
+ /proc/acpi/event, if unavailable, HAL will read events from |
240 |
+ <pkg>sys-power/acpid</pkg>. If you need multiple acpi |
241 |
+ readers, ensure acpid is in your default runlevel along with HAL. This |
242 |
+ will also enable HAL to read Toshia and IBM acpi events which do not |
243 |
+ get sent via /proc/acpi/event</flag> |
244 |
+ <flag name='crypt'>Allows HAL to mount volumes that are encrypted using |
245 |
+ LUKS. <pkg>sys-fs/cryptsetup-luks</pkg> which has recently been renamed |
246 |
+ to <pkg>sys-fs/cryptsetup</pkg> allows you to create such encrypted |
247 |
+ volumes. HAL will be able to handle volumes that are removable or |
248 |
+ fixed.</flag> |
249 |
+ <flag name='dell'>Builds an installs the Dell addon, which reads data from |
250 |
+ the Dell SM BIOS via <pkg>sys-libs/libsmbios</pkg>. It will read your |
251 |
+ service tag information and your hardware backlight data as well as |
252 |
+ allow you to modify the backlight settings on a Dell laptop.</flag> |
253 |
+ <flag name='disk-partition'>Allows HAL to use libparted from |
254 |
+ <pkg>sys-apps/parted</pkg> to read raw partition data from your disks |
255 |
+ and process that data. Future versions of HAL (possibly 0.5.11 and |
256 |
+ higher) will allow you to create, modify, delete and format partitions |
257 |
+ from a GUI interface agnostic of your desktop environment.</flag> |
258 |
+ <flag name='doc'>Generates documentation that describes HAL's fdi |
259 |
+ format.</flag> |
260 |
+ <flag name='pcmcia'>Allows HAL to process PCMCIA/CardBus slot data which |
261 |
+ includes inserts and removals and act on these events.</flag> |
262 |
+ <flag name='selinux'>Installs SELinux policies and links HAL to the SELinux |
263 |
+ libraries.</flag> |
264 |
</use> |
265 |
</pkgmetadata> |
266 |
</pre> |
267 |
|
268 |
</body> |
269 |
</subsection> |
270 |
+<subsection> |
271 |
+<title>Przykład czwarty</title> |
272 |
+<body> |
273 |
+ |
274 |
+<p> |
275 |
+W przykładzie tym zademonstrowano użycie elementu upstream: |
276 |
+</p> |
277 |
+ |
278 |
+<pre caption="Opis upstream"> |
279 |
+<upstream> |
280 |
+ <maintainer status="inactive"> |
281 |
+ <name>Foo Bar</name> |
282 |
+ <email>foo@×××.bar</email> |
283 |
+ </maintainer> |
284 |
+ <maintainer status="active"> |
285 |
+ <name>Foo Gentoo</name> |
286 |
+ <email>foo@g.o</email> |
287 |
+ </maintainer> |
288 |
+ <changelog>http://foo.bar/changelog.txt</changelog> |
289 |
+ <doc lang="en">http://foo.bar/doc/index.html</doc> |
290 |
+ <doc lang="de">http://foo.bar/doc/index.de.html</doc> |
291 |
+ <bugs-to>https://bugs.foo.bar</bugs-to> |
292 |
+ <remote-id type="freshmeat">foobar</remote-id> |
293 |
+ <remote-id type="sourceforge">foobar</remote-id> |
294 |
+</upstream> |
295 |
+</pre> |
296 |
+ |
297 |
+</body> |
298 |
+</subsection> |
299 |
</section> |
300 |
</sections> |