[yast-devel] Zypp Patterns
Hey, libzypp Pattern's install_packages() is marked obsolete as of 10.3. yast-gtk keeps using it, and so does -qt. Can you guys point me to the new API? Thanks, Ricardo -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
On Wednesday 10 October 2007 16:21:55 Ricardo Cruz wrote:
Hey,
libzypp Pattern's install_packages() is marked obsolete as of 10.3. yast-gtk keeps using it, and so does -qt. Can you guys point me to the new API?
Thanks, Ricardo
zypp/ui/PatternContents.h the method in Pattern uses that class. It is marked as deprecated because we don't want the people to think a pattern has content (because it has hard and soft requirements, etc) PatternContent is a helper class to figure out related packages, examining dependencies. guess that is the right class to use. Feedback in anything that goes under ui/ is welcome anyway. We want to keep there anything useful for applications displaying data. Duncan -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
On 10/10/2007, Ricardo Cruz
Hey,
libzypp Pattern's install_packages() is marked obsolete as of 10.3. yast-gtk keeps using it, and so does -qt. Can you guys point me to the new API?
Big thread about it here http://lists.opensuse.org/zypp-devel/2007-08/msg00040.html _ Benjamin Weber -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
On Wednesday 10 October 2007 16:28:47 Benji Weber wrote:
Big thread about it here http://lists.opensuse.org/zypp-devel/2007-08/msg00040.html
Yes, which reminds me that the code is still in the pattern class and needs to be refactored out to PatternContent Still, the right way is to access it via PatternContent, because the code has to be moved there, and the method in Pattern removed. -- Duncan Mac-Vicar Prett Novell :: SUSE R&D, Maxfeldstr. 5, 90409 Nürnberg GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
Ricardo Cruz napsal(a):
Hey,
libzypp Pattern's install_packages() is marked obsolete as of 10.3. yast-gtk keeps using it, and so does -qt. Can you guys point me to the new API?
It seems that zypp-devel at opensuse.org might be more suitable for asking this question :) Lukas -- Lukas Ocilka, YaST Developer (xn--luk-gla45d) ----------------------------------------------------------------- SUSE LINUX, s. r. o., Lihovarska 1060/12, Praha 9, Czech Republic
participants (4)
-
Benji Weber
-
Duncan Mac-Vicar Prett
-
Lukas Ocilka
-
Ricardo Cruz