Mailinglist Archive: zypp-devel (92 mails)
| < Previous | Next > |
[zypp-devel] status - installing source packages from repos
- From: Jan Kupec <jkupec@xxxxxxx>
- Date: Tue, 07 Aug 2007 16:35:54 +0200
- Message-id: <46B8834A.2060905@xxxxxxx>
Zypper (0.8.9) has got a new 'source-install' command:
zypper source-install (si) <package_name> ...
It reads resolvables of all repos into a ResStore, then iterates through
it ByName and ByKind<SrcPackage::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@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
zypper source-install (si) <package_name> ...
It reads resolvables of all repos into a ResStore, then iterates through
it ByName and ByKind<SrcPackage::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@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |