[Installit-dev] Package categories

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Tue Sep 20 18:15:01 CEST 2005


Jannis Pohlmann wrote:
> Morning,
> 
> ok, this is my new suggestion for the package list format.
> 
> <packages>
>   <categories>
>     <category title="Xfce Libraries" name="xfce-libs"/>
>     <category title="File Management" name="file-management"/>
>     <category title="Package Management" name="pkg-management"/>
>     ...
>   </categories
> 
>   <package name="thunar" version="1.0" category="file-management"/>
>   <package name="libexo" version="0.9" category="xfce-libs"/>
>   <package name="libexo" version="1.0" category="xfce-libs"/>
>   <package name="xfce4utils" version="4.3" category="xfce-libs"/>
>   <package name="installit" version="0.9" category="pkg-management"/>
>   ...
> 
>   <group title="Thunar 1.0">
>     <member name="thunar" version="1.0"/>
>     <member name="libexo" version="1.0"/>
>   </group>
> 
>   <group title="Xfce 4.3">
>     <member name="xfce4utils" version="4.3"/>
>     ...
>   </group>
> </packages>
> 
> NOTES:
> 
> 1. Removed the version attribute from group. This should be put into
>    the title.
> 
> 2. Renamed the name attribute to title for consistency reasons.
> 
> 3. The type attribute for packages and groups is optional. If a group
>    has a type attribute the type of its members is supposed to be the
>    same.
> 
> 4. Packages can only be member of *one* category. Anything else would
>    force the user to be confused, hehe.
> 
> Please tell me what you think of it.

Again, looks good.

> Regards,
> Jannis

Benedikt



More information about the Installit-dev mailing list