Login  Register

copying all versions to squeaksource

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

copying all versions to squeaksource

HwaJong Oh
143 posts
Hi,

I've figured out how to copy 97 version of mine to squeaksource, quickly. Is there a standard way to do this?

MCVersionInspector >> copyAllVersionsToSqueakSourceRepository

        | repository |
        repository := MCHttpRepository
                location: 'http://www.squeaksource.com/3748782'
                user: '2034'
                password: '34058'.
        1 to: self versionList size do: [:ii|
                self versionSelection: ii.
                repository storeVersion: version
        ].

Best Regards
HwaJong Oh
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: copying all versions to squeaksource

Alexandre Bergel
1541 posts
This may perfectly be part of the image, under an appropriate menu entry in Monticello.

Alexandre



Le 7 févr. 2011 à 03:47, HwaJong Oh <[hidden email]> a écrit :

>
> Hi,
>
> I've figured out how to copy 97 version of mine to squeaksource, quickly. Is
> there a standard way to do this?
>
> MCVersionInspector >> copyAllVersionsToSqueakSourceRepository
>
>    | repository |
>    repository := MCHttpRepository
>        location: 'http://www.squeaksource.com/3748782'
>        user: '2034'
>        password: '34058'.
>    1 to: self versionList size do: [:ii|
>        self versionSelection: ii.
>        repository storeVersion: version
>    ].
>
> Best Regards
> HwaJong Oh
> --
> View this message in context: http://forum.world.st/copying-all-versions-to-squeaksource-tp3263732p3263732.html
> Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
>

Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: copying all versions to squeaksource

Guillermo Polito
2446 posts
The other day I used:

Gofer it
    squeaksource: 'YourSqueakSourceRepo';
    package: 'onePackage';
    package: 'otherPackage';
    push.


And to load all versions into your cache:

Gofer it
    squeaksource: 'YourSqueakSourceRepo';
    package: 'onePackage';
    package: 'otherPackage';
    fetch.


Guille

On Mon, Feb 7, 2011 at 10:16 AM, Alexandre Bergel <[hidden email]> wrote:
This may perfectly be part of the image, under an appropriate menu entry in Monticello.

Alexandre



Le 7 févr. 2011 à 03:47, HwaJong Oh <[hidden email]> a écrit :

>
> Hi,
>
> I've figured out how to copy 97 version of mine to squeaksource, quickly. Is
> there a standard way to do this?
>
> MCVersionInspector >> copyAllVersionsToSqueakSourceRepository
>
>    | repository |
>    repository := MCHttpRepository
>        location: 'http://www.squeaksource.com/3748782'
>        user: '2034'
>        password: '34058'.
>    1 to: self versionList size do: [:ii|
>        self versionSelection: ii.
>        repository storeVersion: version
>    ].
>
> Best Regards
> HwaJong Oh
> --
> View this message in context: http://forum.world.st/copying-all-versions-to-squeaksource-tp3263732p3263732.html
> Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
>


Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: copying all versions to squeaksource

Stéphane Ducasse
17193 posts
amen!
We should release the gofer chapter draft.

> The other day I used:
>
> Gofer it
>     squeaksource: 'YourSqueakSourceRepo';
>     package: 'onePackage';
>     package: 'otherPackage';
>     push.
>
>
> And to load all versions into your cache:
>
> Gofer it
>     squeaksource: 'YourSqueakSourceRepo';
>     package: 'onePackage';
>     package: 'otherPackage';
>     fetch.

Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: copying all versions to squeaksource

HwaJong Oh
143 posts
Hey I got my hands on to Gofer!
Thanks!

Gofer it
     url: 'http://squeaksource.com/3748782' username: '2034' password: '34058';
     package: 'PocketCube';
     push.

I need to find ways to set source repository of the push operation from "package-cache" to my dir repo.

Best Regards
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: copying all versions to squeaksource

HwaJong Oh
143 posts
In reply to this post by Alexandre Bergel
Yes, GUI will make it easier for me. Gofer is powerful but need study to understand it.

Best Regards