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
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
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 <wild.ideas@gmail.com> 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
Hello, We have put a significant amount of effort on having an implementation of GraphQL for Pharo and VisualWorks. It even has a booklet. https://github.com/OBJECTSEMANTICS/GraphQL <https://github.com/OBJECTSEMANTICS/GraphQL> Cheers, Alexandre
On Sep 26, 2019, at 7:56 PM, Chris Muller <asqueaker@gmail.com> 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 <wild.ideas@gmail.com <mailto:wild.ideas@gmail.com>> 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 <https://fuhrmanator.github.io/2019/03/22/Using-GitHub-API-in-Pharo.html>
-- Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html <http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html>
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 <asqueaker@gmail.com> 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 <wild.ideas@gmail.com <mailto:wild.ideas@gmail.com>> 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 <https://fuhrmanator.github.io/2019/03/22/Using-GitHub-API-in-Pharo.html>
-- Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html <http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html>
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. [1] https://developer.github.com/v4/explorer/ On Fri, 27 Sep 2019 at 06:23, ducasse <stepharo@netcourrier.com> 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 <asqueaker@gmail.com> 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 <wild.ideas@gmail.com> 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*
https://github.com/guillep/github-api https://github.com/astares/GitHub-API
Gesendet: Donnerstag, 26. September 2019 um 19:01 Uhr Von: "ducasse" <stepharo@netcourrier.com> An: "Pharo Development List" <pharo-dev@lists.pharo.org> 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
participants (6)
-
Alexandre Bergel -
Brainstorms -
Chris Muller -
Christopher Fuhrman -
ducasse -
Torsten Bergmann