Results 1 to 10 of 10

Thread: openSUSE CLI updater

  1. #1
    Join Date
    Aug 2008
    Location
    Pitesti, Arges County, Romania
    Posts
    615

    Lightbulb openSUSE CLI updater

    After reading an e-book about python i have created my first script. The script helps users to make system updates or upgrades without typing the commands, at a press of a keyboard button. Is good for newbies and experienced users.

    My program is hosted here: https://sourceforge.net/projects/opensuseupdater/
    Since i`m a newbie at python, feel free to tell me if something is working wrong with the script.

    Btw... can i post this in the Applications forum as well ?... or that forum is for technical support only ?
    openSUSE Community Member: -> en.opensuse.org/User:Creatura85
    Connect Profile:
    -> connect.opensuse.org/pg/profile/creatura85
    openSUSE Romania Member: -> suseromania.ro

  2. #2
    Join Date
    Apr 2010
    Location
    Chicago, IL
    Posts
    158

    Default Re: openSUSE CLI updater

    I agree that it looks great for newbies, but experienced users will probably just find it to be a hassle. Using zypper directly is a lot more flexible and doesn't require updating a script to be able to do something new.

    To make it more useful, I would recommend creating a .desktop file in /usr/share/applications that launches your script in a terminal. As is, the user would have to double-click on a terminal icon, type in the name "opensuse_CLI_updater", hit enter, and then close the terminal when they're done. With a launcher you could simply double-click on a new icon that would pop up a terminal for you, ready to go.

    Not bad for a first script.

  3. #3
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    14,043
    Blog Entries
    12

    Default Re: openSUSE CLI updater

    What's double-click ?
    - Athlon X6 3.6 GHz, 16 GB DDR3, 30 GB SSD, 3 TB of disks, GT540, openSUSE 12.2 x86_64 + KDE 4.10 + GNOME 3
    - ASUS A73SD, Intel + GT610M Optimus, 6 GB, 120 GB SSD, openSUSE Tumbleweed

    Anything that can go wrong.... will teach us

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  4. #4
    Join Date
    Jun 2011
    Location
    Germany
    Posts
    131

    Default AW: Re: openSUSE CLI updater

    I agree that it looks great for newbies,
    +1

    Yep, nice idea.

    But just one question:
    Isn't the zypper dup function a bit risky for newbies?
    Just assuming, someone got the repositories messed up or just some experimental repo by trying around and not knowing on behalf of being noob...
    zypper will ask, but anyway...

    What about adding a warning, a howto or a link to where a howto can be found?
    Could be some good practicing for your python.


    What's double-click ?
    Something I even eliminated on the win-machine I have to use at work...

  5. #5
    Join Date
    Apr 2010
    Location
    Chicago, IL
    Posts
    158

    Default Re: openSUSE CLI updater

    Quote Originally Posted by Knurpht View Post
    What's double-click ?
    Sometimes I forget that this forum is saturated with KDE users.

  6. #6
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    11,210

    Default Re: openSUSE CLI updater

    On 08/27/2011 01:26 AM, kog13 wrote:

    > Sometimes I forget that this forum is saturated with KDE users.


    single click has been in use by many in Linux a long long time..

    --
    DD
    openSUSE®, the "German Engineered Automobile" of operating systems!

  7. #7
    Join Date
    Aug 2008
    Location
    Pitesti, Arges County, Romania
    Posts
    615

    Default Re: openSUSE CLI updater

    kog13: will look in to that tutorial and i will make a .desktop file too; thanks

    kasi042: will add link/s about zypper to warn users
    openSUSE Community Member: -> en.opensuse.org/User:Creatura85
    Connect Profile:
    -> connect.opensuse.org/pg/profile/creatura85
    openSUSE Romania Member: -> suseromania.ro

  8. #8
    Join Date
    Aug 2008
    Location
    Pitesti, Arges County, Romania
    Posts
    615

    Default Re: openSUSE CLI updater

    openSUSE_CLI_Updater, osCU for short, version 1.1 is here:
    https://sourceforge.net/projects/ope..._updater_v1.1/
    openSUSE Community Member: -> en.opensuse.org/User:Creatura85
    Connect Profile:
    -> connect.opensuse.org/pg/profile/creatura85
    openSUSE Romania Member: -> suseromania.ro

  9. #9
    Join Date
    Aug 2008
    Location
    Pitesti, Arges County, Romania
    Posts
    615

    Default Re: openSUSE CLI updater

    osCU version 1.2 is here. Changes since 1.1:
    - added support for Romanian Language
    - script is now structured in python modules.
    Link: https://sourceforge.net/projects/ope..._updater_v1.2/

    Can you tell me what GUI should i learn to use with Python? (newbie skills)
    openSUSE Community Member: -> en.opensuse.org/User:Creatura85
    Connect Profile:
    -> connect.opensuse.org/pg/profile/creatura85
    openSUSE Romania Member: -> suseromania.ro

  10. #10
    Join Date
    Aug 2008
    Location
    Pitesti, Arges County, Romania
    Posts
    615

    Default Re: openSUSE CLI updater

    osCU version 1.3 is here. Changes since 1.2 are:
    - some visual changes to the menus
    - added 2 more modules for wiki links
    - removed some options from script menus
    - added a new option to the script: system reboot, useful after some updates (like kernel updates)
    To download the new version access this website: https://sourceforge.net/projects/ope..._updater_v1.3/
    openSUSE Community Member: -> en.opensuse.org/User:Creatura85
    Connect Profile:
    -> connect.opensuse.org/pg/profile/creatura85
    openSUSE Romania Member: -> suseromania.ro

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •