Difficulties setting up Magma Monticello Repository

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

Difficulties setting up Magma Monticello Repository

Markus Fritsche-3
Hello,

I tried to set up a remote repository on a networked machine. When I
define a repository (local or remote) I get a DNU for
Dictionary>>#indexOf: coming from
MCRepositoryInspector>>#versionSelection

versions is a Dictionary, in the other Repository, it's a nested Array.

I use Pharo1.3a Latest update: #13177 (but I also tried it with Squeak
4.2) and the 1.2alpha1.mcm from the MagmaTester repository.

Regards,
Markus
_______________________________________________
Magma mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/magma
Reply | Threaded
Open this post in threaded view
|

Re: Difficulties setting up Magma Monticello Repository

Chris Muller-3
Hi Markus, I have been using Magma as a MC repository for a couple of
weeks now and am really liking it.  Although the canonicalization of
all MCDefinitions does cause saving packages to be slower than
FileBased, the reward for that is that, in Squeak, two new menu items
allow you to instantly browse all versions of a method or
class-definition from all MC-Versions in the Magma repository.

The other menu option is called, "Browse mc origin", which instantly
opens the MCVersion comments of the version in which that particular
edition of that method was originally committed.  I am finding this
very useful to know _why_ a particular change was made, without having
to go digging through the MC version history manually..

It also keeps track of which ancestors are missing and can
automatically copy them from another source repository, which is very
nice.

The page about using Magma as a Monticello repository is here:

    http://wiki.squeak.org/squeak/5603

As stated on that page, this feature is only for Magma "1.3" and
later.  However, "1.3" is actually the "head" release; the current
version of Magma being developed.

So, to load that, please first update to the very _latest_ Squeak
trunk image (11361 or later), and then use SqueakMap Catalog and load
the "head" release.  Unfortunately, Pharo renamed or removed one of
the classes necessary for this to operate, so this is for Squeak only
at this time.

 - Chris


On Sat, Apr 30, 2011 at 10:14 AM, Markus Fritsche
<[hidden email]> wrote:

> Hello,
>
> I tried to set up a remote repository on a networked machine. When I
> define a repository (local or remote) I get a DNU for
> Dictionary>>#indexOf: coming from
> MCRepositoryInspector>>#versionSelection
>
> versions is a Dictionary, in the other Repository, it's a nested Array.
>
> I use Pharo1.3a Latest update: #13177 (but I also tried it with Squeak
> 4.2) and the 1.2alpha1.mcm from the MagmaTester repository.
>
> Regards,
> Markus
> _______________________________________________
> Magma mailing list
> [hidden email]
> http://lists.squeakfoundation.org/mailman/listinfo/magma
>
_______________________________________________
Magma mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/magma
Reply | Threaded
Open this post in threaded view
|

Re: Difficulties setting up Magma Monticello Repository

Chris Muller-3
Incidentally, I am interested in receiving user-feedback about this
feature; using Magma back-end for MC.  I have an idea to move the
canonicalization step to the server so that the client isn't waiting
for that and should make saving to a Magma-based as fast as a
FileBased.  But, I haven't done that yet..



On Sat, Apr 30, 2011 at 1:05 PM, Chris Muller <[hidden email]> wrote:

> Hi Markus, I have been using Magma as a MC repository for a couple of
> weeks now and am really liking it.  Although the canonicalization of
> all MCDefinitions does cause saving packages to be slower than
> FileBased, the reward for that is that, in Squeak, two new menu items
> allow you to instantly browse all versions of a method or
> class-definition from all MC-Versions in the Magma repository.
>
> The other menu option is called, "Browse mc origin", which instantly
> opens the MCVersion comments of the version in which that particular
> edition of that method was originally committed.  I am finding this
> very useful to know _why_ a particular change was made, without having
> to go digging through the MC version history manually..
>
> It also keeps track of which ancestors are missing and can
> automatically copy them from another source repository, which is very
> nice.
>
> The page about using Magma as a Monticello repository is here:
>
>    http://wiki.squeak.org/squeak/5603
>
> As stated on that page, this feature is only for Magma "1.3" and
> later.  However, "1.3" is actually the "head" release; the current
> version of Magma being developed.
>
> So, to load that, please first update to the very _latest_ Squeak
> trunk image (11361 or later), and then use SqueakMap Catalog and load
> the "head" release.  Unfortunately, Pharo renamed or removed one of
> the classes necessary for this to operate, so this is for Squeak only
> at this time.
>
>  - Chris
>
>
> On Sat, Apr 30, 2011 at 10:14 AM, Markus Fritsche
> <[hidden email]> wrote:
>> Hello,
>>
>> I tried to set up a remote repository on a networked machine. When I
>> define a repository (local or remote) I get a DNU for
>> Dictionary>>#indexOf: coming from
>> MCRepositoryInspector>>#versionSelection
>>
>> versions is a Dictionary, in the other Repository, it's a nested Array.
>>
>> I use Pharo1.3a Latest update: #13177 (but I also tried it with Squeak
>> 4.2) and the 1.2alpha1.mcm from the MagmaTester repository.
>>
>> Regards,
>> Markus
>> _______________________________________________
>> Magma mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/mailman/listinfo/magma
>>
>
_______________________________________________
Magma mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/magma
Reply | Threaded
Open this post in threaded view
|

Re: Difficulties setting up Magma Monticello Repository

Markus Fritsche-3
In reply to this post by Chris Muller-3
Hello Chris,

thank you, meanwhile I got it working - even with squeak as client and
pharo as server.

Looking at the differences between squeak and pharo, it seems to be a
bigger task to make them compatible.

Regards,
Markus

2011/4/30 Chris Muller <[hidden email]>:
> Hi Markus, I have been using Magma as a MC repository for a couple of
> weeks now and am really liking it.  Although the canonicalization of
> all MCDefinitions does cause saving packages to be slower than
> FileBased, the reward for that is that, in Squeak, two new menu items
> allow you to instantly browse all versions of a method or
> class-definition from all MC-Versions in the Magma repository.
_______________________________________________
Magma mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/magma