Metacello and file repositories

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

Metacello and file repositories

Torsten Bergmann
Monticello allows you to use local directories as
alternatives to web based squeaksource repositories.
When I select one in the Monticello browser it displays
"c:\pharo\myapp\repo\" (maybe "file://c:\pharo\myapp\repo\"
would have been better - but thats a Monticello issue.

Question:
Is it possible to use Metacello configurations with
directory repositories too?

Currently this fails for me since Metacello always tries
to use a HTTP repo while loading:

---------------------------------------------------------------------
baseline10: spec
        "The first baseline for the MyApp project"
        <version: '1.0-baseline'>
       
        spec for: #pharo do: [
                spec blessing: #baseline.
                spec description: '1.0 baseline for MyApp'.
                spec repository: 'c:\pharo\myapp\repo\'.
                "Packages"
                spec
                        package: 'MyApp-Core-Model';
                ...
---------------------------------------------------------------------

Any comments?

Thanks
T.


--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Metacello and file repositories

Miguel Cobá
El mié, 09-06-2010 a las 09:40 +0200, Torsten Bergmann escribió:

> Monticello allows you to use local directories as
> alternatives to web based squeaksource repositories.
> When I select one in the Monticello browser it displays
> "c:\pharo\myapp\repo\" (maybe "file://c:\pharo\myapp\repo\"
> would have been better - but thats a Monticello issue.
>
> Question:
> Is it possible to use Metacello configurations with
> directory repositories too?
>
> Currently this fails for me since Metacello always tries
> to use a HTTP repo while loading:
>
> ---------------------------------------------------------------------
> baseline10: spec
> "The first baseline for the MyApp project"
> <version: '1.0-baseline'>
>
> spec for: #pharo do: [
> spec blessing: #baseline.
> spec description: '1.0 baseline for MyApp'.
> spec repository: 'c:\pharo\myapp\repo\'.


I use

spec repository: '/home/miguel/proyectos/azteca/mc'.

for accesing a local directory in my machine. It is linux and the path
is absolute.
The spec for metacello in

http://code.google.com/p/metacello/wiki/APIReference

says:

                        spec
                                "directory-based repository"
                                repository: '/opt/mc/repository';


Maybe changing the slashes:

spec repository: 'c:/pharo/myapp/repo/'.

or using UNC format:

http://en.wikipedia.org/wiki/Path_(computing)#Uniform_Naming_Convention

will work.

Cheers



> "Packages"
> spec
> package: 'MyApp-Core-Model';
>                 ...
> ---------------------------------------------------------------------
>
> Any comments?
>
> Thanks
> T.
>
>
> --
> GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
> Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--
Miguel Cobá
http://miguel.leugim.com.mx


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Metacello and file repositories

Dale Henrichs
In reply to this post by Torsten Bergmann
Torsten Bergmann wrote:

> Monticello allows you to use local directories as
> alternatives to web based squeaksource repositories.
> When I select one in the Monticello browser it displays
> "c:\pharo\myapp\repo\" (maybe "file://c:\pharo\myapp\repo\"
> would have been better - but thats a Monticello issue.
>
> Question:
> Is it possible to use Metacello configurations with
> directory repositories too?
>
> Currently this fails for me since Metacello always tries
> to use a HTTP repo while loading:
>
> ---------------------------------------------------------------------
> baseline10: spec
> "The first baseline for the MyApp project"
> <version: '1.0-baseline'>
>
> spec for: #pharo do: [
> spec blessing: #baseline.
> spec description: '1.0 baseline for MyApp'.
> spec repository: 'c:\pharo\myapp\repo\'.
> "Packages"
> spec
> package: 'MyApp-Core-Model';
>                 ...
> ---------------------------------------------------------------------
>
> Any comments?
>
> Thanks
> T.
>
>
Torsten,

I'm sorry that I haven't chimed in, I've got some family issues that I'm
attending to right now....I agree with the direction that you have been
proposing...

Dale

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Metacello and file repositories

Torsten Bergmann
Hi Dale,

hope you and your family are all well.
I've fixed it, just integrate the latest Metacello-Core and close
http://code.google.com/p/metacello/issues/detail?id=82 
when there is time again. Until then I've patched the image I use.

Thanks
T.
--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Metacello and file repositories

Dale Henrichs
Torsten Bergmann wrote:
> Hi Dale,
>
> hope you and your family are all well.
> I've fixed it, just integrate the latest Metacello-Core and close
> http://code.google.com/p/metacello/issues/detail?id=82 
> when there is time again. Until then I've patched the image I use.
>
> Thanks
> T.

Thanks Torsten.

I've picked up your fix for Issue 82 ... I'm working on Issue 81 and
will then release 1.0-beta.26.3 with both fixes when Issue 81 is fixed...

Dale

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project