Re: A few questions about the 'groups.xml' file
Tim Lauridsen <[email protected]> Wed, 23 Apr 2014 07:33:28 +0200
| Newsgroups | gmane.linux.rpm.metadata |
|---|---|
| Message-ID | <CAD5sFAYwwa3KCL+MX3-cbqV3KzE7ssssdeHVW8YKq4RECQuqfQ@mail.gmail.com> |
--===============2915934725900226456== Content-Type: multipart/alternative; boundary=047d7bd759207d8c4204f7af12d5 --047d7bd759207d8c4204f7af12d5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, Apr 21, 2014 at 12:21 PM, =E4=BD=95=E7=84=9C <[email protected]> w= rote: > Q1:Is there any specification or document about the '*groups.xml.[gz]= *' > and '*groups.xml*'. We knew that using createrepo -g groups.xml can > product '*groups.xml.[gz]' *and add it into the repodata, but who > products the original '*groups.xml'* group file? And what is the > specification of the '*groups.xml*' file? > > > I dont think there is a clear decription of the format anywhere, try search for comps.xml or look here http://docs.fedoraproject.org/en-US/Fedora/14/html/Software_Management_Guid= e/ch08s03.html > Q2: The rpm package have a "group tag" , we can get it by 'rpm -qi' > command. Also, the '*groups.xml*' used by 'createrepo -g' also make a > defination of package groups. What the differences between them? > > rpm group tags and comps.xml groups are 2 unrelated things, comps.xml groups is not used by rpm, it is used by package managers like yum and linux installers like anaconda basicly comps.xml is just a way to define a group of packagenames there can be used i kickstart files Tim --047d7bd759207d8c4204f7af12d5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">= On Mon, Apr 21, 2014 at 12:21 PM, =E4=BD=95=E7=84=9C <span dir=3D"ltr"><= <a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]<= /a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-= left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p= adding-left:1ex"><p>=C2=A0 =C2=A0 Q1:Is there any <span style><font face=3D= "verdana, arial, Bitstream Vera Sans, helvetica, sans-serif">specification = or </font><span style=3D"font-size:13px;font-family:verdana,arial,'Bits= tream Vera Sans',helvetica,sans-serif">document about the '<strong = style=3D"font-size:13px;white-space:normal;font-family:verdana,arial,'B= itstream Vera Sans',helvetica,sans-serif">groups.xml.[gz]</strong>'= and '<strong style=3D"font-size:13px;white-space:normal;font-family:ve= rdana,arial,'Bitstream Vera Sans',helvetica,sans-serif">groups.xml<= /strong>'. We knew that using createrepo -g groups.xml can product '= ;<strong style=3D"font-size:13px;white-space:normal;font-family:verdana,ari= al,'Bitstream Vera Sans',helvetica,sans-serif">groups.xml.[gz]'= </strong>and add it into the repodata, but who products the original</span= ><span style><font color=3D"#333333" face=3D"arial"><span style=3D"line-hei= ght:22px"><font size=3D"4">=C2=A0</font><font>'</font></span></font><fo= nt face=3D"verdana, arial, Bitstream Vera Sans, helvetica, sans-serif"><str= ong style=3D"font-size:13px;white-space:normal;font-family:verdana,arial,&#= 39;Bitstream Vera Sans',helvetica,sans-serif">groups.xml'</strong>= =C2=A0group file? And what is the specification of the =C2=A0<span style=3D= "font-size:13px;font-family:verdana,arial,'Bitstream Vera Sans',hel= vetica,sans-serif">'</span><strong style=3D"font-size:13px;white-space:= normal;font-family:verdana,arial,'Bitstream Vera Sans',helvetica,sa= ns-serif">groups.xml</strong><span style=3D"font-size:13px;font-family:verd= ana,arial,'Bitstream Vera Sans',helvetica,sans-serif">' file?</= span></font></span></span></p> <p><span style><font face=3D"verdana, arial, Bitstream Vera Sans, helvetica= , sans-serif"><br></font></span></p></blockquote><div>I dont think there is= a clear decription of the format anywhere, try search for comps.xml or loo= k here</div> <div><a href=3D"http://docs.fedoraproject.org/en-US/Fedora/14/html/Software= _Management_Guide/ch08s03.html">http://docs.fedoraproject.org/en-US/Fedora/= 14/html/Software_Management_Guide/ch08s03.html</a><br></div><div>=C2=A0</di= v><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;borde= r-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid= ;padding-left:1ex"> <p><span style><font face=3D"verdana, arial, Bitstream Vera Sans, helvetica= , sans-serif"></font></span></p><p><span style><font face=3D"verdana, arial= , Bitstream Vera Sans, helvetica, sans-serif">=C2=A0 =C2=A0 =C2=A0Q2: The r= pm package have a "group tag" , we can get it by 'rpm -qi'= ; command. Also, the=C2=A0<span style=3D"font-size:13px;font-family:verdana= ,arial,'Bitstream Vera Sans',helvetica,sans-serif">'</span><str= ong style=3D"font-size:13px;white-space:normal;font-family:verdana,arial,&#= 39;Bitstream Vera Sans',helvetica,sans-serif">groups.xml</strong><span = style=3D"font-size:13px;font-family:verdana,arial,'Bitstream Vera Sans&= #39;,helvetica,sans-serif">' used by 'createrepo -g' also make = a defination of package groups. What the differences between them?=C2=A0</s= pan></font></span></p> <p></p></blockquote></div>rpm group tags and comps.xml groups are 2 unrelat= ed things, comps.xml groups is not used by rpm, it is used by package manag= ers like yum and linux installers like anaconda</div><div class=3D"gmail_ex= tra"> <br></div><div class=3D"gmail_extra">basicly comps.xml is just a way to def= ine a group of packagenames there can be used i kickstart files<br><br></di= v><div class=3D"gmail_extra">Tim</div></div> --047d7bd759207d8c4204f7af12d5-- --===============2915934725900226456== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Rpm-metadata mailing list [email protected] http://lists.baseurl.org/mailman/listinfo/rpm-metadata --===============2915934725900226456==--