Possibly misleading hint/string about directory.yast in yast2-info.py

Andreas Hanke andreas.hanke at gmx-topmail.de
Mon Oct 23 06:10:47 PDT 2006


Hi,

while looking at the currently untranslated strings in the yast2 channel
implementation, I stumbled across this:

_("Base URL of YaST2 repository, where directory.yast is located.")),

I'd like to put this into question for the following reasons:

- directory.yast is optional, not all yast2 channels have it. The
following is a valid yast2 channel without directory.yast:

http://repos.opensuse.org/KDE:/Backports/SUSE_Linux_9.3

- most yast2 channels which have directory.yast have multiple copies of
it in subdirectories of the repository root. Example:

http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/directory.yast
http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/boot/directory.yast
http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/media.1/directory.yast

But only the first directory.yast's parent directory is a valid baseurl
for the yast2 channel.

Therefore I propose using the "content" file instead of directory.yast
as a hint for the baseurl, because it is both mandatory and unique.

Mauricio, you know the yast2 channels best. Can you confirm that the
"content" file is a reliable and unique way to identify the baseurl of a
yast2 channel?

Andreas



More information about the Smart mailing list