Package Search
 
Members: 353 | Topics: 767 | Posts: 3211
We welcome our newest member: ClintBarton
Info
» You aren't logged in, login or registerOnline: No members and 15 guests | Time: 17:36
APU - Automatic Paldo Upgrader
paldo Support Forum    paldo    General Discussion
Reply Reply   Subscribe Topic Subscribe Topic
4 posts found.
 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.
Profile   Private Message   E-Mail
Created: 2006-12-29 22:28 | Modified: 2006-12-29 22:30 by Amnon82
Highlight selected Text   Edit   Delete   Quote Reply
 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.
Profile   Private Message   Web
Created: 2006-12-30 13:17
Highlight selected Text   Edit   Delete   Quote Reply
 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.
Profile   Private Message   E-Mail
Created: 2006-12-30 16:02 | Modified: 2006-12-30 16:19 by Amnon82
Highlight selected Text   Edit   Delete   Quote Reply
 Re: APU - Automatic Paldo Upgrader
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
K I uploaded gambas2 to my repository. Install it with "upkg-build gambas2".

the source of APU you can find here:

Source of build 0.0.1 for gambas2

Source of DVD2HDD 0.2.12 for gambas1
Profile   Private Message   E-Mail
Created: 2006-12-30 16:54 | Modified: 2006-12-30 16:56 by Amnon82
Highlight selected Text   Edit   Delete   Quote Reply
Subscribe Topic Subscribe Topic
powered by bitron board 1.23a