Boy, it's amazing what you forget about #changed: and #update: and pluggibility.
Anyhoo, a new version of the CategoricalSMLoader is now on SqueakMap. Yes, I admit it, I caved. Oh well.
Enjoy. I just figured out that my install button in the fancy version is, well, much dumber than it should be. Consider this more an experiment in alternative not-quite-so-minimal SM UI designs.
Cheers, Bijan Parsia.
Hi Bijan,
I am trying to do some simple arithmetic on 'CategoricalSMLoader' but the numbers don't add up.
What are the numbers like these:
Maturity level (0) Bleeding edge (11) Alpha (9) Beta (31) ...
Other than that, I like to set 'CategoricalSMLoader' as my default SM loader, how can I do it ?
Cheers,
PhiHo.
----- Original Message ----- From: "Bijan Parsia" bparsia@email.unc.edu To: squeak-dev@lists.squeakfoundation.org Sent: Monday, November 25, 2002 6:53 PM Subject: [ANN] CategoricalSMLoader on SqueakMap
Boy, it's amazing what you forget about #changed: and #update: and pluggibility.
Anyhoo, a new version of the CategoricalSMLoader is now on SqueakMap. Yes, I admit it, I caved. Oh well.
Enjoy. I just figured out that my install button in the fancy version is, well, much dumber than it should be. Consider this more an experiment in alternative not-quite-so-minimal SM UI designs.
Cheers, Bijan Parsia.
On Friday 06 December 2002 09:22 am, PhiHo Hoang wrote:
Hi Bijan,
I am trying to do some simple arithmetic on 'CategoricalSMLoader' but the numbers don't add up. What are the numbers like these: Maturity level (0) Bleeding edge (11) Alpha (9) Beta (31) ...
There are categories. Some have sub-categories, some don't. Because of the way the web interface to SM works, you can declare that a package belongs to a category that happens to have subcategories.
So the above means that no one made the mistake of selecting "Maturity level" for a category, and that it has some subcategories that *do* have entries in them.
On the other hand, there are entries *and* categories under Entertainment.
Other than that, I like to set 'CategoricalSMLoader' as my default SM loader, how can I do it ?
What do you mean by "default SM loader"? There isn't such a thing, as far as I know.
On Fri, 6 Dec 2002, PhiHo Hoang wrote:
[snip]
What are the numbers like these: Maturity level (0) Bleeding edge (11) Alpha (9) Beta (31) ...
These are the number of packages in each category. Subcategories, oddly enough, are not subsets of their supercategories. Thus, the relation between categories and their subcategories is only navigation. Membership in a category is always an explicit matter.
Other than that, I like to set 'CategoricalSMLoader' as my default SM loader, how can I do it ?
As ned said, I'm not sure what you mean. In the current version, you'll get a open menu item CPackage Loader which opens the simple version, currently. If you want that menu item to open the Fancy Window one, you'll have to tweak the #open method.
Hope to have a slightly cleaned up new release this weekend.
Cheers, Bijan Parsia.
As ned said, I'm not sure what you mean. In the current version, you'll get a open menu item CPackage Loader which opens the simple version, currently. If you want that menu item to open the Fancy Window one, you'll have to tweak the #open method.
CPackage Loader is only available after it is installed.
Can we have a truly mini, tiny loader that will install any of the full loaders.
This tiny loader may even work with a headless image (and does not even depend on ChangeSorter ;-)
Or after SqueakMap is installed, it will present a list of all available package loaders for users to choose from.
Cheers,
PhiHo.
----- Original Message ----- From: "Bijan Parsia" bparsia@email.unc.edu To: squeak-dev@lists.squeakfoundation.org Sent: Friday, December 06, 2002 1:54 PM Subject: Re: [ANN] CategoricalSMLoader on SqueakMap
On Fri, 6 Dec 2002, PhiHo Hoang wrote:
[snip]
What are the numbers like these: Maturity level (0) Bleeding edge (11) Alpha (9) Beta (31) ...
These are the number of packages in each category. Subcategories, oddly enough, are not subsets of their supercategories. Thus, the relation between categories and their subcategories is only navigation. Membership in a category is always an explicit matter.
Other than that, I like to set 'CategoricalSMLoader' as my default SM loader, how can I do it ?
As ned said, I'm not sure what you mean. In the current version, you'll get a open menu item CPackage Loader which opens the simple version, currently. If you want that menu item to open the Fancy Window one, you'll have to tweak the #open method.
Hope to have a slightly cleaned up new release this weekend.
Cheers, Bijan Parsia.
"PhiHo Hoang" phiho.hoang@rogers.com wrote:
As ned said, I'm not sure what you mean. In the current version, you'll get a open menu item CPackage Loader which opens the simple version, currently. If you want that menu item to open the Fancy Window one, you'll have to tweak the #open method.
CPackage Loader is only available after it is installed. Can we have a truly mini, tiny loader that will install any of the full loaders.
Well, personally I agree with Daniel on this, no need to confuse the users here. And if you want a "minimal loader" - here you go:
| ps p | Cursor wait showWhile: [ ps _ ((SMSqueakMap default) loadUpdates; cardsByName) select: [:c | c isUpgradeableAndOld or: [c isInstallableAndNotInstalled]]. p _ (SelectionMenu labelList: (ps collect: [:x | x name]) selections: ps) startUpWithCaption: 'Select package to install'.. p ifNotNil: [SMSqueakMap default installPackageWithId: p id] ]
:-)
The above snippet will update the map, show a menu with all autoinstallable packages that have a new version available or are not installed yet, sorted by name. If one is selected it is installed.
Found a bug when hacking this btw... The wonderfully named but sofar not used message: #upgradeableAndOldOrInstallableAndNotInstalledPackages has an "and" instead of an "or".
regards, Göran
PS. I don't really see the need for this kind of "minimal loader". Just use the SM API then - you can't get more minimal than that.
squeak-dev@lists.squeakfoundation.org