Mailinglist Archive: opensuse-buildservice (273 mails)

< Previous Next >
Re: [opensuse-buildservice] Colons considered harmful: escaping?LD_LIBRARY_PATH in OBS projects
  • From: Michael E Brown <Michael_E_Brown@xxxxxxxx>
  • Date: Fri, 9 Jan 2009 13:16:53 -0600
  • Message-id: <20090109191629.GA4512@xxxxxxxxxxxxxxx>
On Thu, Jan 08, 2009 at 09:32:30AM +0100, Michal Vyskocil wrote:
On Wednesday 07 of January 2009 14:39:35 Pavol Rusnak wrote:
Juergen Weigert wrote:
Yes, this is best for representing the structure in a filesystem.

I'm not really sure. Real-life example:

Project devel-tools contains cflow, dwarves, exmap packages. It also
contains subprojects devel:tools:building, devel:tools:compiler,
devel:tools:scm. If you checkout the whole tree, you'll end with this


I really like the proposal to simply always checkout with s/:/\//.

I suppose that the .osc/ dir in each directory can tell if the dir is a project
or a package. You could simply use this suggestion with one small tweak. For
projects where a subproject and a package collide in the namespace, simply
disambiguate them with prefixes or suffixes. Here is one example, given pkgA,
pkgB, pkgC and subprojects prjA, prjB, pkgC.


Or, using a suffix:


Or, using suffixes for everything (which I'm not in favor of, but it has a
certain symmetry).


< Previous Next >