On 18 November 2011 16:11, jannik.laval <jannik.la...@gmail.com> wrote:
> Yes, that is my problem !
> I want to export packages in a repository outside the package cache and with 
> an empty package cache.
> The problem to pull the version first, is to know the url of the version.

I don't get your problem!

Gofer new
    squeaksource: 'remote';
    version: 'Foo-123';                " or package: 'Foo' if you want
all version "
    fetch

Gofer new
    squeaksource: 'backup';
    version: 'Foo-123';
    push



>
> Jannik
>
> On Nov 18, 2011, at 16:03 , Lukas Renggli wrote:
>
>> It is all relative to your package cache, so maybe you have to pull
>> the versions first?
>>
>> On 18 November 2011 10:53, jannik.laval <jannik.la...@gmail.com> wrote:
>>> Hi Lukas,
>>> I tried:
>>>
>>> ===
>>> RPackageOrganizer packageInfoNames do:[:e |
>>>        Gofer new
>>>                directory: '/Users/janniklaval/Desktop/MCPackages';
>>>                package: e;
>>>                push.
>>> ]
>>> ===
>>> but if the package was not modified, it does not copy the source files.
>>>
>>> Jannik
>>>
>>> On Nov 18, 2011, at 10:38 , Lukas Renggli wrote:
>>>
>>>> It would be trivial with Gofer:
>>>>
>>>>   Gofer new
>>>>      squeaksource: 'backupproject';
>>>>      package: 'P1';
>>>>      package: 'P2';
>>>>      package: 'P3';
>>>>      push
>>>>
>>>> Now of course you can find your script a working script in the class 
>>>> GoferPush.
>>>>
>>>> Lukas
>>>>
>>>> On 18 November 2011 10:03, jannik.laval <jannik.la...@gmail.com> wrote:
>>>>> Hi Pharoers,
>>>>>
>>>>> I would like to backup my packages in a repository with a script.
>>>>> I have one constraint: I need to use Monticello (eg, not gofer or 
>>>>> metacello).
>>>>> And I do not want to have a version incrementation.
>>>>>
>>>>> Does someone have any script or any way to do that ?
>>>>>
>>>>> Cheers,
>>>>> Jannik
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Lukas Renggli
>>>> www.lukas-renggli.ch
>>>>
>>>
>>> ---
>>> Jannik Laval
>>>
>>>
>>>
>>
>>
>>
>> --
>> Lukas Renggli
>> www.lukas-renggli.ch
>>
>
> ---
> Jannik Laval
>
>
>



-- 
Lukas Renggli
www.lukas-renggli.ch

Reply via email to