Monticello API

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

Monticello API

Sean P. DeNigris
Administrator
How would I save a package to a local directory repo without the MC GUI?

I tried to dig into the GUI code, but it doesn't seem to be cleanly separated from the model. MCWorkingCopyBrowser>>saveVersion has a lot of logic in it. I also looked at PackageInfo & PackageOrganizer, but didn't see anything relevant.

Thanks.
Sean
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: Monticello API

Sean P. DeNigris
Administrator
Thanks to Bernardo Ezequiel Contreras - use Gofer (I thought it just loaded packages!). That was easy.

Gofer it
        directory: '/path/to/repo/';
        package: 'PackageName';
        commit: ''.

Sean
Cheers,
Sean