On Mon, Aug 21, 2017 at 11:06:36AM +0200, H. Hirzel wrote:
What is the code snippet to get a list of all packages with a '6.0' tag and their description?
"CatalogProject availableRepositoryURLStrings" gives: #('http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo60/main' 'http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo30/main' 'http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo40/main' 'http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo50/main' 'http://www.squeaksource.com/MetacelloRepository') "CatalogProvider default retrieveProjects" gives an array of 456 items. Each item is a dictionary with a "repositoryUrl" key which matches one of the above strings. Therefore: CatalogProvider default retrieveProjects select: [ :x | (x at: 'repositoryUrl') = 'http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo60/main' ]
In Squeak I would just bring up the halo menu, then open an inspector on the Catalog Browser window and see what model is attached.
How do I do this in Pharo these days?
On Linux, shift-ctrl click the window, then from the menu select debug... inspect model. Pierce