[Rpm-metadata] metadata script and sample
Joe Shaw
joe at ximian.com
Fri Oct 3 22:41:52 UTC 2003
On Fri, 2003-10-03 at 11:18, Mark Hatle wrote:
> jbj asked me to suggest some constraints on a license field.
I think having constraints is a bad idea, although it's probably a good
idea to have a convention.
Ximian ships a number of proprietary third-party packages with its
professional version of its desktop. Most of these include specific
licenses and it's necessary for us to display them to the user (and
require agreement) before the packages are installed. So it's important
to name them uniquely in such a way that we can identify them with some
additional metadata (which for us is a separate file which contains the
text of the licenses). I would hate for those to be considered invalid
under this format.
> The "/" indicates that the package either contains things licensed by
> and/or the listed licenses.
If we're using a structured format such as XML, I think we should
probably use its structure instead of defining "/" as a convention.
That way validators can, well, validate it and the tag is truly a fully
free-form field. We could do either:
<package>
...
<license>MPL</license>
<license>GPL</license>
...
</package>
or
<package>
...
<licenses>
<license>MPL</license>
<license>GPL</license>
</licenses>
</package>
Joe
More information about the Rpm-metadata
mailing list