A call for a library to script github.com

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

A call for a library to script github.com

ducasse
Hi

I know several people that would like to script from Pharo the github API.
        - for the new review tools
        - for posting bugs from pharo
        - for dashboard
        - for moose scripting

There is also stargate and I would like to know whether there exist a library
to build on top to script github because I think that there is need for a nice lib
for that

Stef



Reply | Threaded
Open this post in threaded view
|

Re: A call for a library to script github.com

tbrunz
Christopher Fuhrman posted this on his blog last March.  (I ran across it
looking for his LibC blog post.)

This doesn't cover the scope of what you listed, but as sort of a "proof of
concept" it does show a couple of ways that the GitHub API can be scripted.

https://fuhrmanator.github.io/2019/03/22/Using-GitHub-API-in-Pharo.html



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html

Reply | Threaded
Open this post in threaded view
|

Re: A call for a library to script github.com

Torsten Bergmann
In reply to this post by ducasse
 https://github.com/guillep/github-api
 https://github.com/astares/GitHub-API


> Gesendet: Donnerstag, 26. September 2019 um 19:01 Uhr
> Von: "ducasse" <[hidden email]>
> An: "Pharo Development List" <[hidden email]>
> Betreff: [Pharo-dev] A call for  a library to script github.com
>
> Hi
>
> I know several people that would like to script from Pharo the github API.
> - for the new review tools
> - for posting bugs from pharo
> - for dashboard
> - for moose scripting
>
> There is also stargate and I would like to know whether there exist a library
> to build on top to script github because I think that there is need for a nice lib
> for that
>
> Stef
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: A call for a library to script github.com

Chris Muller-3
In reply to this post by tbrunz
GraphQL is da bomb, I would definitely recommend writing a client to access their v4 API.  You may not even need it, but Squeak will have a full GraphQL parser and document validation and processing engine real soon now.  It's completely stand-alone, no dependencies, and I've kept portability in mind the entire time while developing it.  Hopefully it'll "just work" if dropped into Pharo.  It has hundreds of tests so far, every sentence in the spec is covered, so, you'll know.  Status is, after 14 months work, I'm allllmost done.. this is some of my best work ever..

 - Chris

On Thu, Sep 26, 2019 at 4:03 PM Brainstorms <[hidden email]> wrote:
Christopher Fuhrman posted this on his blog last March.  (I ran across it
looking for his LibC blog post.)

This doesn't cover the scope of what you listed, but as sort of a "proof of
concept" it does show a couple of ways that the GitHub API can be scripted.

https://fuhrmanator.github.io/2019/03/22/Using-GitHub-API-in-Pharo.html



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html

Reply | Threaded
Open this post in threaded view
|

Re: A call for a library to script github.com

Pharo Smalltalk Developers mailing list
Hello,

We have put a significant amount of effort on having an implementation of GraphQL for Pharo and VisualWorks. It even has a booklet.


Cheers,
Alexandre

On Sep 26, 2019, at 7:56 PM, Chris Muller <[hidden email]> wrote:

GraphQL is da bomb, I would definitely recommend writing a client to access their v4 API.  You may not even need it, but Squeak will have a full GraphQL parser and document validation and processing engine real soon now.  It's completely stand-alone, no dependencies, and I've kept portability in mind the entire time while developing it.  Hopefully it'll "just work" if dropped into Pharo.  It has hundreds of tests so far, every sentence in the spec is covered, so, you'll know.  Status is, after 14 months work, I'm allllmost done.. this is some of my best work ever..

 - Chris

On Thu, Sep 26, 2019 at 4:03 PM Brainstorms <[hidden email]> wrote:
Christopher Fuhrman posted this on his blog last March.  (I ran across it
looking for his LibC blog post.)

This doesn't cover the scope of what you listed, but as sort of a "proof of
concept" it does show a couple of ways that the GitHub API can be scripted.

https://fuhrmanator.github.io/2019/03/22/Using-GitHub-API-in-Pharo.html



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html


Reply | Threaded
Open this post in threaded view
|

Re: A call for a library to script github.com

ducasse
In reply to this post by Chris Muller-3
Thanks chris. 
Alexandre and Juan Pablo did an implementation of GraphQL some years ago. 
May be you want to check and join effort. 

Stef

On 27 Sep 2019, at 00:56, Chris Muller <[hidden email]> wrote:

