is OSSubProcess working in Pharo 6.1?

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

is OSSubProcess working in Pharo 6.1?

Stephane Ducasse-3
Hi

in pillar 70 we have
baseline: spec
<baseline>
spec
for: #common
do: [ spec blessing: #baseline.
spec repository: 'http://smalltalkhub.com/mc/Pier/Pillar/main/'.
spec
baseline: 'OSSubprocess'
with: [ spec
repository: 'github://marianopeck/OSSubprocess:v0.2.5/repository' ];
baseline: 'Mustache'
with: [ spec
repository: 'github://noha/mustache:v1.0/repository' ];
project: 'Cocoon'

but travis reports this:


Fetched -> OSSubprocess-cypress.1 ---
github://marianopeck/OSSubprocess:v0.2.5/repository [1d56f81:v0.2.5]
--- github://marianopeck/OSSubprocess:v0.2.5/repository
Fetched -> OSSubprocess-Tests-cypress.1 ---
github://marianopeck/OSSubprocess:v0.2.5/repository [1d56f81:v0.2.5]
--- github://marianopeck/OSSubprocess:v0.2.5/repository
...RETRY
...RETRYMessageNotUnderstood: receiver of "withSqueakLineEndings" is nil
UndefinedObject(Object)>>doesNotUnderstand: #withSqueakLineEndings
MCFileTreeStCypressReader>>addClassAndMethodDefinitionsFromEntry:

and I do not get why?

Stef

Reply | Threaded
Open this post in threaded view
|

Re: is OSSubProcess working in Pharo 6.1?

alistairgrant
Hi Stef,

On 30 January 2018 at 23:13, Stephane Ducasse <[hidden email]> wrote:

> Hi
>
> in pillar 70 we have
> baseline: spec
> <baseline>
> spec
> for: #common
> do: [ spec blessing: #baseline.
> spec repository: 'http://smalltalkhub.com/mc/Pier/Pillar/main/'.
> spec
> baseline: 'OSSubprocess'
> with: [ spec
> repository: 'github://marianopeck/OSSubprocess:v0.2.5/repository' ];
> baseline: 'Mustache'
> with: [ spec
> repository: 'github://noha/mustache:v1.0/repository' ];
> project: 'Cocoon'
>
> but travis reports this:
>
>
> Fetched -> OSSubprocess-cypress.1 ---
> github://marianopeck/OSSubprocess:v0.2.5/repository [1d56f81:v0.2.5]
> --- github://marianopeck/OSSubprocess:v0.2.5/repository
> Fetched -> OSSubprocess-Tests-cypress.1 ---
> github://marianopeck/OSSubprocess:v0.2.5/repository [1d56f81:v0.2.5]
> --- github://marianopeck/OSSubprocess:v0.2.5/repository
> ...RETRY
> ...RETRYMessageNotUnderstood: receiver of "withSqueakLineEndings" is nil
> UndefinedObject(Object)>>doesNotUnderstand: #withSqueakLineEndings
> MCFileTreeStCypressReader>>addClassAndMethodDefinitionsFromEntry:
>
> and I do not get why?
>
> Stef
>

I use the following to load OSSubProcess in Pharo 7.0 32 bit:

Metacello new
    configuration: 'OSSubprocess';
    repository: 'github://marianopeck/OSSubprocess:master/repository';
    version: #stable;
    load.


i.e. just replace the "v0.2.5" with "master".

HTH,
Alistair

Reply | Threaded
Open this post in threaded view
|

Re: is OSSubProcess working in Pharo 6.1?

Stephane Ducasse-3
Thanks
I really do not know how to debug it. Because I can load pillar code
on my machine.

On Tue, Jan 30, 2018 at 11:47 PM, Alistair Grant <[hidden email]> wrote:

> Hi Stef,
>
> On 30 January 2018 at 23:13, Stephane Ducasse <[hidden email]> wrote:
>> Hi
>>
>> in pillar 70 we have
>> baseline: spec
>> <baseline>
>> spec
>> for: #common
>> do: [ spec blessing: #baseline.
>> spec repository: 'http://smalltalkhub.com/mc/Pier/Pillar/main/'.
>> spec
>> baseline: 'OSSubprocess'
>> with: [ spec
>> repository: 'github://marianopeck/OSSubprocess:v0.2.5/repository' ];
>> baseline: 'Mustache'
>> with: [ spec
>> repository: 'github://noha/mustache:v1.0/repository' ];
>> project: 'Cocoon'
>>
>> but travis reports this:
>>
>>
>> Fetched -> OSSubprocess-cypress.1 ---
>> github://marianopeck/OSSubprocess:v0.2.5/repository [1d56f81:v0.2.5]
>> --- github://marianopeck/OSSubprocess:v0.2.5/repository
>> Fetched -> OSSubprocess-Tests-cypress.1 ---
>> github://marianopeck/OSSubprocess:v0.2.5/repository [1d56f81:v0.2.5]
>> --- github://marianopeck/OSSubprocess:v0.2.5/repository
>> ...RETRY
>> ...RETRYMessageNotUnderstood: receiver of "withSqueakLineEndings" is nil
>> UndefinedObject(Object)>>doesNotUnderstand: #withSqueakLineEndings
>> MCFileTreeStCypressReader>>addClassAndMethodDefinitionsFromEntry:
>>
>> and I do not get why?
>>
>> Stef
>>
>
> I use the following to load OSSubProcess in Pharo 7.0 32 bit:
>
> Metacello new
>     configuration: 'OSSubprocess';
>     repository: 'github://marianopeck/OSSubprocess:master/repository';
>     version: #stable;
>     load.
>
>
> i.e. just replace the "v0.2.5" with "master".
>
> HTH,
> Alistair
>

Reply | Threaded
Open this post in threaded view
|

Re: is OSSubProcess working in Pharo 6.1?

Guillermo Polito
In reply to this post by alistairgrant
Yeh, but loading master will load always a different version. But to have a reproducible build, we would like to load always the same version v0.2.5.

On Tue, Jan 30, 2018 at 11:47 PM, Alistair Grant <[hidden email]> wrote:
Hi Stef,

On 30 January 2018 at 23:13, Stephane Ducasse <[hidden email]> wrote:
> Hi
>
> in pillar 70 we have
> baseline: spec
> <baseline>
> spec
> for: #common
> do: [ spec blessing: #baseline.
> spec repository: 'http://smalltalkhub.com/mc/Pier/Pillar/main/'.
> spec
> baseline: 'OSSubprocess'
> with: [ spec
> repository: 'github://marianopeck/OSSubprocess:v0.2.5/repository' ];
> baseline: 'Mustache'
> with: [ spec
> repository: 'github://noha/mustache:v1.0/repository' ];
> project: 'Cocoon'
>
> but travis reports this:
>
>
> Fetched -> OSSubprocess-cypress.1 ---
> github://marianopeck/OSSubprocess:v0.2.5/repository [1d56f81:v0.2.5]
> --- github://marianopeck/OSSubprocess:v0.2.5/repository
> Fetched -> OSSubprocess-Tests-cypress.1 ---
> github://marianopeck/OSSubprocess:v0.2.5/repository [1d56f81:v0.2.5]
> --- github://marianopeck/OSSubprocess:v0.2.5/repository
> ...RETRY
> ...RETRYMessageNotUnderstood: receiver of "withSqueakLineEndings" is nil
> UndefinedObject(Object)>>doesNotUnderstand: #withSqueakLineEndings
> MCFileTreeStCypressReader>>addClassAndMethodDefinitionsFromEntry:
>
> and I do not get why?
>
> Stef
>

I use the following to load OSSubProcess in Pharo 7.0 32 bit:

Metacello new
    configuration: 'OSSubprocess';
    repository: 'github://marianopeck/OSSubprocess:master/repository';
    version: #stable;
    load.


i.e. just replace the "v0.2.5" with "master".

HTH,
Alistair




--

   

Guille Polito

Research Engineer

Centre de Recherche en Informatique, Signal et Automatique de Lille

CRIStAL - UMR 9189

French National Center for Scientific Research - http://www.cnrs.fr


Web: http://guillep.github.io

Phone: +33 06 52 70 66 13

Reply | Threaded
Open this post in threaded view
|

Re: is OSSubProcess working in Pharo 6.1?

Stephan Eggermont-3
Guillermo Polito <[hidden email]>
wrote:
> Yeh, but loading master will load always a different version. But to have a
> reproducible build, we would like to load always the same version v0.2.5.

So where is the problem? It is perfectly reproducible, isn't it?
If the code you are loading it into changes, you can not use a tag and
expect the code to work. For that you need to refer to a branch.

Stephan


Reply | Threaded
Open this post in threaded view
|

Re: is OSSubProcess working in Pharo 6.1?

alistairgrant
In reply to this post by Guillermo Polito
Hi Guille,

On 1 February 2018 at 10:49, Guillermo Polito <[hidden email]> wrote:
> Yeh, but loading master will load always a different version. But to have a
> reproducible build, we would like to load always the same version v0.2.5.


If you want a completely reproducible build, you can always specify
the commit id (if there isn't a tag), e.g.:


Metacello new
    configuration: 'OSSubprocess';
    repository: 'github://marianopeck/OSSubprocess:4c4e76d0/repository';
    load.


(I'm not recommending this particular commit, I chose it at random
just to see if it loads, not if it works).

Cheers,
Alistair



> On Tue, Jan 30, 2018 at 11:47 PM, Alistair Grant <[hidden email]>
> wrote:
>>
>> Hi Stef,
>>
>> On 30 January 2018 at 23:13, Stephane Ducasse <[hidden email]>
>> wrote:
>> > Hi
>> >
>> > in pillar 70 we have
>> > baseline: spec
>> > <baseline>
>> > spec
>> > for: #common
>> > do: [ spec blessing: #baseline.
>> > spec repository: 'http://smalltalkhub.com/mc/Pier/Pillar/main/'.
>> > spec
>> > baseline: 'OSSubprocess'
>> > with: [ spec
>> > repository: 'github://marianopeck/OSSubprocess:v0.2.5/repository' ];
>> > baseline: 'Mustache'
>> > with: [ spec
>> > repository: 'github://noha/mustache:v1.0/repository' ];
>> > project: 'Cocoon'
>> >
>> > but travis reports this:
>> >
>> >
>> > Fetched -> OSSubprocess-cypress.1 ---
>> > github://marianopeck/OSSubprocess:v0.2.5/repository [1d56f81:v0.2.5]
>> > --- github://marianopeck/OSSubprocess:v0.2.5/repository
>> > Fetched -> OSSubprocess-Tests-cypress.1 ---
>> > github://marianopeck/OSSubprocess:v0.2.5/repository [1d56f81:v0.2.5]
>> > --- github://marianopeck/OSSubprocess:v0.2.5/repository
>> > ...RETRY
>> > ...RETRYMessageNotUnderstood: receiver of "withSqueakLineEndings" is nil
>> > UndefinedObject(Object)>>doesNotUnderstand: #withSqueakLineEndings
>> > MCFileTreeStCypressReader>>addClassAndMethodDefinitionsFromEntry:
>> >
>> > and I do not get why?
>> >
>> > Stef
>> >
>>
>> I use the following to load OSSubProcess in Pharo 7.0 32 bit:
>>
>> Metacello new
>>     configuration: 'OSSubprocess';
>>     repository: 'github://marianopeck/OSSubprocess:master/repository';
>>     version: #stable;
>>     load.
>>
>>
>> i.e. just replace the "v0.2.5" with "master".
>>
>> HTH,
>> Alistair
>>
>
>
>
> --
>
>
>
> Guille Polito
>
> Research Engineer
>
> Centre de Recherche en Informatique, Signal et Automatique de Lille
>
> CRIStAL - UMR 9189
>
> French National Center for Scientific Research - http://www.cnrs.fr
>
>
> Web: http://guillep.github.io
>
> Phone: +33 06 52 70 66 13

Reply | Threaded
Open this post in threaded view
|

Re: is OSSubProcess working in Pharo 6.1?

Guillermo Polito
Bah, in fact the tag works well for that purpose :) The problem is that suddenly our builds started to break and the log in the terminal was not clear, leading us to think that it was related to OSSubprocess.

But it was related to another dependency ^^.

On Thu, Feb 1, 2018 at 9:57 PM, Alistair Grant <[hidden email]> wrote:
Hi Guille,

On 1 February 2018 at 10:49, Guillermo Polito <[hidden email]> wrote:
> Yeh, but loading master will load always a different version. But to have a
> reproducible build, we would like to load always the same version v0.2.5.


If you want a completely reproducible build, you can always specify
the commit id (if there isn't a tag), e.g.:


Metacello new
    configuration: 'OSSubprocess';
    repository: 'github://marianopeck/OSSubprocess:4c4e76d0/repository';
    load.


(I'm not recommending this particular commit, I chose it at random
just to see if it loads, not if it works).

Cheers,
Alistair



> On Tue, Jan 30, 2018 at 11:47 PM, Alistair Grant <[hidden email]>
> wrote:
>>
>> Hi Stef,
>>
>> On 30 January 2018 at 23:13, Stephane Ducasse <[hidden email]>
>> wrote:
>> > Hi
>> >
>> > in pillar 70 we have
>> > baseline: spec
>> > <baseline>
>> > spec
>> > for: #common
>> > do: [ spec blessing: #baseline.
>> > spec repository: 'http://smalltalkhub.com/mc/Pier/Pillar/main/'.
>> > spec
>> > baseline: 'OSSubprocess'
>> > with: [ spec
>> > repository: 'github://marianopeck/OSSubprocess:v0.2.5/repository' ];
>> > baseline: 'Mustache'
>> > with: [ spec
>> > repository: 'github://noha/mustache:v1.0/repository' ];
>> > project: 'Cocoon'
>> >
>> > but travis reports this:
>> >
>> >
>> > Fetched -> OSSubprocess-cypress.1 ---
>> > github://marianopeck/OSSubprocess:v0.2.5/repository [1d56f81:v0.2.5]
>> > --- github://marianopeck/OSSubprocess:v0.2.5/repository
>> > Fetched -> OSSubprocess-Tests-cypress.1 ---
>> > github://marianopeck/OSSubprocess:v0.2.5/repository [1d56f81:v0.2.5]
>> > --- github://marianopeck/OSSubprocess:v0.2.5/repository
>> > ...RETRY
>> > ...RETRYMessageNotUnderstood: receiver of "withSqueakLineEndings" is nil
>> > UndefinedObject(Object)>>doesNotUnderstand: #withSqueakLineEndings
>> > MCFileTreeStCypressReader>>addClassAndMethodDefinitionsFromEntry:
>> >
>> > and I do not get why?
>> >
>> > Stef
>> >
>>
>> I use the following to load OSSubProcess in Pharo 7.0 32 bit:
>>
>> Metacello new
>>     configuration: 'OSSubprocess';
>>     repository: 'github://marianopeck/OSSubprocess:master/repository';
>>     version: #stable;
>>     load.
>>
>>
>> i.e. just replace the "v0.2.5" with "master".
>>
>> HTH,
>> Alistair
>>
>
>
>
> --
>
>
>
> Guille Polito
>
> Research Engineer
>
> Centre de Recherche en Informatique, Signal et Automatique de Lille
>
> CRIStAL - UMR 9189
>
> French National Center for Scientific Research - http://www.cnrs.fr
>
>
> Web: http://guillep.github.io
>
> Phone: <a href="tel:%2B33%2006%2052%2070%2066%2013" value="+33652706613">+33 06 52 70 66 13




--

   

Guille Polito

Research Engineer

Centre de Recherche en Informatique, Signal et Automatique de Lille

CRIStAL - UMR 9189

French National Center for Scientific Research - http://www.cnrs.fr


Web: http://guillep.github.io

Phone: +33 06 52 70 66 13

Reply | Threaded
Open this post in threaded view
|

Re: is OSSubProcess working in Pharo 6.1?

Stephan Eggermont-3
Guillermo Polito <[hidden email]>
wrote:
> Bah, in fact the tag works well for that purpose :) The problem is that
> suddenly our builds started to break and the log in the terminal was not
> clear, leading us to think that it was related to OSSubprocess.
>
> But it was related to another dependency ^^.

Well yes, and depending on tags instead of branches is still going to give
you reproducible brittle builds and dependency problems.

Stephan