On Thu, 10 Jul 2008 01:37:19 -0400
"Jonathan Dehan" <[EMAIL PROTECTED]> 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
this.

> 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

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Exherbo-dev mailing list
[email protected]
http://lists.exherbo.org/mailman/listinfo/exherbo-dev

Reply via email to