Homepages found fast
April 07, 2009 —
BarryK
It was reported that the "More info" button in the new Puppy Package Manager could take a very long time to bring up a package's homepage. This was testing "ppup".
I've fixed this, it is now about instantaneous, well, as long as it takes the HTML viewer to startup and then render the webpage.
This fix came about as I was working on extending the scripts in Woof to support T2. I was writing the code that translates the T2 package database information into the Puppy standard format, when realised that T2 also maintains the URLs of all package homepages. So, I added to the script some code that generates file 'PKGS_HOMEPAGES', which now resides in /root/.packages/. This lists every package known to T2, plus some more. It is 140KB, but worth it I reckon.
The result of having that file is when you now click on the "More info" button, the homepage is immediately known and loaded in the HTML viewer. If perchance it isn't listed in PKGS_HOMEPAGES, the HTML viewer goes to the wikipedia, which has a good chance of success.
Comments
New FirmwareUsername: Dougal
Barry, I assume you'll be using a new kernel. In case you haven't noticed, there's a new ethernet module named myri10ge, which requires firmware that can be got from: http://www.myri.com/scs/download-Myri10GE.html
Re: Myri10GE
Username: BarryK
"Dougal, Thanks, I've downloaded it.
Small homepages file
Username: BarryK
"[i]file 'PKGS_HOMEPAGES', which now resides in /root/.packages/. This lists every package known to T2, plus some more. It is 140KB[/i] I have reduced that to 19KB, it now only has the homepages for packages actually in Puppy.
Tags: woof