[yast-devel] YaST: highlights of development sprint 15
Three sprints in a row and we keep blogging about YaST development! https://lizards.opensuse.org/?p=11707 Enjoy -- Ancor González Sosa YaST Team at SUSE Linux GmbH -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
On Thu, 25 Feb 2016 13:05:11 +0100 Ancor Gonzalez Sosa <ancor@suse.de> wrote:
Three sprints in a row and we keep blogging about YaST development!
https://lizards.opensuse.org/?p=11707
Enjoy
Really good job, I enjoy reading it ;) -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
On 25/02/16 12:05, Ancor Gonzalez Sosa wrote:
Three sprints in a row and we keep blogging about YaST development!
https://lizards.opensuse.org/?p=11707
Enjoy
Hi, Very useful report thank you. I am curious about the 'package notification' feature. How does libzypp/Zypper decides whether it needs to display a package notification or not? I presume it searches the RPM file for a specific file(s) as a hint for a notification? In other words, how can I make such a notification for one of my packages? Thank you. -- markos -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
Hi, On 02/25/2016 02:24 PM, Markos Chandras wrote:
On 25/02/16 12:05, Ancor Gonzalez Sosa wrote:
Three sprints in a row and we keep blogging about YaST development!
https://lizards.opensuse.org/?p=11707
Enjoy
Hi,
Very useful report thank you. I am curious about the 'package notification' feature. How does libzypp/Zypper decides whether it needs to display a package notification or not? I presume it searches the RPM file for a specific file(s) as a hint for a notification? In other words, how can I make such a notification for one of my packages?
See the respective feature about implementation in libzypp: https://features.opensuse.org/301175 So far the messages were only shown when you installed the package via zypper, YaST lacked this functionality. Jiri -- Regards, Jiri Srain Project Manager --------------------------------------------------------------------- SUSE LINUX, s.r.o. e-mail: jsrain@suse.com Lihovarska 1060/12 tel: +420 284 084 659 190 00 Praha 9 fax: +420 284 084 001 Czech Republic http://www.suse.com -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
On Thu, 2016-02-25 at 13:24 +0000, Markos Chandras wrote:
On 25/02/16 12:05, Ancor Gonzalez Sosa wrote:
Three sprints in a row and we keep blogging about YaST development!
https://lizards.opensuse.org/?p=11707
Enjoy
Hi,
Hi,
Very useful report thank you. I am curious about the 'package notification' feature. How does libzypp/Zypper decides whether it needs to display a package notification or not? I presume it searches the RPM file for a specific file(s) as a hint for a notification? In other words, how can I make such a notification for one of my packages?
If a package wants a notification to be shown, it will write a file in /var/adm/update-messages/. You can see an example in mariadb spec file[1]. While I was playing with this feature, I added something like this in a dummy package: %post cat > %{_localstatedir}/adm/update-messages/%{name}-%{version} -%{release} << EOF This is just a update message from dummy-package. EOF And that's all!
Thank you.
You're welcome. Regards, Imo [1] https://build.opensuse.org/package/view_file/openSUSE:Factory/maria db/mariadb.spec?expand=1 -- Imobach González Sosa YaST Team at SUSE LINUX GmbH -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
participants (5)
-
Ancor Gonzalez Sosa
-
Imobach González Sosa
-
Jiri Srain
-
Josef Reidinger
-
Markos Chandras