Hi,

- first, there is a high change people already have git installed in their 
machines. 
- but anyway, people does not have to install git to load a project, metacello 
will download a zip and install from there, no clone and no anything needed. 
- and you can also prepare ConfigurationOf that points to tags/commits/branchs 
from git, so you can do your versions “Yuriy style”, pointing to them… 

finally, if you want a mirror you can do a script more or less like this one: 

git clone blah dir
curl get.pharo.org | bash
./pharo Pharo.image eval “
| packages gofer |

packages := #('FFI-Pools' 'SharedPool-Speech' 'Balloon-Engine-Pools' 'Sound' 
'Alien-Core' 'VMMaker-oscog' 'VMMaker.oscog' 'Cog' 'Qwaq-VMProfiling-Plugins' 
'VMConstruction-Plugins-AioPlugin' 
'VMConstruction-Plugins-OSProcessPlugin.oscog' 'Freetype-Plugin' 
'SqueakSSL-Plugin' 'ObjectiveC-Plugin' 'Applescript-Core' 'CMakeVMMaker' 
'PharoVMMaker').

gofer := Gofer it
        url: 'filetree://dir/mc';
        yourself.
packages do: [ :packageName |  gofer package: packageName ].
gofer fetch. 
gofer := Gofer it
        url: 'http://smalltalkhub.com/mc/Pharo/PharoVM/main' username: 
'PharoMirrorJob' password: ’shhh';
        yourself.
packages do: [ :packageName |  gofer package: packageName ].
gofer push.
“

and you can run it in a cron :)

cheers, 
Esteban

> On 27 Jul 2016, at 23:26, Juraj Kubelka <juraj.kube...@icloud.com> wrote:
> 
> Hi,
> 
> How can I save (from time to time) project packages hosted on GitHub to 
> SmalltakHub?
> 
> The reason is that I do not want to force people to install GIT when they 
> want to install a project.
> So I am thinking to regularly deploy it on SmalltalkHub and update 
> ConfigurationOf.
> 
> Thanks in advance,
> Juraj


Reply via email to