[Pharo-users] Basic versioning of GitHub repositories from within Pharo

2015-11-23 Thread Skip Lentz
Hi everyone, As part of my internship I am creating bindings to the GitHub API in Pharo. As a prototype and demo, I have created a small tool last week to do some basic versioning, namely checking out a version, committing a version and showing a log of commits along with a branch tree. Here’s

Re: [Pharo-users] Basic versioning of GitHub repositories from within Pharo

2015-11-23 Thread Ben Coman
On Mon, Nov 23, 2015 at 11:25 PM, Skip Lentz wrote: > Hi everyone, > > As part of my internship I am creating bindings to the GitHub API in Pharo. Sounds cool. Do you mean the REST api? Can you provide a link to the API docs? cheers -ben > As a prototype and demo, I have created a small tool l

Re: [Pharo-users] Basic versioning of GitHub repositories from within Pharo

2015-11-23 Thread Yuriy Tymchuk
The project can be loaded like this: Metacello new smalltalkhubUser: #Balletie project: #GitHub; configuration: #GitHub; version: #development; load: #tool > On 23 Nov 2015, at 16:37, Skip Lentz wrote: > > >> On Nov 23, 2015, at 4:34 PM, Ben Coman wrote: >> >>

Re: [Pharo-users] Basic versioning of GitHub repositories from within Pharo

2015-11-23 Thread Skip Lentz
> On Nov 23, 2015, at 4:34 PM, Ben Coman wrote: > > On Mon, Nov 23, 2015 at 11:25 PM, Skip Lentz wrote: >> Hi everyone, >> >> As part of my internship I am creating bindings to the GitHub API in Pharo. > > Sounds cool. Do you mean the REST api? Can you provide a link to the API > docs? Ye

Re: [Pharo-users] Basic versioning of GitHub repositories from within Pharo

2015-11-23 Thread Yuriy Tymchuk
Is there any guide on how to use it? I’ve opened the tool, entered a username, left out the password field blank. Then I get nil exception because `self avatarUrl` of GHLoggedInUser returns nil. Cheers. Uko > On 23 Nov 2015, at 16:42, Yuriy Tymchuk wrote: > > The project can be loaded like th

Re: [Pharo-users] Basic versioning of GitHub repositories from within Pharo

2015-11-23 Thread Skip Lentz
> On Nov 23, 2015, at 4:46 PM, Yuriy Tymchuk wrote: > > Is there any guide on how to use it? I’ve opened the tool, entered a > username, left out the password field blank. Then I get nil exception because > `self avatarUrl` of GHLoggedInUser returns nil. Ah yes, that part might not be clear.

Re: [Pharo-users] Basic versioning of GitHub repositories from within Pharo

2015-11-23 Thread Skip Lentz
I just committed a fix for when opening a repository with more than 25 commits (which is basically any repository). I already fixed this but did not commit it yet to the repository on smalltalkhub, oops.

Re: [Pharo-users] Basic versioning of GitHub repositories from within Pharo

2015-11-23 Thread Peter Uhnak
On Mon, Nov 23, 2015 at 04:25:28PM +0100, Skip Lentz wrote: > Hi everyone, > > As part of my internship I am creating bindings to the GitHub API in Pharo. > As a prototype and demo, I have created a small tool last week to do some > basic versioning, namely checking out a version, committing a ve

Re: [Pharo-users] Basic versioning of GitHub repositories from within Pharo

2015-11-23 Thread Yuriy Tymchuk
> On 23 Nov 2015, at 16:55, Skip Lentz wrote: > > >> On Nov 23, 2015, at 4:46 PM, Yuriy Tymchuk wrote: >> >> Is there any guide on how to use it? I’ve opened the tool, entered a >> username, left out the password field blank. Then I get nil exception >> because `self avatarUrl` of GHLoggedI

Re: [Pharo-users] Basic versioning of GitHub repositories from within Pharo

2015-11-23 Thread Yuriy Tymchuk
> On 23 Nov 2015, at 17:31, Peter Uhnak wrote: > > On Mon, Nov 23, 2015 at 04:25:28PM +0100, Skip Lentz wrote: >> Hi everyone, >> >> As part of my internship I am creating bindings to the GitHub API in Pharo. >> As a prototype and demo, I have created a small tool last week to do some >> basic

Re: [Pharo-users] Basic versioning of GitHub repositories from within Pharo

2015-11-23 Thread Skip Lentz
> On Nov 23, 2015, at 5:31 PM, Peter Uhnak wrote: > > On Mon, Nov 23, 2015 at 04:25:28PM +0100, Skip Lentz wrote: >> Hi everyone, >> >> As part of my internship I am creating bindings to the GitHub API in Pharo. >> As a prototype and demo, I have created a small tool last week to do some >> ba

Re: [Pharo-users] Basic versioning of GitHub repositories from within Pharo

2015-11-23 Thread Skip Lentz
> On Nov 23, 2015, at 5:32 PM, Yuriy Tymchuk wrote: > > >> On 23 Nov 2015, at 16:55, Skip Lentz wrote: >> >> >>> On Nov 23, 2015, at 4:46 PM, Yuriy Tymchuk wrote: >>> >>> Is there any guide on how to use it? I’ve opened the tool, entered a >>> username, left out the password field blank.

Re: [Pharo-users] Basic versioning of GitHub repositories from within Pharo

2015-11-23 Thread Thierry Goubier
Hi Skip, this is interesting. It would mean the ability to handle github issues querying/opening inside Pharo, no? Thierry Le 23/11/2015 16:25, Skip Lentz a écrit : Hi everyone, As part of my internship I am creating bindings to the GitHub API in Pharo. As a prototype and demo, I have creat

