-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dominique Leuenberger wrote:
On 10-10-2007 at 14:34, "Ladislav Michnovic"
I would prefer it. Sometimes people complain because they want to install a game and there is not resolvable dependency on *-data package because they forgot to add the data subrepository. This one can be solved for the moment by using YMP files, as it's done on software.o.o. If you search for example for games in games:strategy:turn-based (example ufoai), the ymp will suggest you also do add the games:data repository.
Yeah but it should really work without YMP as well. Other package managers and older openSUSE versions (sub 10.3).
I think an approch like this should be possible for the community repo adder as well; like: never add PM if you do not add the opensuse ftp repo (or similar things).
Possibly, but that's another topic ;)
An alternative could be, to have the games:* split as up to now (well: most action gamers are almost never fond of strategy or adventures, so no need to mix them all up), but maybe offering to add just games: could be an interesting idea.
How do you mean "no need to mix them all up" ? It's not like adding the repository will install all the packages of the repository on your box. There aren't several hundreds of packages either AFAIK (didn't check though) so the few bits of extra metadata won't kill it.
On the other hand, technically, this will be more than a challenge I think (directory structures, repository paths and the like)
No, not really, just do one repository for all games.
Another solution would be to have something similar to _link but that
works in repository metadata level.
When you look at RPM-MD's primary.xml.gz files, you'll notice this:
<metadata> <!-- root element -->
<package type="rpm">
<name>...</name>
...
<location href="i586/foobar-1.0.0-1.i586.rpm" />
</package>
<package>
...
I don't see any reason the location couldn't point to relative dirs
(unless there's an explicit check that forbids it in zypp/smart/yum, but
I seriously doubt that).
There could be a toplevel RPM-MD repository for games: that doesn't
contain any files on its own (well they could be copied using _link but
the mirror admins won't be happy) but aggregates packages from several
sub-repositories using the RPM-MD metadata, e.g.
/repositories/games:/openSUSE_10.3/repodata/primary.xml.gz:
...
<location href="../../action/openSUSE_10.3/i586/nexuiz-0.0-0.i586.rpm"/>
...
<location href="../../board/openSUSE_10.3/i586/knights-0.6-1.i586.rpm"/>
...
etc...
That way it'll just be more metadata but no duplication of packages
("aggregate repositories" is quite an adequate term IMO).
Would have to validate that it actually works but I don't see any reason
it wouldn't.
cheers
- --
-o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
/\\