On Wed, Aug 01, 2007 at 05:14:45PM +0800, 张镜明 wrote:
Hi all : I'm a college studet,and I've some questions about the mechanism of YOU in SLES 10 ,32bit version . 1) Does YOU use any authentication when getting the package ? For example the user account and the password? I found I needn't input the stuff ,so is these information stored in a file ? like xml ...etc
Hi, YOU (via libzypp) stores the credentials in the URL of the update repository. They are in /var/lib/zypp/db/sources/* For example if you use update.novel.com or nu.novell.com, you can see the user:passwd in the files. (ZENworks uses /etc/zmd/{deviceid,secret})
2) Can I download a particular rpm using command line(not using GUI) ? Especially using "command url"schema?
Just download? Use wget or curl. Or install too? Have you tried rug or (on SP1) zypper?
3) I found that YOU do all the package related thing rely on the C++ code,and if I want to change the C++ code,how can I make it into the yast2 module to get my changing applied?
I don't quite understand what you mean. You download the sources from .src.rpm or subversion, edit, recompile (or rebuild rpm) and there you are. And send us a patch :-) See also http://en.opensuse.org/YaST_Development and http://en.opensuse.org/Libzypp
4) It seems to me that the YCP language is only the GUI wrapper and all the core stuff is done by c++, am I right?
For YOU, that is right. (For other configuration tasks in the yast control center, YCP contains much more logic.) -- Martin Vidner, YaST developer http://en.opensuse.org/User:Mvidner Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org