Author Topic: community project,a Qt/KDE technology based update notifier  (Read 2572 times)

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: community project,a Qt based update notifier
« Reply #30 on: February 27, 2013, 03:56:53 AM »
Sorry I missed this. Will update the package and then submit it to DropBox.
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: community project,a Qt based update notifier
« Reply #31 on: February 27, 2013, 09:01:52 AM »
1.3.0 packaged and submitted to DropBox of Neal.
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: community project,a Qt based update notifier
« Reply #32 on: March 16, 2013, 04:30:41 AM »
A thing that is running in my brain regarding software updates with PCLinuxOS.

We have most of the system and software available for update through Synaptic automatically. However 3 things are not part of this and have to be updated manually using their respective "manager" software

1. LibreOffice with LOManager
2. VirtualBox with GetVirtualBox
3. Calibre now with Calibre Manager

w.r.t. these we get an updated version of each manager but we may still forget to run them and update the target software itself.

So my question now is can this update notifier also check to see if the version of software associated with the installed manager actually installed and inform accordingly while doing its regular checks?

----

On a similar note we can also think of kernels. Although a newer kernel has arrived in the repo, it would not be noticed as it is not a compulsory upgrade. If qt-update-notifier could also check for a newer version and inform?
« Last Edit: March 16, 2013, 04:32:24 AM by sling-shot »
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6233
Re: community project,a Qt based update notifier
« Reply #33 on: March 16, 2013, 11:13:43 AM »

Can you suggest a way of informing a user,example when a new kernel shows up?

I have not used any of these packages and i cant comment on a possibility of checking if the packages they seek to update have newer versions.Will look into and report here.
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: community project,a Qt based update notifier
« Reply #34 on: March 16, 2013, 11:37:29 AM »
I have zero knowledge of real programming.

It might need much convoluted programming I suppose. First a list of currently installed kernels will need to be created by querrying the rpm database somehow. Then the highest kernel version has to be determined. Then the repo has to be querried for available kernels and determine the highest available one. Then the 2 numbers have to be compared to determine if the highest installed kernel version is lower than the highest repo version. Inform if the repo has a higher version.

A similar procedure could be used in case of software updated using managers I guess.

(The specifics will require extensive programming knowledge of which I have extremely little and hence I am sorry I could not help further.)
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6233
Re: community project,a Qt based update notifier
« Reply #35 on: March 16, 2013, 12:19:36 PM »

thanks for the insight,the details of how to do something may require specific knowledge of the something but the general route to take in solving the problem is usually self evident to most with reasonable reasoning skills.

I was more asking on how to inform a user,as in,if you were updating and a new kernel is found to be available,how would you like the notifier to inform you? different icon?different text in the pop up?The pop up area is too small and the pop up doesnt last long enough to put detail information in it.
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: community project,a Qt based update notifier
« Reply #36 on: March 16, 2013, 01:11:00 PM »
May be by making the pop-up clickable and on clicking show a bigger window that has further detail in it? (That is what Windows Update does ;) )
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: community project,a Qt based update notifier
« Reply #37 on: April 08, 2013, 11:48:50 AM »
Congratulations and thank you for providing this nice piece of software now that it is officially part of our regular .iso releases.
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6233
Re: community project,a Qt based update notifier
« Reply #38 on: April 08, 2013, 01:37:42 PM »
I have zero knowledge of real programming.

It might need much convoluted programming I suppose. First a list of currently installed kernels will need to be created by querrying the rpm database somehow. Then the highest kernel version has to be determined. Then the repo has to be querried for available kernels and determine the highest available one. Then the 2 numbers have to be compared to determine if the highest installed kernel version is lower than the highest repo version. Inform if the repo has a higher version.

A similar procedure could be used in case of software updated using managers I guess.

(The specifics will require extensive programming knowledge of which I have extremely little and hence I am sorry I could not help further.)

kernels are installed in "/lib/modules" folder.I think the easiest way to know what kernels are installed is to scanning the directory.

"apt-cache search kernel | grep pclos" will give a list of kernels in the repository.

Getting the two lists seem to be trivial,comparing them maybe tricky but should be relatively easy.

The software update managers seem to be trickier as i have not found a pattern i can rely on.
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6233
Re: community project,a Qt based update notifier
« Reply #39 on: April 08, 2013, 01:40:45 PM »
Congratulations and thank you for providing this nice piece of software now that it is officially part of our regular .iso releases.
thank you,just doing my small part in making pclinuxos better.

A "thank you" should also go to whoever created the "update-notifier". I based mine on theirs and "qt-update-notifier" would not be here if not for them.
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline niculinux

  • Full Member
  • ***
  • Posts: 152
  • Location: Italy
Re: community project,a Qt based update notifier
« Reply #40 on: April 08, 2013, 03:02:54 PM »
hey that is great, thanks  muungwana!!!

I was wondering if we may get some scrrenshots here, don't kno but qt-update-notifier has an interface like update-notofier? From what I got so far, it seems not...rmh....The latter has a really comfortable interface...

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6233
Re: community project,a Qt based update notifier
« Reply #41 on: April 08, 2013, 04:02:00 PM »
hey that is great, thanks  muungwana!!!

I was wondering if we may get some scrrenshots here, don't kno but qt-update-notifier has an interface like update-notofier? From what I got so far, it seems not...rmh....The latter has a really comfortable interface...


I have added screen shots on the first post,the link is: http://www.pclinuxos.com/forum/index.php/topic,112999.msg964573.html#msg964573
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline agmg

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1900
  • Certified Windows Hater
Re: community project,a Qt/KDE technology based update notifier
« Reply #42 on: April 09, 2013, 12:31:40 AM »
This is a very good notifier and should be default in all future KDE releases... :)
For the whole world, you are someone.
For someone, you are the whole world.

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2840
    • other projects...
Re: community project,a Qt based update notifier
« Reply #43 on: April 09, 2013, 01:50:34 AM »
Congratulations and thank you for providing this nice piece of software now that it is officially part of our regular .iso releases.

thank you,just doing my small part in making pclinuxos better.

A "thank you" should also go to whoever created the "update-notifier". I based mine on theirs and "qt-update-notifier" would not be here if not for them.


update-notifier is the brain-child of maik3531. He laid out the entire concept and did the vast majority of the coding.

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6233
Re: community project,a Qt/KDE technology based update notifier
« Reply #44 on: April 21, 2013, 06:28:36 PM »

just made a new release,version 1.3.1.

changelog:
-Capital letters are used in the log when updates are found to make entries that log updates stand out more.

-When installed for the first time,the application will autostart until a user configure it to not to if they prefer it not to autostart.This change of behavior was suggested in this thread post: http://www.pclinuxos.com/forum/index.php/topic,115390.msg984017.html#msg984017
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..