Using a private git repository with Metacello
Hello, Is it possible to use Metacello to load a Pharo project from a private git repository hosted on bitbucket for example? If it is, how? To load project from github I use: Metacello new baseline: 'Project'; repository: 'github://owner/reponame/repository'; load. Is there a prefix for a git repository that is not hosted on github? Also, I think Metacello use HTTP to download the project, am I right? Is it possible to make it use ssh? Thanks in advance, Julien
Hi Julien, it should be possible on Linux and Mac OS by loading GitFileTree and using an url like: 'gitfiletree://bitbucket.com/owner/reponame&protocol=git'. Regards, Thierry Le 08/10/2014 10:44, Julien Delplanque a écrit :
Hello,
Is it possible to use Metacello to load a Pharo project from a private git repository hosted on bitbucket for example? If it is, how?
To load project from github I use:
Metacello new baseline: 'Project'; repository: 'github://owner/reponame/repository'; load.
Is there a prefix for a git repository that is not hosted on github?
Also, I think Metacello use HTTP to download the project, am I right? Is it possible to make it use ssh?
Thanks in advance,
Julien
Sorry for the late response, I have been a bit busy these days, I tried this but it didn't worked.... I'll try the Dale's solution soon. However, thank you for the help ;) Julien On 09/10/14 07:09, Thierry Goubier wrote:
Hi Julien,
it should be possible on Linux and Mac OS by loading GitFileTree and using an url like: 'gitfiletree://bitbucket.com/owner/reponame&protocol=git'.
Regards,
Thierry
Le 08/10/2014 10:44, Julien Delplanque a écrit :
Hello,
Is it possible to use Metacello to load a Pharo project from a private git repository hosted on bitbucket for example? If it is, how?
To load project from github I use:
Metacello new baseline: 'Project'; repository: 'github://owner/reponame/repository'; load.
Is there a prefix for a git repository that is not hosted on github?
Also, I think Metacello use HTTP to download the project, am I right? Is it possible to make it use ssh?
Thanks in advance,
Julien
Hi Julien, What didn't work? Thierry Le 11 oct. 2014 10:44, "Julien Delplanque" <julien@tamere.eu> a écrit :
Sorry for the late response, I have been a bit busy these days,
I tried this but it didn't worked....
I'll try the Dale's solution soon.
However, thank you for the help ;)
Julien On 09/10/14 07:09, Thierry Goubier wrote:
Hi Julien,
it should be possible on Linux and Mac OS by loading GitFileTree and using an url like: 'gitfiletree://bitbucket.com/owner/reponame&protocol=git'.
Regards,
Thierry
Le 08/10/2014 10:44, Julien Delplanque a écrit :
Hello,
Is it possible to use Metacello to load a Pharo project from a private git repository hosted on bitbucket for example? If it is, how?
To load project from github I use:
Metacello new baseline: 'Project'; repository: 'github://owner/reponame/repository'; load.
Is there a prefix for a git repository that is not hosted on github?
Also, I think Metacello use HTTP to download the project, am I right?
Is
it possible to make it use ssh?
Thanks in advance,
Julien
Hi Thierry, Dale, I get a ZnUnknownScheme whatever the solution I choose... Are you sure it works for private repositories that need your ssh key for auth? Julien
Hi Julien, for my part, it would probably mean that GitFileTree isn't loaded. Do you have a package named MonticelloFileTree-Git? I load it with: Gofer new url: ' http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo30/main'; configurationOf: 'GitFileTree'; loadDevelopment Thierry 2014-10-13 8:19 GMT+02:00 Julien Delplanque <julien@tamere.eu>:
Hi Thierry, Dale,
I get a ZnUnknownScheme whatever the solution I choose...
Are you sure it works for private repositories that need your ssh key for auth?
Julien
Hello Julien, sorry for coming in so late. On Mon, Oct 13, 2014 at 8:19 AM, Julien Delplanque <julien@tamere.eu> wrote:
Hi Thierry, Dale,
I get a ZnUnknownScheme whatever the solution I choose...
Are you sure it works for private repositories that need your ssh key for auth?
Julien
I have successfully been using GitFileTree with Pharo 3 on OS X 10.6.8 with private Git repositories. The repositories are hosted on a private GitLab instance and the url required was of the form: ssh://git@mygitlabserver/username/project.git Everything worked fine after adding my ssh key to the ssh-agent by running the following line in a console: ssh-add ~/.ssh/private_key Maybe this helps. Best, Manfred
Julien, I recently added bitbucket:// support to metacello[1]. If you follow the installation instructions here[2], you can get the support loaded into Pharo3.0. Dale [1] https://groups.google.com/forum/#!topic/metacello/0vOzvQL10cQ [2] https://github.com/dalehenrich/metacello-work#pharo30 On Wed, Oct 8, 2014 at 1:44 AM, Julien Delplanque <julien@tamere.eu> wrote:
Hello,
Is it possible to use Metacello to load a Pharo project from a private git repository hosted on bitbucket for example? If it is, how?
To load project from github I use:
Metacello new baseline: 'Project'; repository: 'github://owner/reponame/repository'; load.
Is there a prefix for a git repository that is not hosted on github?
Also, I think Metacello use HTTP to download the project, am I right? Is it possible to make it use ssh?
Thanks in advance,
Julien
Thanks a lot I'll try this out! Julien On 09/10/14 18:37, Dale Henrichs wrote:
Julien,
I recently added bitbucket:// support to metacello[1].
If you follow the installation instructions here[2], you can get the support loaded into Pharo3.0.
Dale
[1] https://groups.google.com/forum/#!topic/metacello/0vOzvQL10cQ [2] https://github.com/dalehenrich/metacello-work#pharo30
On Wed, Oct 8, 2014 at 1:44 AM, Julien Delplanque <julien@tamere.eu> wrote:
Hello,
Is it possible to use Metacello to load a Pharo project from a private git repository hosted on bitbucket for example? If it is, how?
To load project from github I use:
Metacello new baseline: 'Project'; repository: 'github://owner/reponame/repository'; load.
Is there a prefix for a git repository that is not hosted on github?
Also, I think Metacello use HTTP to download the project, am I right? Is it possible to make it use ssh?
Thanks in advance,
Julien
Very nice to have BitBucket support! Private repositories for free, that's golden. Thx Phil On Sat, Oct 11, 2014 at 10:40 AM, Julien Delplanque <julien@tamere.eu> wrote:
Thanks a lot I'll try this out!
Julien
On 09/10/14 18:37, Dale Henrichs wrote:
Julien,
I recently added bitbucket:// support to metacello[1].
If you follow the installation instructions here[2], you can get the support loaded into Pharo3.0.
Dale
[1] https://groups.google.com/forum/#!topic/metacello/0vOzvQL10cQ [2] https://github.com/dalehenrich/metacello-work#pharo30
On Wed, Oct 8, 2014 at 1:44 AM, Julien Delplanque <julien@tamere.eu> wrote:
Hello,
Is it possible to use Metacello to load a Pharo project from a private git repository hosted on bitbucket for example? If it is, how?
To load project from github I use:
Metacello new baseline: 'Project'; repository: 'github://owner/reponame/repository'; load.
Is there a prefix for a git repository that is not hosted on github?
Also, I think Metacello use HTTP to download the project, am I right? Is it possible to make it use ssh?
Thanks in advance,
Julien
participants (5)
-
Dale Henrichs -
Julien Delplanque -
Manfred Kröhnert -
phil@highoctane.be -
Thierry Goubier