On Thu, Jun 07, Stanislav Visnovsky wrote:
D??a Po 4. J??n 2007 13:33 Duncan Mac-Vicar Prett nap??sal:
On Monday 04 June 2007 13:12:57 Stanislav Visnovsky wrote:
Path is used for YaST sources (our installation media), which can contain multiple products. In this case, you split the URL for managing multi-media installation sources.
Stano
Can you give an example?
Actually no, I'm not aware of any real usage of the semantics except for base product (openSUSE).
- The URL denotes the media (not the repository)! - If the media itself contains additional (non repository) data, e.g. /media.N/media to identify the individual CDs in a set, you must differ between media and repository (or you are limited to one repo per media located at /). The difference beween URL PATH cd:// /reporoot cd://reporoot / is not the location of the repository data. It's the e.g. expected location of the media.n/ directory. cd://media.n/ cd://reporoot/media.n/ I'm not shure whether the restriction (one repo per media located at /) is acceptable. If we want to store the repository url only, a solution for the media change callback could be simple: We do the media.n/media check in case of CD/DVD only (and not all the time, as we do now). We should always be able to access the dvd/cd root directory. Potential pitfalls (PATH != /): - Applications (YaST) may use the repositories URL to access files on the media, expecting it to denote the media root dir. - Copying a CD-set to disk - using directories CD1, CD2,... - will fail, because we check whether the URL ends in a number and replace it with the media number. (but that might be easy to fix by adapting the URL rewrite). -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org