Re: [Pharo-users] Basic versioning of GitHub repositories from within Pharo

2015-11-23 Thread Skip Lentz
> On Nov 23, 2015, at 5:32 PM, Yuriy Tymchuk wrote: > > Ok, when I enter a username and password, I get "receiver of asDateAndTime is > nil” in #setDateAndTimeMapping:. I also debugged this and it appears to be a corner case for some repositories where the “pushed_at” field is null for whatev

Re: [Pharo-users] Basic versioning of GitHub repositories from within Pharo

2015-11-23 Thread Skip Lentz
> On Nov 23, 2015, at 6:32 PM, Thierry Goubier > wrote: > > Hi Skip, > > this is interesting. It would mean the ability to handle github issues > querying/opening inside Pharo, no? Yes, if that part of the API is implemented. There are still a lot of extensions to be made. I am planning to

Re: [Pharo-users] Basic versioning of GitHub repositories from within Pharo

2015-11-23 Thread Thierry Goubier
Le 23/11/2015 18:40, Skip Lentz a écrit : On Nov 23, 2015, at 6:32 PM, Thierry Goubier wrote: Hi Skip, this is interesting. It would mean the ability to handle github issues querying/opening inside Pharo, no? Yes, if that part of the API is implemented. There are still a lot of extension

Re: [Pharo-users] Basic versioning of GitHub repositories from within Pharo

2015-11-23 Thread Sven Van Caekenberghe
Yes, this is a cool project/approach. I personally love it that it does not require a plugin and/or library that might not exist on all platforms. Please keep going ! Sven > On 23 Nov 2015, at 18:32, Thierry Goubier wrote: > > Hi Skip, > > this is interesting. It would mean the ability to h

Re: [Pharo-users] Basic versioning of GitHub repositories from within Pharo

2015-11-23 Thread Yuriy Tymchuk
Hi Skip, The receiver is GHRepository. Cheers. Uko > On 23 Nov 2015, at 17:46, Skip Lentz wrote: > >> >> On Nov 23, 2015, at 5:32 PM, Yuriy Tymchuk wrote: >> >> >>> On 23 Nov 2015, at 16:55, Skip Lentz wrote: >>> >>> On Nov 23, 2015, at 4:46 PM, Yuriy Tymchuk wrote: Is

Re: [Pharo-users] Basic versioning of GitHub repositories from within Pharo

2015-11-23 Thread Dale Henrichs
Very interesting ... if you put your project up on github, I would fork it and port it to tODE as this is something that has been on my todo list for awhile:) Dale On 11/23/2015 07:25 AM, Skip Lentz wrote: Hi everyone, As part of my internship I am creating bindings to the GitHub API in Pha

Re: [Pharo-users] Pharo for Data Visualization

2015-11-23 Thread Volkert
I have seen this ... looks promising. Do we have a tutorial? i found only http://woden.ronie.cl. What about mouse control and object selection. It that possible? BW, Volkert On 22.11.2015 21:10, Alexandre Bergel wrote: We have also put quite some effort on Woden, a 3d engine for Pharo… Cheer

Re: [Pharo-users] Basic versioning of GitHub repositories from within Pharo

2015-11-23 Thread Alexandre Bergel
Thanks Uko for trying Alexandre > Le 23 nov. 2015 à 13:32, Yuriy Tymchuk a écrit : > > >> On 23 Nov 2015, at 16:55, Skip Lentz wrote: >> >> >>> On Nov 23, 2015, at 4:46 PM, Yuriy Tymchuk wrote: >>> >>> Is there any guide on how to use it? I’ve opened the tool, entered a >>> username,

Re: [Pharo-users] Basic versioning of GitHub repositories from within Pharo

2015-11-23 Thread Alexandre Bergel
Yes, keep going Alexandre > Le 23 nov. 2015 à 15:05, Sven Van Caekenberghe a écrit : > > Yes, this is a cool project/approach. > > I personally love it that it does not require a plugin and/or library that > might not exist on all platforms. > > Please keep going ! > > Sven > >> On 23 Nov

[Pharo-users] piping output from shell process to transcript

2015-11-23 Thread Peter Uhnak
Hi, how can I pipe output from PipeableOSProcess to Transcript? I tried doing: (PipeableOSProcess command: 'my-command.sh') outputOn: Transcript. However `#outputOn:` doesn't send `#endEntry` so I don't see anything, and even if it would, the output is delivered there at the end anyway. I woul

Re: [Pharo-users] piping output from shell process to transcript

2015-11-23 Thread john pfersich
Try this: | p | p:= (PipeableOSProcess waitForCommand: 'whoami'). Transcript show: (p output). On Mon, Nov 23, 2015 at 6:42 PM, Peter Uhnak wrote: > Hi, > > how can I pipe output from PipeableOSProcess to Transcript? > > I tried doing: > > (PipeableOSProcess command: 'my-command.sh') outputOn

Re: [Pharo-users] Basic versioning of GitHub repositories from within Pharo

2015-11-23 Thread stepharo
Hi thierry Skip is working on a code review tool :) and we decided after the experience of Griotte from thomas not to build our own again but interface with existing hence we chose git and github like tools. We want to support code review (publish metadata) on a publish code. Stef Le 23/11/1

Re: [Pharo-users] Basic versioning of GitHub repositories from within Pharo

2015-11-23 Thread Julien Delplanque
Awesome, I'll use it soon :) On 23/11/15 16:25, Skip Lentz wrote: Hi everyone, As part of my internship I am creating bindings to the GitHub API in Pharo. As a prototype and demo, I have created a small tool last week to do some basic versioning, namely checking out a version, committing a ver