I just wanted to have my projects repos added to my preferences file. Without an API, it requires scraping the UI and writing code. So, yes, an API would be nice (or some helper to help with the repos registration for a given user/team in Monticello). But the REST thing is good enough at this point. With some NeoJSON, it can be quickly accessed. Phil On Fri, Mar 28, 2014 at 11:00 AM, Nicolas Petton <petton.nicolas@gmail.com>wrote:
Would it be useful if SmalltalkHub provided an API (I mean, something documented)?
Nico
phil@highoctane.be writes:
Ah, nice!
Thx
On Fri, Mar 28, 2014 at 10:44 AM, Nicolas Petton <petton.nicolas@gmail.com>wrote:
Hi!
You can do:
GET http://smalltalkhub.com/hub/projects/{user,team}
Cheers, Nico
phil@highoctane.be writes:
Is there a way to ask for a set of project names under a given Team/User?
I don't like maintaining lists like this one:
#( 'BitmapCharacterSet' 'CollectionArithmetic' 'Coral' 'EventRecorder' 'FFICompatibility' 'FileSystemLegacy' 'Flotr' 'Gettext' 'ImageWorker' 'JSON' 'LDAP' 'LEDMorph' 'MorphExamplesAndDemos' 'NBOpenGL' 'OPAX' 'OrderPreservingDictionary' 'Pastell' 'Phexample' 'PlotMorph' 'PostgresV2' 'Postmark' 'ProfStef' 'RFB' 'ROE' 'SCouchDBViewServer' 'SMark' 'Smacc' 'Sound' 'Soup' 'Spotlight2' 'Tanker' 'XMLParser' 'XMLSupport' 'XMLWriter' 'XPath' 'readline') do: [ :projectName | MCRepositoryGroup default addRepository: ( MCSmalltalkhubRepository owner: 'PharoExtras' project: projectName) ].
Phil
-- Nicolas Petton http://nicolas-petton.fr
-- Nicolas Petton http://nicolas-petton.fr