Gentoo Archives: gentoo-commits

From: "Damian Kuras (shadow)" <shadow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in xml/htdocs/proj/pl/devrel/handbook: hb-guide-metadata.xml
Date: Tue, 14 Apr 2009 11:45:29
Message-Id: E1Lth4x-0005BS-AI@stork.gentoo.org
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>&lt;herd&gt;</brite>. Następujące podrzędne etykiety są dozwolone:
42 <brite>&lt;email&gt;</brite> czyli adres e-mail herdu,
43 - <brite>&lt;maintainer&gt;</brite> oraz
44 - <brite>&lt;longdescription&gt;</brite>.
45 + <brite>&lt;maintainer&gt;</brite>,
46 + <brite>&lt;longdescription&gt;</brite>,
47 + <brite>&lt;use&gt;</brite> i
48 + <brite>&lt;upstream&gt;</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&amp;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>&lt;use&gt;</brite></ti>
62 <ti>
63 Etykieta ta zawiera opis <uri
64 - link="/doc/en/handbook/handbook-x86.xml?part=2&amp;chap=2">flag USE</uri>.
65 + link="/doc/pl/handbook/handbook-x86.xml?part=2&amp;chap=2">flag USE</uri>.
66 Jest ona opcjonalna i jeśli jej użyjemy musimy dodatkowo dodać etykietę:
67 <brite>&lt;flag&gt;</brite>.
68 </ti>
69 @@ -134,6 +135,68 @@
70 </ti>
71 </tr>
72 <tr>
73 + <ti><brite>&lt;upstream&gt;</brite></ti>
74 + <ti>
75 + Etykieta ta zawiera informacje o deweloperach danego projektu.
76 + </ti>
77 +</tr>
78 +<tr>
79 + <ti><brite>&lt;maintainer&gt;</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>&lt;name&gt;</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>&lt;email&gt;</brite></ti>
95 + <ti>
96 + Adres email projektu może zostać użyty tylko raz.
97 + </ti>
98 +</tr>
99 +<tr>
100 + <ti><brite>&lt;changelog&gt;</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>&lt;doc&gt;</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>&lt;bugs-to&gt;</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>&lt;remote-id&gt;</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>&lt;pkg&gt;</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>&lt;description&gt;</brite>, <brite>&lt;longdescription&gt;</brite>,
142 - <brite>&lt;use&gt;</brite>
143 + <brite>&lt;use&gt;</brite>, <brite>&lt;doc&gt;</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="&gt;=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'&gt;Enables ACPI&lt;/flag&gt;</c>
158 </ti>
159 </tr>
160 +<tr>
161 + <ti>status</ti>
162 + <ti>
163 + <brite>&lt;maintainer&gt;</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 &lt;upstream&gt;
170 + &lt;maintainer&gt;.
171 + </ti>
172 +</tr>
173 +<tr>
174 + <ti>type</ti>
175 + <ti>
176 + <brite>&lt;remote-id&gt;</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 &lt;herd&gt;
190 &lt;name&gt;openoffice&lt;/name&gt;
191 &lt;email&gt;openoffice@g.o&lt;/email&gt;
192 - &lt;description&gt;openoffice related packages&lt;/description&gt;
193 + &lt;description&gt;Openoffice related packages&lt;/description&gt;
194 &lt;maintainer&gt;&lt;email&gt;pauldv@g.o&lt;/email&gt;&lt;/maintainer&gt;
195 - &lt;maintainer&gt;&lt;email&gt;brad@g.o&lt;/email&gt;&lt;/maintainer&gt;
196 + &lt;maintainer&gt;&lt;email&gt;suka@g.o&lt;/email&gt;&lt;/maintainer&gt;
197 &lt;/herd&gt;
198 </pre>
199
200 @@ -309,43 +397,72 @@
201 &lt;pkgmetadata&gt;
202 &lt;herd&gt;gentopia&lt;/herd&gt;
203 &lt;maintainer&gt;
204 - &lt;email&gt;compnerd@g.o&lt;/email&gt;
205 + &lt;email&gt;compnerd@g.o&lt;/email&gt;
206 &lt;/maintainer&gt;
207 &lt;maintainer&gt;
208 - &lt;email&gt;steev@g.o&lt;/email&gt;
209 + &lt;email&gt;steev@g.o&lt;/email&gt;
210 &lt;/maintainer&gt;
211 &lt;use&gt;
212 - &lt;flag name='acpi'&gt;Enables HAL to attempt to read from
213 - /proc/acpi/event, if unavailable, HAL will read events from
214 - &lt;pkg&gt;sys-power/acpid&lt;/pkg&gt;. 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&lt;/flag&gt;
218 - &lt;flag name='crypt'&gt;Allows HAL to mount volumes that are encrypted using
219 - LUKS. &lt;pkg&gt;sys-fs/cryptsetup-luks&lt;/pkg&gt; which has recently been renamed
220 - to &lt;pkg&gt;sys-fs/cryptsetup&lt;/pkg&gt; allows you to create such encrypted
221 - volumes. HAL will be able to handle volumes that are removable or
222 - fixed.&lt;/flag&gt;
223 - &lt;flag name='dell'&gt;Builds an installs the Dell addon, which reads data from
224 - the Dell SM BIOS via &lt;pkg&gt;sys-libs/libsmbios&lt;/pkg&gt;. 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.&lt;/flag&gt;
227 - &lt;flag name='disk-partition'&gt;Allows HAL to use libparted from
228 - &lt;pkg&gt;sys-apps/parted&lt;/pkg&gt; 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.&lt;/flag&gt;
232 - &lt;flag name='doc'&gt;Generates documentation that describes HAL's fdi
233 - format.&lt;/flag&gt;
234 - &lt;flag name='pcmcia'&gt;Allows HAL to process PCMCIA/CardBus slot data which
235 - includes inserts and removals and act on these events.&lt;/flag&gt;
236 - &lt;flag name='selinux'&gt;Installs SELinux policies and links HAL to the SELinux
237 - libraries.&lt;/flag&gt;
238 + &lt;flag name='acpi'&gt;Enables HAL to attempt to read from
239 + /proc/acpi/event, if unavailable, HAL will read events from
240 + &lt;pkg&gt;sys-power/acpid&lt;/pkg&gt;. 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&lt;/flag&gt;
244 + &lt;flag name='crypt'&gt;Allows HAL to mount volumes that are encrypted using
245 + LUKS. &lt;pkg&gt;sys-fs/cryptsetup-luks&lt;/pkg&gt; which has recently been renamed
246 + to &lt;pkg&gt;sys-fs/cryptsetup&lt;/pkg&gt; allows you to create such encrypted
247 + volumes. HAL will be able to handle volumes that are removable or
248 + fixed.&lt;/flag&gt;
249 + &lt;flag name='dell'&gt;Builds an installs the Dell addon, which reads data from
250 + the Dell SM BIOS via &lt;pkg&gt;sys-libs/libsmbios&lt;/pkg&gt;. 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.&lt;/flag&gt;
253 + &lt;flag name='disk-partition'&gt;Allows HAL to use libparted from
254 + &lt;pkg&gt;sys-apps/parted&lt;/pkg&gt; 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.&lt;/flag&gt;
258 + &lt;flag name='doc'&gt;Generates documentation that describes HAL's fdi
259 + format.&lt;/flag&gt;
260 + &lt;flag name='pcmcia'&gt;Allows HAL to process PCMCIA/CardBus slot data which
261 + includes inserts and removals and act on these events.&lt;/flag&gt;
262 + &lt;flag name='selinux'&gt;Installs SELinux policies and links HAL to the SELinux
263 + libraries.&lt;/flag&gt;
264 &lt;/use&gt;
265 &lt;/pkgmetadata&gt;
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 +&lt;upstream&gt;
280 + &lt;maintainer status="inactive"&gt;
281 + &lt;name&gt;Foo Bar&lt;/name&gt;
282 + &lt;email&gt;foo@×××.bar&lt;/email&gt;
283 + &lt;/maintainer&gt;
284 + &lt;maintainer status="active"&gt;
285 + &lt;name&gt;Foo Gentoo&lt;/name&gt;
286 + &lt;email&gt;foo@g.o&lt;/email&gt;
287 + &lt;/maintainer&gt;
288 + &lt;changelog&gt;http://foo.bar/changelog.txt&lt;/changelog&gt;
289 + &lt;doc lang="en"&gt;http://foo.bar/doc/index.html&lt;/doc&gt;
290 + &lt;doc lang="de"&gt;http://foo.bar/doc/index.de.html&lt;/doc&gt;
291 + &lt;bugs-to&gt;https://bugs.foo.bar&lt;/bugs-to&gt;
292 + &lt;remote-id type="freshmeat"&gt;foobar&lt;/remote-id&gt;
293 + &lt;remote-id type="sourceforge"&gt;foobar&lt;/remote-id&gt;
294 +&lt;/upstream&gt;
295 +</pre>
296 +
297 +</body>
298 +</subsection>
299 </section>
300 </sections>