Zypper (0.8.9) has got a new 'source-install' command:
zypper source-install (si) ...
It reads resolvables of all repos into a ResStore, then iterates through
it ByName and ByKindSrcPackage::kind and looks for the latest version.
Later i will add a possibility to specify version to install, and if it
will be demanded then also an ability to install the dependencies along
with the source package (through an option perhaps). Also i will add the
--repo option to this command as well.
Both the yum (after a fix) susetags parser seem to read the source
packages correctly.
Thanx to this (and the underlying libzypp stuff which Michael provided)
10.3 again has a way to install source packages directly from repos.
There is one more thing to fix however: zypper search is currently
operating on the ResPool (my beginner's fault i guess, i failed to
realize the ResPool should be used for solving only, although Duncan
tried to tell me :O). So i have to change it to work on ResStore so that
it can be used to search and list also source packages.
Cheers,
Jano
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-devel+help@opensuse.org