GraphQL is da bomb, I would definitely recommend writing a client to access their v4 API.  You may not even need it, but Squeak will have a full GraphQL parser and document validation and processing engine real soon now.  It's completely stand-alone, no dependencies, and I've kept portability in mind the entire time while developing it.  Hopefully it'll "just work" if dropped into Pharo.  It has hundreds of tests so far, every sentence in the spec is covered, so, you'll know.  Status is, after 14 months work, I'm allllmost done.. this is some of my best work ever..

 - Chris

On Thu, Sep 26, 2019 at 4:03 PM Brainstorms <[hidden email]> wrote:
Christopher Fuhrman posted this on his blog last March.  (I ran across it
looking for his LibC blog post.)

This doesn't cover the scope of what you listed, but as sort of a "proof of
concept" it does show a couple of ways that the GitHub API can be scripted.

https://fuhrmanator.github.io/2019/03/22/Using-GitHub-API-in-Pharo.html



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html


Reply | Threaded
Open this post in threaded view
|

Re: A call for a library to script github.com

Christopher Fuhrman-4
I didn't mention it in my blog post, but the GraphQL API Explorer [1] is also super useful to do code completion, etc., because constructing queries is not always that intuitive. 

I merely used copy/paste of the queries. It would be cool if Pharo could somehow integrate that tool.

On Fri, 27 Sep 2019 at 06:23, ducasse <[hidden email]> wrote:
Thanks chris. 
Alexandre and Juan Pablo did an implementation of GraphQL some years ago. 
May be you want to check and join effort. 

Stef

On 27 Sep 2019, at 00:56, Chris Muller <[hidden email]> wrote:

GraphQL is da bomb, I would definitely recommend writing a client to access their v4 API.  You may not even need it, but Squeak will have a full GraphQL parser and document validation and processing engine real soon now.  It's completely stand-alone, no dependencies, and I've kept portability in mind the entire time while developing it.  Hopefully it'll "just work" if dropped into Pharo.  It has hundreds of tests so far, every sentence in the spec is covered, so, you'll know.  Status is, after 14 months work, I'm allllmost done.. this is some of my best work ever..

 - Chris

On Thu, Sep 26, 2019 at 4:03 PM Brainstorms <[hidden email]> wrote:
Christopher Fuhrman posted this on his blog last March.  (I ran across it
looking for his LibC blog post.)

This doesn't cover the scope of what you listed, but as sort of a "proof of
concept" it does show a couple of ways that the GitHub API can be scripted.

https://fuhrmanator.github.io/2019/03/22/Using-GitHub-API-in-Pharo.html



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html




--
Christopher Fuhrman, P.Eng., PhD
Professeur au Département de génie logiciel et des technologies de l'information
ÉTS (École de technologie supérieure)

http://profs.etsmtl.ca/cfuhrman
+1 514 396 8638
L'ÉTS est une constituante de l'Université du Québec
Reply | Threaded
Open this post in threaded view
|

Re: A call for a library to script github.com

Chris Muller-3
In reply to this post by Pharo Smalltalk Developers mailing list
Cool!  Good to see another in the community interested in GraphQL.  

I actually noticed it a few weeks ago, but I couldn't quite tell what its status was.  We should compare notes.  I'll email you.

 - Chris


On Thu, Sep 26, 2019 at 6:42 PM Alexandre Bergel via Pharo-dev <[hidden email]> wrote:
Hello,

We have put a significant amount of effort on having an implementation of GraphQL for Pharo and VisualWorks. It even has a booklet.


Cheers,
Alexandre

On Sep 26, 2019, at 7:56 PM, Chris Muller <[hidden email]> wrote:

GraphQL is da bomb, I would definitely recommend writing a client to access their v4 API.  You may not even need it, but Squeak will have a full GraphQL parser and document validation and processing engine real soon now.  It's completely stand-alone, no dependencies, and I've kept portability in mind the entire time while developing it.  Hopefully it'll "just work" if dropped into Pharo.  It has hundreds of tests so far, every sentence in the spec is covered, so, you'll know.  Status is, after 14 months work, I'm allllmost done.. this is some of my best work ever..

 - Chris

On Thu, Sep 26, 2019 at 4:03 PM Brainstorms <[hidden email]> wrote:
Christopher Fuhrman posted this on his blog last March.  (I ran across it
looking for his LibC blog post.)

This doesn't cover the scope of what you listed, but as sort of a "proof of
concept" it does show a couple of ways that the GitHub API can be scripted.

https://fuhrmanator.github.io/2019/03/22/Using-GitHub-API-in-Pharo.html



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html