Fedora Gooey Karma

Good news – Fedora Gooey Karma is having new release soon!
I would like to thank to Branislav Blaškovič for one more time, he helped me a lot and his recommendations were really useful.
This is my last report for this project.

My work for Red Hat or for Red Hat Lab is in the stars now.

I am so glad, I had this opportunity. Yes, there are a few things that sadden me, but it’s probably normal in life.
I hope FGK will be grown and became very popular tool, how it deserves.

Thanks for reading and hopefully we’ll meet in another project.
Dominika Regéciová

For more information: My Git repository
And: Branislav’s Git repository

Fedora Gooey Karma: 2014-12

The last month of year I spent with DNF (again).
A DNF team helped me a lot, but I am still fighting with two small parts of code. Radek Holý advised me some ways to avoid using filelist in DNF, but I am not able to adapt these codes for FGK.
I feel a really stupid, but I just can’t write it in a correct way and I have no idea where the problem is. I believe it is a small mistake in my code, but I can’t see it now.
Petr Müller sent me an article about writing a better code, specifically ‘The commented out code’ (originally ‘Zakomentovaný kód’) by Petr Zemek.
It was very interesting reading. It brought me to the many next articles about this topic too. I really enjoyed watching video about ‘Therapeutic Refactoring’ by Katrina Owen and I will definitively continue reading ‘97 Things Every Programmer Should Know’.

I am still learning about differences when I am coding for myself and when I coding for others. Fortunately there are many skilled programmers and they are willing to share their knowledge.

I tried clean up my code in FGK focusing on the commented out code and comments themselves.
One file, bodhiworker.py has still commented out code with two problematic parts which I mention before.

For more information: https://github.com/regeciovad/fedora-gooey-karma

Fedora Gooey Karma: 2014-11

This report will be about two things – polkit and DNF.

How I wrote last month, I had problems with polkit. According to my research, it should be something in GNOME. So I wrote to Bugzilla. I didn’t get any answer from authors, just one man asked me, if I set up some files correctly. I installed new Fedora without GNOME. And now it is working fine. Honestly, I am not sure it is GNOME’s bug. I just know there was a problem like this before. But I hope it is a rare problem, because Fedora Gooey Karma is using polkit now.

Secondly I want to thank Radek Holý. He helped me a lot with DNF.

FGK should now work with it. Just two things I have to add later – currently running packages and maybe information about From Repo. Both of them are not supported yet. I asked for filelist already, but it can take some time. Information about From Repo probably wouldn’t be in next version, because is not really necessary.

For more information: https://github.com/regeciovad/fedora-gooey-karma

Fedora Gooey Karma: 2014-10

Last two months were really busy to me. I missed last report because I have a lot of work for school. Now, the situation is actually the same, but I am trying to do more for this project.

Download source RPM

Firstly, I returned to this topic. I added progress dialog to show user, FGK is just downloading file and it is not frozen. I had some problems so I made new file with an object Dialog Window. Then I realized, the default download path is incorrect. For many users it will be work, but only, if you have installed English version of Fedora. For example, in Spanish version directory is named /home/username/Descargas. In these cases, the download crashes on error ’No such file or directory‘. I found I can use xdg-user-dir, but I have a problem with coding. It doesn’t work with directory /home/username/Stažené. Until I find the way to fix it, it downloads it into /home/username.

Install source RPM

For this I got two tasks. Firstly, Brano wrote me about how to fix problems with installing. Fortunately there is program yumex. It should help me with my work. Secondly Fedora 22 will not using yum anymore (probably). So I should change it to dnf. I tried to do it this month, but I failed. I spend many hours of searching, Brano helped me a lot too, I tried contact people from yum team and others, but I am still not done. DNF is actually new and it is a problem find every information. They didn’t just rename old clases, they changed all system and I probably have to rewrite a big part of FGK. With installing it is better, yumex is a really great application, but polkit (for authentication) is giving me error all the time. After unsuccessful searching I wrote to reports on Bugzilla – one for yumex (I comment one old report, so I don’t know, if they will respond) and second for polkit-gnome.

And what next?

I have to repair installing and coding in default download path .Then I would like to push my changes to the master merge to show my work to the world. Finally.

For more information: https://github.com/regeciovad/fedora-gooey-karma

Fedora Gooey Karma: 2014-10

Last two months were really busy to me. I missed last report because I have a lot of work for school. Now, the situation is actually the same, but I am trying to do more for this project.

Download source RPM

Firstly, I returned to this topic. I added progress dialog to show user, FGK is just downloading file and it is not frozen. I had some problems so I made new file with an object Dialog Window. Then I realized, the default download path is incorrect. For many users it will be work, but only, if you have installed English version of Fedora. For example, in Spanish version directory is named /home/username/Descargas. In these cases, the download crashes on error ’No such file or directory‘. I found I can use xdg-user-dir, but I have a problem with coding. It doesn’t work with directory /home/username/Stažené. Until I find the way to fix it, it downloads it into /home/username.

