[Exherbo-dev] Tags vs. categories

Ciaran McCreesh ciaran.mccreesh at googlemail.com
Thu Jul 10 23:49:34 BST 2008

On Thu, 10 Jul 2008 01:37:19 -0400
"Jonathan Dehan" <jdehan at gmail.com> wrote:
> I propose having the on-disk format as follows:
> $packagedir/packages/$repository/$provider/$package-$version-$revision.$format
> $provider can be {organization,main_developer,homepage}. It does not
> need to be consistent, for it will only be used to help uniquely
> identify a package (along with $repository) and all its versions if
> just the $name is ambiguous.

There's a non-obvious downside to doing this: for sane performance, we
want directories with typically between ten and a hundred items in
them. As it happens, categories the way they are currently fit into

> For more in depth browsing, and not just tag searching, the tags can
> be exported as symlinks in
> $packagedir/tags/{$all-tags}/{$all-tags-plus-the-tag-selected-above}/{etc,etc}/name-provider-repository
> ->
>  $packagedir/packages/$repository/$provider/$name-$best_available_version_and_revision.$format
> Exporting all permutations of tags as symlinks on the filesystem
> makes it very flexible to browse for packages, at least until a
> proper interactive client comes around.

That strikes me as a maintenance pain in the ass.

Ciaran McCreesh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.exherbo.org/pipermail/exherbo-dev/attachments/20080710/f09a3e77/attachment.pgp>

More information about the Exherbo-dev mailing list