how to update monticello cypress repository downloaded from github?

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

how to update monticello cypress repository downloaded from github?

Peter Uhnak
Hi,

how can one update a cypress github repository?

e.g. I install it like this

Metacello new
    baseline: 'FileDialog';
    repository: 'github://peteruhnak/file-dialog/repository';
    load.

And then later I want to pull latest changes

as the repo itself doesn't contain commits I cannot do it from Monticello Browser.

The only way I found was to 

1. delete github-cache folder in the image folder
2. unload all the loaded packages
3. execute this script again

This is really heavy-handed approach.

Maybe the class BaselineOf could contain method #update or something like that that will automatically do this?

Or is there a better way?

Thanks,
Peter
Reply | Threaded
Open this post in threaded view
|

Re: [Pharo-dev] how to update monticello cypress repository downloaded from github?

Nicolas Passerini
AFAIK that is the only way

1. delete github-cache folder in the image folder
2. unload all the loaded packages
3. execute this script again

At least if you have a metadata less github repository, is that the case?
But that was the conclusion to which we arrived with Dale a few weeks ago and he's changing stuff, so maybe in the latest version it is already solved.