Install source RPM

For this I got two tasks. Firstly, Brano wrote me about how to fix problems with installing. Fortunately there is program yumex. It should help me with my work. Secondly Fedora 22 will not using yum anymore (probably). So I should change it to dnf. I tried to do it this month, but I failed. I spend many hours of searching, Brano helped me a lot too, I tried contact people from yum team and others, but I am still not done. DNF is actually new and it is a problem find every information. They didn’t just rename old clases, they changed all system and I probably have to rewrite a big part of FGK. With installing it is better, yumex is a really great application, but polkit (for authentication) is giving me error all the time. After unsuccessful searching I wrote to reports on Bugzilla – one for yumex (I comment one old report, so I don’t know, if they will respond) and second for polkit-gnome.

And what next?

I have to repair installing and coding in default download path .Then I would like to push my changes to the master merge to show my work to the world. Finally.

For more information: https://github.com/regeciovad/fedora-gooey-karma

Fedora Gooey Karma: 2014-08

Last month I was dealing with two big tasks. Both of them were really difficult for me and I had troubles with them. But let’s start from the easier one.

Download source RPM

Originally it worked with Internet browser, but it didn’t look very nice. Brano suggested downloading files directly to hdd. But I wasn’t sure about that. I prefer, when I can choose my directory, but I understand it’s maybe annoying for some people. So I decided to find a compromise. A simple dialog for downloading files with default name and path. The default path is /home/username/Downloads, according to Mozilla Firefox and I hope it will be just a one extra click for most of the users. I added option to choose other path or rename package too. I had problems to create nice and working dialog for that. I had a really specific concept of it and it was a problem. For example I had to code my own “Cancel|Save” buttons, because I don’t like these from QDialog. At the end I think it looks…nice. And, it works. I would like to add “Settings” to menu for changing default path to download.

https://drive.google.com/file/d/0B1ADOUBiFVCLNzdPdDVQSE1kQkU/edit?usp=sharing

Install source RPM / Remove source RPM

A big problem. And still it doesn’t work. And it slows down a whole program a lot. A lot. I am desperate from this. RPM package is like magic for me. I found many tutorials, how works with them, but they actually didn’t work. I had problems like: How to find the update package is already installed? I tried use rpm –qa, or yum. It’s really slow and I didn’t find anything else. (Well I know, FGK already has something like that, but I think it won’t be work for installed packages via FGK.) An installation itself it’s ugly. I have a lot work on it. I hope it will work someday, because it should be useful for users.

The last thing I want to mention is Bugzilla. I know there are bugs and I am glad these people find it and report it. But I feel so lost. I have no experience with something like that and I am not sure I can fix it. I will try my best. But it maybe won’t be enough.

For more information: https://github.com/regeciovad/fedora-gooey-karma

Fedora Gooey Karma: 2014-07

After 2 months working on this project I have mixed feelings. I enjoy being able to improve such an amazing and useful tool, but on the other hand, I am a little bit worried. My progress is really slow. I have many ideas what can I do, but realization take me a lot of time.

With help from design team I found emoticons faces in better quality. I did some others changes of GUI. I didn’t like big “X” button for clear search. I was looking for other options and ended with a simple “Clear” text, but I think it just fits more to the complex. I played with “About pages” a little bit too.

Branislav Blaskovic pointed me I made a mistake with paths of images. After installing FGK they just didn’t show up. I fixed this and now it should be working fine.

Fedora Gooey Karma has now two bugs in the Bugzilla system. One is about python keyring, but I had to ask more questions about that, so it can take more time. Second one is similar, some problem with sending karma. Maybe it is a bug in python keyring, but I am not sure for this moment. Branislav suggested to add a checkbox to NOT remember FAS credentials. I liked an idea and added checkbox “Keep me signed in”. If you don’t want to, then FGK won’t keep your password.

For more information: github.com/regeciovad/fedora-gooey-karma

Fedora Gooey Karma: 2014-06

Fedora Gooey Karma is a great project by Branislav Blaskovic and I am really glad I can work on it. The start is a little bit hard for me because I have so many things to learn, not just about project itself, but also about fedoraproject system and others.

At the beginning I created my repository: http://github.com/regeciovad/fedora-gooey-karma. I started with open issues on the original repository: https://github.com/blaskovic/fedora-gooey-karma/issues, specifically #22 about Karma values. I changed the order of the drop-down list and I added emoticon faces. I will think about radio buttons, but for now, it would be a little bit confusing.

Then I updated text in section “What to test”, according #17, but I think I will come up with a better version. I know, my start is not fast and revolutionary, but I prefer to have some amount of information before I start planning, design or coding.

Next Steps

I like present GUI design of Gooey Karma, but I was recommended think about more practical version. I try do my best to do Gooey Karma more user-friendly, effective and nice tool for Fedora testers. There is also a need to change a way of downloading of updates. I hope I can make it faster and easier.

Lukáš Brabec

Team:
Location: Brno
Brno