Re: [Pharo-users] Versionner and package dependencies

2016-01-04 Thread Ferlicot D. Cyril
Le 04/01/2016 10:44, Christophe Demarey a écrit :
> Hi Cyril,
> 
> It is not something we want in Versionner.
> An external project *must* have a configuration to refer to it. If not,
> you will take random packages without knowing if they have themselves
> dependencies.
> What you should do is to create a project for that and then ask
> Versionner to only load the package you need (right-click on the project
> dependency).
> 
> Christophe

Hi,

So we have to create ourself a configuration for each project that
doesn't have a configuration/group that match our needs if we want to
use versionner if I understand right. Ok, thank you.

And is there a way to execute pre/post scripts (#postLoadDoIt: in
ConfigurationOfXXX) with versionner ? If not is it something you want to
add to versionner or this will not be add ?

-- 
Cyril Ferlicot

http://www.synectique.eu

165 Avenue Bretagne
Lille 59000 France



signature.asc
Description: OpenPGP digital signature


Re: [Pharo-users] Versionner and package dependencies

2016-01-04 Thread Christophe Demarey
Hi Cyril,

Le 30 déc. 2015 à 10:17, Ferlicot D. Cyril a écrit :

> Hi,
> 
> I wanted to use versionner to manage some existing configurations but in
> one of these configuration there is some dependencies on packages that
> have no project.
> 
> For example in the baseline there is:
> 
>   spec package: 'Glamour-EyeSee-Presentations'
>   with: [ spec requires: #('EyeSee').
>   spec repository: 
> 'http://smalltalkhub.com/mc/Moose/Glamour/main' ].
> 
> But in versionner I can only add a project as dependency.
> 
> Is there a way to do such a thing or is it a future feature of versionner?

It is not something we want in Versionner.
An external project must have a configuration to refer to it. If not, you will 
take random packages without knowing if they have themselves dependencies.
What you should do is to create a project for that and then ask Versionner to 
only load the package you need (right-click on the project dependency).

Christophe

smime.p7s
Description: S/MIME cryptographic signature


Re: [Pharo-users] Versionner and package dependencies

2016-01-04 Thread Christophe Demarey

Le 4 janv. 2016 à 10:52, Ferlicot D. Cyril a écrit :

> Le 04/01/2016 10:44, Christophe Demarey a écrit :
>> Hi Cyril,
>> 
>> It is not something we want in Versionner.
>> An external project *must* have a configuration to refer to it. If not,
>> you will take random packages without knowing if they have themselves
>> dependencies.
>> What you should do is to create a project for that and then ask
>> Versionner to only load the package you need (right-click on the project
>> dependency).
>> 
>> Christophe
> 
> Hi,
> 
> So we have to create ourself a configuration for each project that
> doesn't have a configuration/group that match our needs if we want to
> use versionner if I understand right. Ok, thank you.

only if they do not have a configuration. If you need some packages or groups, 
you can specify them in the "loads" directive. 


> 
> And is there a way to execute pre/post scripts (#postLoadDoIt: in
> ConfigurationOfXXX) with versionner ? If not is it something you want to
> add to versionner or this will not be add ?

It is Metacello that execute these scripts. Versionner only allows you to edit 
configurations. The load options in Versionner use Metacello, so they are 
executed.

smime.p7s
Description: S/MIME cryptographic signature


[Pharo-users] Versionner and package dependencies

2015-12-30 Thread Ferlicot D. Cyril
Hi,

I wanted to use versionner to manage some existing configurations but in
one of these configuration there is some dependencies on packages that
have no project.

For example in the baseline there is:

spec package: 'Glamour-EyeSee-Presentations'
with: [ spec requires: #('EyeSee').
spec repository: 
'http://smalltalkhub.com/mc/Moose/Glamour/main' ].

But in versionner I can only add a project as dependency.

Is there a way to do such a thing or is it a future feature of versionner?


-- 
Cyril Ferlicot

http://www.synectique.eu

165 Avenue Bretagne
Lille 59000 France



signature.asc
Description: OpenPGP digital signature