public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Questions about XML files used in portage
@ 2005-09-21 12:28 Albert Hopkins
  2005-09-21 13:21 ` Chris Gianelloni
  0 siblings, 1 reply; 16+ messages in thread
From: Albert Hopkins @ 2005-09-21 12:28 UTC (permalink / raw
  To: gentoo-dev

I'm trying to incorporate into my project the metadata.xml files used in
portage, but I have a few questions:

     1. It seems like many of the package metadata.xml files \-escape
        "special" characters a la bash.  This isn't really necessary in
        XML and if there are special characters, such as '<', etc. then
        there is an XML way of presenting them.  Is there a special
        reason that the '\' is used (i.e does software exist that
        requires this)?
     2. Are metadata.xml files a requirement for categories?  There are
        a few categories that do not have one:
              * x11-proto
              * x11-apps
              * x11-drivers
     3. If a metadata.xml has a <longdescription> element, is it
        required to contain text?  There is at least one package that
        has an empty <longdescription>.  I wanted to use the
        <longdescription> to override the DESCRIPTION in the .ebuild, if
        it exists, but in this case the DESCRIPTION is actually
        infinitely longer than the <longdescription>.
     4. Speaking of <longdescription>, are line breaks to be preserved
        in their representation?  There are a few packages whose
        <longdescription> use line breaks for formatting.  One in
        particular, gnustep-libs/steptalk  not only prefers to preserve
        line breaks, but also appears to prefer a fixed-width font in
        it's representation.  Is this also a requirement?

If anyone has answers to any of the above questions I thank you in
advance for your response.

-m

-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2005-09-27 10:28 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-21 12:28 [gentoo-dev] Questions about XML files used in portage Albert Hopkins
2005-09-21 13:21 ` Chris Gianelloni
2005-09-21 13:34   ` Paul de Vrieze
2005-09-21 14:18     ` Chris Gianelloni
2005-09-21 14:34       ` Paul de Vrieze
2005-09-21 15:15         ` Albert Hopkins
2005-09-21 14:07   ` Albert Hopkins
2005-09-21 14:24     ` Chris Gianelloni
2005-09-21 21:17   ` Jan Kundrát
2005-09-22  8:49     ` Paul de Vrieze
2005-09-22 16:14       ` Grobian
2005-09-22 18:21         ` Paul de Vrieze
2005-09-23 16:41           ` Grobian
2005-09-23 19:43             ` Paul de Vrieze
2005-09-27  8:09               ` Petteri Räty
2005-09-27 10:26                 ` Paul de Vrieze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox