On 25/07/07, Adrian Schröter <adrian@suse.de> wrote:
Hi Benji,
Michael and me looked at the new meta data schema and we had the following observations:
We understand that you want to produce one working ymp file for all distros.
Not necessarily, I think we need the flexibility to be able to have one that will work whatever the distribution. For example on third party media or other situations where the user may not know what distribution they are using. If the user's distribution is already known when using the package search/ software portal then the other distversion information does not have to be included, and so download size is reduced.
This does mean that you need to maintain the definition for base repos also in yast, so that YaST does know what base distro is running. So you have a mapping rule in yast-metapackage-handler to map the strings from the ymp file to strings from install.inf or /etc/SUSE-release ?
There is already a Product.ycp which can be used to query what the base system is. I was going to compare against Product::name which returns "openSUSE 10.2" or "openSUSE 10.3" etc.
This does mean you will popup an error or warning popup when someone tries to add a repo for a not matching base repo ?
That could be done, not certain whether or not it is already provided by the standard package dialogues, I will look into it.
Is it still possible to install openSUSE 10.1 repos on SLE-10 for example ?
It should be, especially if marked as for 10.1 in the YMP.
Michael and me think that the "<products>" and "<product>" tags could get a different name, because we associate it with something like "openSUSE 10.2" but not with a single package or pattern. What about "<software>" and "<rpm>" for example ?
Software sounds good. _ Benjamin Weber -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org