Re: [Pharo-dev] Tonel>>sourceDir

2018-12-11 Thread Alistair Grant
Hi Ben,

On Tue, 11 Dec 2018 at 12:32, Ben Coman  wrote:
>
> Now the next question to the list, how would I determine which version of 
> Tonel (e.g. v1.0.9 or v1.0.11 or commit hash)
> is loaded in an Image?

- Open the Monticello Browser
- Find MonticelloTonel-Core
- Look at the repositories, in my (slightly older) Pharo 7 image it
is:  github://pharo-vcs/tonel:v1.0.9

Cheers,
Alistair



Re: [Pharo-dev] Tonel>>sourceDir

2018-12-11 Thread Ben Coman
On Tue, 11 Dec 2018 at 16:30, Alistair Grant  wrote:

> Hi Ben,
>
> On Sun, 9 Dec 2018 at 16:06, Ben Coman  wrote:
> >
> >
> > For Exercism we are using Tonel in Pharo 6.1.
> > We are getting an error "Instance of TonelWriter did not understand
> #sourceDir:"
> > but the same code works fine on Pharo 7.
> >
> > The 6.1 image had been updated to latest Iceberg per
> https://github.com/pharo-vcs/iceberg#for-pharo-61, so I used ICeberg to
> updated to latest "master" of pharo-vcs/tonel but no avail.
> >
> > In Pharo 7 I see TonelWriter>>sourceDir in protocol "accessing"
> > but if I search for "sourceDir" in the pharo-vcs/tonel repo it doesn't
> find it...
> >
> https://github.com/pharo-vcs/tonel/search?q=sourcedir&unscoped_q=sourcedir
> >
> > I'm having trouble understanding where the #sourceDir method comes from
> in Pharo 7.
> > Which repo/branch can I load that from into another system?
>
> It seems like v1.0.9 has it and master doesn't, see:
>
>
> https://github.com/pharo-vcs/tonel/tree/v1.0.9/MonticelloTonel-Core.package/TonelWriter.class/instance
>
> (based on just hunting around my Pharo 7 image, I don't really
> understand the code :-))
>

Great work finding that.  Thanks Alistair.

Now the next question to the list, how would I determine which version of
Tonel (e.g. v1.0.9 or v1.0.11 or commit hash)
is loaded in an Image?

cheers -ben


Re: [Pharo-dev] Tonel>>sourceDir

2018-12-11 Thread Alistair Grant
Hi Ben,

On Sun, 9 Dec 2018 at 16:06, Ben Coman  wrote:
>
>
> For Exercism we are using Tonel in Pharo 6.1.
> We are getting an error "Instance of TonelWriter did not understand 
> #sourceDir:"
> but the same code works fine on Pharo 7.
>
> The 6.1 image had been updated to latest Iceberg per 
> https://github.com/pharo-vcs/iceberg#for-pharo-61, so I used ICeberg to 
> updated to latest "master" of pharo-vcs/tonel but no avail.
>
> In Pharo 7 I see TonelWriter>>sourceDir in protocol "accessing"
> but if I search for "sourceDir" in the pharo-vcs/tonel repo it doesn't find 
> it...
> https://github.com/pharo-vcs/tonel/search?q=sourcedir&unscoped_q=sourcedir
>
> I'm having trouble understanding where the #sourceDir method comes from in 
> Pharo 7.
> Which repo/branch can I load that from into another system?

It seems like v1.0.9 has it and master doesn't, see:

https://github.com/pharo-vcs/tonel/tree/v1.0.9/MonticelloTonel-Core.package/TonelWriter.class/instance

(based on just hunting around my Pharo 7 image, I don't really
understand the code :-))

HTH,
Alistair



[Pharo-dev] Tonel sourceDir

2018-12-09 Thread Ben Coman
This did make it through the mail list in 8 hours, so mabe the double arrow
in the subject line confused things.

Trying again...

-- Forwarded message -
From: Ben Coman 
Date: Sun, 9 Dec 2018 at 23:05
Subject: Tonel>>sourceDir
To: Pharo Development List 



For Exercism we are using Tonel in Pharo 6.1.
We are getting an error "Instance of TonelWriter did not understand
#sourceDir:"
but the same code works fine on Pharo 7.

The 6.1 image had been updated to latest Iceberg per
https://github.com/pharo-vcs/iceberg#for-pharo-61, so I used ICeberg to
updated to latest "master" of pharo-vcs/tonel but no avail.

In Pharo 7 I see TonelWriter>>sourceDir in protocol "accessing"
but if I search for "sourceDir" in the pharo-vcs/tonel repo it doesn't find
it...
https://github.com/pharo-vcs/tonel/search?q=sourcedir&unscoped_q=sourcedir

I'm having trouble understanding where the #sourceDir method comes from in
Pharo 7.
Which repo/branch can I load that from into another system?

cheers -ben


[Pharo-dev] Tonel>>sourceDir

2018-12-09 Thread Ben Coman
For Exercism we are using Tonel in Pharo 6.1.
We are getting an error "Instance of TonelWriter did not understand
#sourceDir:"
but the same code works fine on Pharo 7.

The 6.1 image had been updated to latest Iceberg per
https://github.com/pharo-vcs/iceberg#for-pharo-61, so I used ICeberg to
updated to latest "master" of pharo-vcs/tonel but no avail.

In Pharo 7 I see TonelWriter>>sourceDir in protocol "accessing"
but if I search for "sourceDir" in the pharo-vcs/tonel repo it doesn't find
it...
https://github.com/pharo-vcs/tonel/search?q=sourcedir&unscoped_q=sourcedir

I'm having trouble understanding where the #sourceDir method comes from in
Pharo 7.
Which repo/branch can I load that from into another system?

cheers -ben