Manuscript (Case [Issue]22784) Metacello - Metacello scripts does not work when project is already loaded

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

Manuscript (Case [Issue]22784) Metacello - Metacello scripts does not work when project is already loaded

Pharo Issue Tracker
Manuscript Notification
avatar
Bug in Project:  Metacello: Divers  •  You are subscribed to this case
Thanks Pablo. It works.

But I found one issue. Metacello does not load master when it is not specified explicitly. For example when I first load:

Metacello new
baseline: 'StateSpecs';
repository: 'github://dionisiydk/StateSpecs:v2.4.8';
onUpgrade: [:ex | ex useIncoming];
onConflict: [ :err | err useIncoming ];
ignoreImage;
load.

And then:

Metacello new
baseline: 'StateSpecs';
repository: 'github://dionisiydk/StateSpecs';
onUpgrade: [:ex | ex useIncoming];
onConflict: [ :err | err useIncoming ];
ignoreImage;
load.

The master version is not loaded.
But if I use explicitly "StateSpecs:master" it is loaded.

Probably not really important case because we are usually specifying version or branch in baselines or scripts. But maybe you know fast fix. Otherwise I will open another issue for Pharo 8
Priority Priority: 2 – Really Important Status Status: Resolved (Fixed)
Assigned To Assigned to: CLOSED Milestone Milestone: Pharo7.0

Go to Case
No longer need updates? Unsubscribe from this case.

Don't want Manuscript notifications anymore? Update your preferences.

Manuscript

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
https://lists.gforge.inria.fr/mailman/listinfo/pharo-bugtracker