On Thu, 10 May 2007, Andreas Bauer wrote:
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.
You're right, but - That's a tools problem only. The user wont see it, wheras the users sees the project names and structures. - It's the same for Unix filesystems. You also do not know if /foo/bar is a directory or a file. So in this sense it is consistent. The Unix filesystem seperation is widely used, accepted and understood (including it's limitations). I think it's better to use it than redoing it using ":". I also used adapted naming schemes for some of my projects and finally came to conclusion, that Unix file system or URL type addressing would have been better (but it's to late to change). I think for Buildsystem it is still time to change. Ciao -- http://www.dstoecker.eu/ (PGP key available) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org