What we use for our project (we want read-write and finer control, so we have local copy of the repo from which we push back to github)

=============================
Gofer new
�� �� url: 'http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo30/main';
�� �� configurationOf: 'GitFileTree';
�� �� loadDevelopment.

Metacello new
�� �� baseline: 'DynaCASE';
�� �� repository: 'gitfiletree:///my/path/to/dynacase/repository';
�� �� load.
=============================

If you want to just use read-only from github, this should also work

=============================
Metacello new
�� �� baseline: 'SmaCC';
�� �� repository: 'github://ThierryGoubier/SmaCC';
�� �� load
=============================

Peter

On Sat, Mar 7, 2015 at 6:46 PM, Sean P. DeNigris <sean@clipperadams.com> wrote:
There was a similar thread from 2013. I wonder what's changed...

The method I cobbled together from various threads was:
1. Load GitFileTree (available in the Config Browser in 3.0)
2. In MC Browser, '+Repository' -> 'Remote git repository':
�� �� MCFileTreeGitRemoteRepository
�� �� �� �� location: 'git@github.com:rohitsukhwal/HelloWorld.git'
�� �� �� �� name: 'whatever'
�� �� �� �� subdirectory: ''
�� �� �� �� branch: ''

A few questions:
1. name: 'whatever' seems weird. I put 'whatever' because its only
significance seems to be the directory to which the repo gets cloned (i.e.
imageDirectory/whatever). I assume I'm missing something...
2. The following also successfully cloned the repo, but would not be
accepted in MC Browser's add repo template dialog... MCFileTreeGitRepository
fromZnUrl: (ZnUrl fromString:
'gitfiletree://github.com/rohitsukhwal/HelloWorld.git?protocol=git').
�� a) How should it be used, or not?
�� b) Why does it clone into imageDirectory/gitHubProjectName, where #1 above
clones into ./name?
3. Since Metacello can apparently load from GitHub already, for write-only
repos, can that functionality be pushed into MC to be used e.g. with Gofer?
The method I found seems like a lot to ask, especially e.g. if you want
someone to take a quick look at a toy project with no Metacello config

Ideally, as mentioned in the 2013 thread, it would be great to have:
�� Gofer it
�� �� gitHubUser: user project: project;
�� �� load



-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/GitHub-Easiest-Way-to-Load-a-Project-update-tp4810309.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.