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: '[email protected]: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.

Reply via email to