2016-03-08 10:34 GMT+01:00 Sven Van Caekenberghe :
> I don't know exactly how this is implemented or how it was designed; but I
> often felt as if you can easily have multiple copies of the same repository
> spec, where different packages use different ones; setting the credentials
> for one somet
I don't know exactly how this is implemented or how it was designed; but I
often felt as if you can easily have multiple copies of the same repository
spec, where different packages use different ones; setting the credentials for
one sometimes makes no difference for another user ...
> On 08 Ma
Le 07/03/2016 18:21, Peter Uhnák a écrit :
> MCRepositoryGroup default removeRepository:
> (MCSmalltalkhubRepository
> owner: 'Pharo'
> project: 'Pharo50Inbox').
> MCRepositoryGroup default addRepository:
> (MCSmalltalkhubRepository
> owner: 'Phar
>
> MCRepositoryGroup default removeRepository:
> (MCSmalltalkhubRepository
> owner: 'Pharo'
> project: 'Pharo50Inbox').
> MCRepositoryGroup default addRepository:
> (MCSmalltalkhubRepository
> owner: 'Pharo'
> project: 'Pharo50Inbox'
> user: 'peteruhnak'
>
Metacello new
repository: 'github://seandenigris/Monticello-Login:master/repository';
baseline: 'MonticelloLogin';
onConflict: [ :ex | ex allow ];
load.
It expects a file named .mcconfig in a user-specifiable folder (set with
`MlConfigurationFile folder: aFolder`),
Hi sean
where is your tool :).
Stef
Le 5/3/16 18:37, Sean P. DeNigris a écrit :
Peter Uhnák wrote
repo
user: 'peteruhnak';
password: '**'
... has no effect.
Hmm, I wonder if something changed in 5.0. I do this all the time. In fact I
wrote a small tool that picks up the credentials from
Peter Uhnák wrote
> repo
> user: 'peteruhnak';
> password: '**'
> ... has no effect.
Hmm, I wonder if something changed in 5.0. I do this all the time. In fact I
wrote a small tool that picks up the credentials from a config file so I can
invoke it from the World menu
-
Cheers,
Sean
--
Le 05/03/2016 12:08, Peter Uhnák a écrit :
> Hi,
>
> is it possible to add credentials to an existing repo via a script?
>
> I've tried something like
>
> ~
> |repo|
> repo := MCSmalltalkhubRepository allInstances detect: [ :each | each
> location includesSubstring: 'Phar
Hi,
is it possible to add credentials to an existing repo via a script?
I've tried something like
~
|repo|
repo := MCSmalltalkhubRepository allInstances detect: [ :each | each
location includesSubstring: 'Pharo50Inbox' ].
repo
user: 'peteruhnak';
password: '**'
~~