Hi Lukas, What I need is the information stored in the Monticello objects (I do not know which one for now). I would like to do something like that:
=== Gofer new url: (MCSomething new: myPackage) projectUrl; version: currentVersion; fetch Gofer new directory: myDirectory; package: myPackage; push === Do you know how to get the Monticello distant url of a package ? and to get the current version ? I saw that the Monticello GUI does it. Thank you Jannik On Nov 18, 2011, at 22:07 , Lukas Renggli wrote: > On 18 November 2011 21:40, jannik.laval <jannik.la...@gmail.com> wrote: >> My point is that I do not want to know the remote repository. >> I just want to copy my current package on a local repository. >> >> When you write squeaksource: 'remote', you suppose that your package is on >> squeaksource in the project named remote. >> That is that information that I do not want to give. > > Everything that is not your package cache is remote. It can also be a > directory on your HD, a GOODS database, or whatever ... > >> I need the process that creates the mcz file, to copy it on a repository. > > I do not get it. Maybe you want to give more context? > >> Jannik >> >> On Nov 18, 2011, at 18:37 , Lukas Renggli wrote: >> >>> 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 >>> >> >> --- >> Jannik Laval >> >> >> > > > > -- > Lukas Renggli > www.lukas-renggli.ch > --- Jannik Laval