APU - Automatic Paldo Upgrader | |
|
|
Moderator Linux-Dude Posts: 1187 Registered: 2006-11-23 | Hi folks.
The Upkg-GUI will take longer as I thought, so I'll code a little tool first.
I'll call it APU (Automatic Paldo Upgrader).
It will be like the Update Notifier Ubuntu has. The command upkg-upgrade will be used to get the list of avaiable upgrades. It will be listed in a nice GUI so you can press Y/N-buttons to do the upgrade. If the upgrade fails the upkg-cache will be deleted automatically and APU tries to upgrade again.
I think I'll be finished with the tool soon. It will be coded in Gambas or REALbasic. |
|
|
|
|
|
Re: APU - Automatic Paldo Upgrader | |
|
|
Administrator Posts: 426 Registered: 2004-09-09 | Nice to hear that, let us know when there is something available for testing. |
|
|
|
|
|
Re: APU - Automatic Paldo Upgrader | |
|
|
Moderator Linux-Dude Posts: 1187 Registered: 2006-11-23 |
I compiled gambas2 and did this build. K, it is only a screenshot. It shows you the upgrades but can't upgrade paldo atm. Maybe a gambas1 build will do it. If yes, there won't be a nice trayicon. Only Gambas2 supports that.
... or I do it with freepascal and lazarus. Lets see if I can compile it for paldo ...
How it should work:
I do the command "gksu upkg-upgrade" and pharse the results in a fake-console. The pharsed results gets displayed in the listboxes and the upgrade-button gets enabled. Also the user gets notified, that there are some upgrades for paldo via a trayicon. So far so good. This all does the first build.
Now the bad part: I used the same technique like in dvd2hdd. There it is "c" for continue. Here it is "Y" for Yes to start the upgrade. I put the command into the fake-console, but nothing happens. Now I must figure out why.
... seems gambas1 won't work also not. I just activated the continue-funktion of DVD2HDD in paldo. I coded it on Ubuntu 6.06. There it works with the fake-console. I'll make a image of the paldo partition and restore a Ubuntu 6.06 image to check if I broke DVD2HDD someway. |
|
|
|
|
|
Re: APU - Automatic Paldo Upgrader | |
|
|
Moderator Linux-Dude Posts: 1187 Registered: 2006-11-23 | |
|
|
|
|
|