SqueakSource "API"

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

SqueakSource "API"

Tony Garnock-Jones-3
Hi all,

I'm interested in doing some analysis of patterns in a sample of
Smalltalk code in the wild.

Is there a way of getting a simple machine-readable listing of all
projects on SqueakSource?

A quick google revealed a similar question being asked a few years ago,
but it's not clear whether or how things might have changed since then.

If a list were available, it'd be even more useful if it had a few more
attributes than just the project name, come to think of it - things like
creation date, number of versions, etc might help filter the list to
just those of particular interest.

Regards,
   Tony

Reply | Threaded
Open this post in threaded view
|

Re: SqueakSource "API"

garduino
I don't know if the current version has some sort of API, but may be
in Squeaksource3 we could add some sort of xmlrpc api.

It's an interesting feature to try but, as usual, a matter of free time :(

Germán.

2011/4/23 Tony Garnock-Jones <[hidden email]>:

> Hi all,
>
> I'm interested in doing some analysis of patterns in a sample of Smalltalk
> code in the wild.
>
> Is there a way of getting a simple machine-readable listing of all projects
> on SqueakSource?
>
> A quick google revealed a similar question being asked a few years ago, but
> it's not clear whether or how things might have changed since then.
>
> If a list were available, it'd be even more useful if it had a few more
> attributes than just the project name, come to think of it - things like
> creation date, number of versions, etc might help filter the list to just
> those of particular interest.
>
> Regards,
>  Tony
>
>



--
=================================================
Germán S. Arduino  <gsa @ arsol.net>   Twitter: garduino
Arduino Software & Web Hosting   http://www.arduinosoftware.com
PasswordsPro  http://www.passwordspro.com
=================================================

Reply | Threaded
Open this post in threaded view
|

Re: SqueakSource "API"

Tobias Pape
In reply to this post by Tony Garnock-Jones-3
*noted*

So Long,
        -Tobias

Am 2011-04-23 um 13:45 schrieb Tony Garnock-Jones:

> Hi all,
>
> I'm interested in doing some analysis of patterns in a sample of Smalltalk code in the wild.
>
> Is there a way of getting a simple machine-readable listing of all projects on SqueakSource?
>
> A quick google revealed a similar question being asked a few years ago, but it's not clear whether or how things might have changed since then.
>
> If a list were available, it'd be even more useful if it had a few more attributes than just the project name, come to think of it - things like creation date, number of versions, etc might help filter the list to just those of particular interest.
>
> Regards,
>  Tony
>


Reply | Threaded
Open this post in threaded view
|

Re: SqueakSource "API"

Göran Krampe
In reply to this post by Tony Garnock-Jones-3
On 04/23/2011 01:45 PM, Tony Garnock-Jones wrote:

> Hi all,
>
> I'm interested in doing some analysis of patterns in a sample of
> Smalltalk code in the wild.
>
> Is there a way of getting a simple machine-readable listing of all
> projects on SqueakSource?
>
> A quick google revealed a similar question being asked a few years ago,
> but it's not clear whether or how things might have changed since then.
>
> If a list were available, it'd be even more useful if it had a few more
> attributes than just the project name, come to think of it - things like
> creation date, number of versions, etc might help filter the list to
> just those of particular interest.
>
> Regards,
> Tony

Perhaps not interesting, but in SqueakMap you even have the full domain
model right in your image. So it is trivial to iterate over say all
packages with MC snapshots as releases etc.

One idea I have had is to mirror SS into SM, but haven't done it.

regards, Göran



Reply | Threaded
Open this post in threaded view
|

Re: SqueakSource "API"

Tony Garnock-Jones-3
In reply to this post by garduino
On 2011-04-23 7:05 PM, Germán Arduino wrote:
> I don't know if the current version has some sort of API, but may be
> in Squeaksource3 we could add some sort of xmlrpc api.

Plain old RESTful CSV or JSON (or at a pinch, XML) would be easier to
use :-)

> It's an interesting feature to try but, as usual, a matter of free time :(

Fair enough. I downloaded SqueakSource 3 and tried to figure out where
to start, but failed to get it working in the time I had available...

Never mind - I think Göran's solution will do well for my purposes.

Thanks!

Regards,
   Tony

Reply | Threaded
Open this post in threaded view
|

Re: SqueakSource "API"

Tony Garnock-Jones-3
In reply to this post by Göran Krampe
On 2011-04-24 4:07 PM, Göran Krampe wrote:
> Perhaps not interesting, but in SqueakMap you even have the full domain
> model right in your image. So it is trivial to iterate over say all
> packages with MC snapshots as releases etc.

Ah! Yes, that'll work well for what I need it for. Thank you.

Regards,
   Tony