[yast-devel] Popcorn YaST install integration
![](https://seccdn.libravatar.org/avatar/35ed1da6dc1e49340ca9d3faf3d00896.jpg?s=120&d=mm&r=g)
Hi, I'm working on Popcorn[1] for openSUSE this summer. Popcorn will gather statistics determining popular packages in openSUSE, and later for other distributions as well. It is inspired by Debian Popcon[2] and the way they(Debian/Ubuntu) get users to sign up is through their installation and configuration tools.[3] We would like the same for Popcorn by integrating with YaST, if that is possible. I look forward to your comments and suggestions. Thanks, Akshit [1] https://github.com/mapleoin/popcorn [2] http://popcon.debian.org/ [3] https://help.ubuntu.com/community/UbuntuPopularityContest?action=AttachFile&do=view&target=software_sources_screenshot.png -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/1d1035b5904ba3762c38689b768be2c6.jpg?s=120&d=mm&r=g)
Hi. Is this somehow related to smolt? See: http://en.opensuse.org/Smolt Cheers, Thomas On Sat April 28 2012 17:02:29 Akshit Khurana wrote:
Hi,
I'm working on Popcorn[1] for openSUSE this summer. Popcorn will gather statistics determining popular packages in openSUSE, and later for other distributions as well.
It is inspired by Debian Popcon[2] and the way they(Debian/Ubuntu) get users to sign up is through their installation and configuration tools.[3] We would like the same for Popcorn by integrating with YaST, if that is possible.
I look forward to your comments and suggestions.
Thanks, Akshit
[1] https://github.com/mapleoin/popcorn [2] http://popcon.debian.org/ [3] https://help.ubuntu.com/community/UbuntuPopularityContest?action=AttachFil e&do=view&target=software_sources_screenshot.png
-- Thomas Goettlicher SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany
![](https://seccdn.libravatar.org/avatar/f9a9cf77af20d925b328ee8c95c0068c.jpg?s=120&d=mm&r=g)
Hi Akshit,
On Sat, 28 Apr 2012 20:32:29 +0530
Akshit Khurana
Hi,
I'm working on Popcorn[1] for openSUSE this summer. Popcorn will gather statistics determining popular packages in openSUSE, and later for other distributions as well.
Quite nice project.
It is inspired by Debian Popcon[2] and the way they(Debian/Ubuntu) get users to sign up is through their installation and configuration tools.[3] We would like the same for Popcorn by integrating with YaST, if that is possible.
It should not be problem, just be aware that each GUI(TUI) have own implementation, so it needs to be done three times - for GTK, QT and ncurses. I think that you should create proposal how it should look like. I think that it will be also nice to have such information integrated into sorting. So I can search for games and sort by popularity to see the most popular games. If you need a help don't hesitate to ask here on mailing list. Josef
I look forward to your comments and suggestions.
Thanks, Akshit
[1] https://github.com/mapleoin/popcorn [2] http://popcon.debian.org/ [3] https://help.ubuntu.com/community/UbuntuPopularityContest?action=AttachFile&do=view&target=software_sources_screenshot.png
-- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/654c5b4f0d657240edff9440a901839b.jpg?s=120&d=mm&r=g)
Dne 30.4.2012 09:35, Josef Reidinger napsal(a):
On Sat, 28 Apr 2012 20:32:29 +0530 Akshit Khurana
wrote: It is inspired by Debian Popcon[2] and the way they(Debian/Ubuntu) get users to sign up is through their installation and configuration tools.[3] We would like the same for Popcorn by integrating with YaST, if that is possible.
It should not be problem, just be aware that each GUI(TUI) have own implementation, so it needs to be done three times - for GTK, QT and ncurses.
It might not be necessary to implement it three times, it depends on what you want to achieve. If it only sends data to the remote server and does not interact with the package manager UI then it can be implemented as usual yast module - the same way as we now call e.g. the repository manager from the package manager UI (the repository manager is a standard yast module with single implementation). And simple package management tasks could be done via Pkg:: calls if needed. On the other hand native Qt/Gtk UI could contain better (fancy) graphics, the generic graphics capabilities in Yast are quite limited. So it depends what features you want or how it should look like. -- Ladislav Slezák Appliance department / YaST Developer Lihovarská 1060/12 190 00 Prague 9 / Czech Republic tel: +420 284 028 960 lslezak@suse.com SUSE -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/c6230e4ce683f6f38991d06b0df892bc.jpg?s=120&d=mm&r=g)
V Sat, 28 Apr 2012 20:32:29 +0530
Akshit Khurana
Hi,
I'm working on Popcorn[1] for openSUSE this summer. Popcorn will gather statistics determining popular packages in openSUSE, and later for other distributions as well.
Interesting. I see two possible places (there are probably more) where we could ask user for permission to send their data - during installation process, at some place in the workflow, there could be a checkbox (similar to that Debian one). That way most users would see it and could react. However, there are too many options in installation already, and we'd be adding new... - it could be "hidden" in some of the configuration menus of YaST software management module. This would be more relevant place for gathering packages data, but users would not see it unless they'd specifically look for it. Jiri -- Jiri Suchomel SUSE LINUX, s.r.o. Lihovarská 1060/12 tel: +420 284 028 960 190 00 Praha 9, Czech Republic http://www.suse.cz -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/99278ec30f150a060043aaeca0ee5806.jpg?s=120&d=mm&r=g)
On 04/30/2012 09:40 AM, Jiří Suchomel wrote:
V Sat, 28 Apr 2012 20:32:29 +0530 Akshit Khurana
napsáno: Hi,
I'm working on Popcorn[1] for openSUSE this summer. Popcorn will gather statistics determining popular packages in openSUSE, and later for other distributions as well.
Interesting. I see two possible places (there are probably more) where we could ask user for permission to send their data
- during installation process, at some place in the workflow, there could be a checkbox (similar to that Debian one). That way most users would see it and could react. However, there are too many options in installation already, and we'd be adding new...
Not really back in the old days installation was more controllable by the user nowadays it's patterns dictating mainly
- it could be "hidden" in some of the configuration menus of YaST software management module. This would be more relevant place for gathering packages data, but users would not see it unless they'd specifically look for it.
If that is the road to go what should it be by default opt-in or opt-out Togan -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/c6230e4ce683f6f38991d06b0df892bc.jpg?s=120&d=mm&r=g)
V Mon, 30 Apr 2012 09:49:25 +0200
Togan Muftuoglu
- during installation process, at some place in the workflow, there could be a checkbox (similar to that Debian one). That way most users would see it and could react. However, there are too many options in installation already, and we'd be adding new...
Not really back in the old days installation was more controllable by the user nowadays it's patterns dictating mainly
- it could be "hidden" in some of the configuration menus of YaST software management module. This would be more relevant place for gathering packages data, but users would not see it unless they'd specifically look for it.
If that is the road to go what should it be by default opt-in or opt-out
Yes, that's gonna be most discussed question :-) Actually, those options I wrote about can be there together. We can have a checkbox shown during installation, at the place where other checkboxes are (like [1]). And later, on the installed system, there should be some way to access the option again. [1] http://imagebin.org/210348 Jiri -- Jiri Suchomel SUSE LINUX, s.r.o. Lihovarská 1060/12 tel: +420 284 028 960 190 00 Praha 9, Czech Republic http://www.suse.cz -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/f9a9cf77af20d925b328ee8c95c0068c.jpg?s=120&d=mm&r=g)
On Mon, 30 Apr 2012 09:40:33 +0200
Jiří Suchomel
V Sat, 28 Apr 2012 20:32:29 +0530 Akshit Khurana
napsáno: Hi,
I'm working on Popcorn[1] for openSUSE this summer. Popcorn will gather statistics determining popular packages in openSUSE, and later for other distributions as well.
Interesting. I see two possible places (there are probably more) where we could ask user for permission to send their data
- during installation process, at some place in the workflow, there could be a checkbox (similar to that Debian one). That way most users would see it and could react. However, there are too many options in installation already, and we'd be adding new...
- it could be "hidden" in some of the configuration menus of YaST software management module. This would be more relevant place for gathering packages data, but users would not see it unless they'd specifically look for it.
Jiri
Solution that is quite nice I see on Ubuntu. You start installation ( or disk partitioning ) and during slide show you can configure system ( so we can ask during installaling packages if user want to send such data ). Advantage is that it is not slow down of operation and it is really optional. Josef -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/68546566350063c9017dfeae5000f6b1.jpg?s=120&d=mm&r=g)
On 04/30/2012 09:40 AM, Jiří Suchomel wrote:
V Sat, 28 Apr 2012 20:32:29 +0530 Akshit Khurana
napsáno: Hi,
I'm working on Popcorn[1] for openSUSE this summer. Popcorn will gather statistics determining popular packages in openSUSE, and later for other distributions as well.
Interesting. I see two possible places (there are probably more) where we could ask user for permission to send their data
- during installation process, at some place in the workflow, there could be a checkbox (similar to that Debian one). That way most users would see it and could react. However, there are too many options in installation already, and we'd be adding new...
Hey, I'm Akshit's mentor for this GSOC project. Since both smolt and popcorn would collect statistics about the user's machine (hardware profile + installed packages), I think the two checkboxes should appear together during the installation process. I think it makes sense from a UI POV, since the user is thinking about how private (vs helpful?) they want to be with their data at this point anyway. Presenting the two (smolt and popcorn) together, under the new "Send Statistical Information" checkbox would be a great idea IMHO.
- it could be "hidden" in some of the configuration menus of YaST software management module. This would be more relevant place for gathering packages data, but users would not see it unless they'd specifically look for it.
I don't think this would be very helpful. The number of users who would activate popcorn if they had to look for the activation button would probably be much too small to make the project viable. This number of users would be limited by their knowing about popcorn (how would they find out about it in the first place?). Hell, I wouldn't use it if I had to make an effort to activate it each time I installed a machine (think about VMs that you only use for a specific purpose for a limited amount of time). To answer Thomas's earlier question as well: there is no relationship between the smolt and popcorn projects at this point, but maybe at a later point in time collaboration between the two projects will happen. I think that a good start for popcorn is to get it implemented in openSUSE. Later we can think about integrating with smolt or other distributions as well. -Ionuț -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/9b8ef4c79b4e7c4c79a0a2dea251269b.jpg?s=120&d=mm&r=g)
On 04/30/2012 11:45 AM, Ionuț Arțăriși wrote:
Since both smolt and popcorn would collect statistics about the user's machine (hardware profile + installed packages), I think the two checkboxes should appear together during the installation process. I think it makes sense from a UI POV, since the user is thinking about how private (vs helpful?) they want to be with their data at this point anyway.
Presenting the two (smolt and popcorn) together, under the new "Send Statistical Information" checkbox would be a great idea IMHO.
From my POV, "Send Statistical Information" is too generic and I as a user would definitely disable that feature ASAP. It definitely needs additional explanation, sadly, we don't have tooltpis for checkboxes (or do we? Qt allows us to use them in some cases). Also information how this could be turned on/off later should be there. Installation is, IMO, the right place for turning this on. Maybe placing that into software proposal would make sense. If we want at least some data, default should be :on.
I don't think this would be very helpful. The number of users who would activate popcorn if they had to look for the activation button would probably be much too small to make the project viable. This number of users would be limited by their knowing about popcorn (how would they find out about it in the first place?). Hell, I wouldn't use it if I had to make an effort to activate it each time I installed a machine (think about VMs that you only use for a specific purpose for a limited amount of time).
I'd like to have a possibility to turn this on/off also on a running system but installation should be the primary one. Bye Lukas -- Lukas Ocilka, Appliances Department SUSE LINUX s.r.o., Praha -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/99278ec30f150a060043aaeca0ee5806.jpg?s=120&d=mm&r=g)
On 05/04/2012 02:22 PM, Lukas Ocilka wrote:
On 04/30/2012 11:45 AM, Ionuț Arțăriși wrote:
Presenting the two (smolt and popcorn) together, under the new "Send Statistical Information" checkbox would be a great idea IMHO.
From my POV, "Send Statistical Information" is too generic and I as a user would definitely disable that feature ASAP. It definitely needs additional explanation, sadly, we don't have tooltpis for checkboxes (or do we? Qt allows us to use them in some cases). Also information how this could be turned on/off later should be there.
Totally agreed and myself would not be turning of this feature in any case, there is enough data collected by all other means in other areas and this will be another one this time with opensuse (:
Installation is, IMO, the right place for turning this on. Maybe placing that into software proposal would make sense.
If we want at least some data, default should be :on.
No the setting should be off by default meaning if one is interested to participate then s/he can opt in Togan -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/ba6138f793e72be6644854fdc3ec2f02.jpg?s=120&d=mm&r=g)
Hello, On Apr 28 20:32 Akshit Khurana wrote (excerpt):
I'm working on Popcorn[1] for openSUSE this summer. ... [1] https://github.com/mapleoin/popcorn
Therein it reads: -------------------------------------------------------------------------- The packages are then split into four categories depending on the package install time and package access time: ... # (o) old * package is older than 30 days and hasn't been used recently * ( now - install_time > 30 days ) and ( now - access_time > 30 days) -------------------------------------------------------------------------- This means that all packages are old on a computer which was not used for 31 days (e.g. a computer which is switched off during holidays or any computer which is only used once in a while). Doesn't this distort statistics towards too many old packages? Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH -- Maxfeldstrasse 5 -- 90409 Nuernberg -- Germany HRB 16746 (AG Nuernberg) GF: Jeff Hawn, Jennifer Guild, Felix Imendoerffer -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
participants (9)
-
Akshit Khurana
-
Ionuț Arțăriși
-
Jiří Suchomel
-
Johannes Meixner
-
Josef Reidinger
-
Ladislav Slezak
-
Lukas Ocilka
-
Thomas Goettlicher
-
Togan Muftuoglu