On Thursday, 10. May 2007 10:29, Dirk Stoecker wrote:
On Thu, 10 May 2007, Andreas Bauer wrote:
I asked myself, why the buildservice uses the ":" as seperation character? This makes some trouble in commandline, as : must always be escaped and also it looks strange from users side.
Wouldn't it be better to introduce "/" in it's full meaning? The repositories are already stored hierarchical on the download servers. Having the same in the buildservice would be nice. E.G. my home:dstoecker:perl would be nice to have as link perl in home:dstoecker. (or better home/dstoecker/perl).
I know that would probably be a bigger change right now, but it would make the buildservice compatible to the general Unix path conventions.
This would cause problems with the URIs of the API. Consider the resource
http://api/source/home/bauersman/test/_meta
You can't tell if it adresses the metadata of the project home/bauersman/test or of the package test below the project home/bauersman.
Is it necessary to allow a subproject and a package to have the same name? I think not. Would confuse anyway.
No of course not. What I meant was, with your proposal, you can't tell from looking at the URI alone what type of resource you're addressing. Even worse, the meaning of the resource behind an URI can change over time, if a subproject is deleted and a package with the same name is created.
Ciao
-- Andreas Bauer - Novell - SUSE Internal Tools --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org