https://bugzilla.novell.com/show_bug.cgi?id=369893
User ma@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=369893#c6
Michael Andres
Nice, this works via poolitem.status().setToBeInstalled( zypp::ResStatus::USER ) as far as the solver is concerned.
They are in the pool.
But there are three more problems: 1) commit does not install src packages (as we did not deal with src packages through the pool previously)
Right, needs to be fixed.
2) we still need srcpkg->dep(Dep::REQUIRES) to be able to do 'zypper si --no-build-deps foo' (only install the source package, ...well we have ZYpp::installSrcPackage(srcpkg) for that)
No, once we handle srcpkg in commit, we we'll obsolete ZYpp::installSrcPackage.
or to show the build requires to the user.
I'd sugest to add a policy flag to the resolver. With no-build-deps we simply won't pass them to the satsolver. (Schubi?)
3) And finally, the build deps are generated only in rpm-md metadata, we don't have them in susetags:
This depends on what autobuild generates. (Rudi?)
So if we are to put the srcpackages into the pool together with the others (i like this approach btw, but i don't know the reasons why we avoided it in the past)
Memory and speed considerations. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.