Re: [Pharo-users] Iceberg and proxy

2017-10-04 Thread Guillermo Polito
No idea, Esteban??? I actually think that Iceberg should manage this. Either use the system's proxy or use Pharo's proxy... On Wed, Oct 4, 2017 at 1:56 PM, Nicolai Hess wrote: > > > 2017-10-03 20:58 GMT+02:00 Guillermo Polito : > >> Well, LGitFetchOptions has a proxy options property of type LG

Re: [Pharo-users] Iceberg and proxy

2017-10-04 Thread Vitor Medina Cruz
I updated the Iceberg version and now the crash isn't happening. On Wed, Oct 4, 2017 at 9:09 AM, Vitor Medina Cruz wrote: > Either I create a new repository from Iceberg or I cloned an existing one > from command line and then added to Iceberg. > > On Wed, Oct 4, 2017 at 8:56 AM, Nicolai Hess >

Re: [Pharo-users] Iceberg and proxy

2017-10-04 Thread Vitor Medina Cruz
Either I create a new repository from Iceberg or I cloned an existing one from command line and then added to Iceberg. On Wed, Oct 4, 2017 at 8:56 AM, Nicolai Hess wrote: > > > 2017-10-03 20:58 GMT+02:00 Guillermo Polito : > >> Well, LGitFetchOptions has a proxy options property of type LGitProx

Re: [Pharo-users] Iceberg and proxy

2017-10-04 Thread Nicolai Hess
2017-10-03 20:58 GMT+02:00 Guillermo Polito : > Well, LGitFetchOptions has a proxy options property of type LGitProxyOptions, > and this one a property type of type LGitProxyTypeEnum. I did not try it > but maybe it should look something like: > > fetchOptions prim_proxy_opts prim_type: LGitProxyT

Re: [Pharo-users] Iceberg and proxy

2017-10-04 Thread Vitor Medina Cruz
Thanks! I tried that but got two errors: "MessageNotUnderstood: FFIExternalStructureReferenceHandle>>free" "LGit_GIT_ERROR: Out of memory" I got other errors with Iceberg that make it unusable, for example, if I try to show history -> select a changeset, the image crashes... :( On Tue, Oct 3, 2

Re: [Pharo-users] Iceberg and proxy

2017-10-03 Thread Guillermo Polito
Well, LGitFetchOptions has a proxy options property of type LGitProxyOptions, and this one a property type of type LGitProxyTypeEnum. I did not try it but maybe it should look something like: fetchOptions prim_proxy_opts prim_type: LGitProxyTypeEnum git_proxy_auto. ? if fetchOptions is null you'

Re: [Pharo-users] Iceberg and proxy

2017-10-03 Thread Vitor Medina Cruz
Couldn't figure out how to configure a LGitFetchOptionswith a LGitProxyOptions accepting one of the auto/none/specified from LGitProxyTypeEnum. Can you provide an example? On Tue, Oct 3, 2017 at 1:06 PM, Guillermo Polito wrote: > I know, but a LGitProxyOptions accepts one. > > On Tue, Oct 3, 201

Re: [Pharo-users] Iceberg and proxy

2017-10-03 Thread Guillermo Polito
I know, but a LGitProxyOptions accepts one. On Tue, Oct 3, 2017 at 5:57 PM, Vitor Medina Cruz wrote: > Nope, auto/none/specified returned objects are not compatible to the > expected one received by prim_proxy_opts: > > On Tue, Oct 3, 2017 at 11:16 AM, Guillermo Polito < > guillermopol...@gmail.

Re: [Pharo-users] Iceberg and proxy

2017-10-03 Thread Vitor Medina Cruz
Nope, auto/none/specified returned objects are not compatible to the expected one received by prim_proxy_opts: On Tue, Oct 3, 2017 at 11:16 AM, Guillermo Polito wrote: > Check that LGitFetchOptions has a pair of accessors prim_proxy_opts. Maybe > you can configure it with a LGitProxyTypeEnum whi

Re: [Pharo-users] Iceberg and proxy

2017-10-03 Thread Guillermo Polito
Check that LGitFetchOptions has a pair of accessors prim_proxy_opts. Maybe you can configure it with a LGitProxyTypeEnum which has values auto/none/specified? On Tue, Oct 3, 2017 at 3:52 PM, Vitor Medina Cruz wrote: > I got to this point: > > remote_fetch: remote refspecs: refspecs opts: opts re

Re: [Pharo-users] Iceberg and proxy

2017-10-03 Thread Vitor Medina Cruz
I got to this point: remote_fetch: remote refspecs: refspecs opts: opts reflog_message: reflog_message ^ self call: #(LGitReturnCodeEnum git_remote_fetch #(self , void * refspecs , LGitFetchOptions * opts , String reflog_message)) options: #(optCoerceNilToNull) This seams like a call to a na

Re: [Pharo-users] Iceberg and proxy

2017-10-03 Thread Guillermo Polito
Looks like it's an iceberg/libgit problem. We should set the proxy to libgit :) https://libgit2.github.com/libgit2/#HEAD/search/proxy On Tue, Oct 3, 2017 at 2:03 PM, Vitor Medina Cruz wrote: > Yes, I already done that. I am behind a NTLM proxy, so I set up a cntlm > proxy and configured Pharo s

Re: [Pharo-users] Iceberg and proxy

2017-10-03 Thread Vitor Medina Cruz
Yes, I already done that. I am behind a NTLM proxy, so I set up a cntlm proxy and configured Pharo settings accordingly. It is working because I can use Zinc directly, but Iceberg cannot pull/push. I tried the same at home without a proxy and I could not pull/push either, so it probably has nothing

Re: [Pharo-users] Iceberg and proxy

2017-10-03 Thread Guillermo Polito
You should probably set the proxy in the Pharo settings. Pharo does not recognize the system's proxy (so far). Could you try with that? Guille On Mon, Oct 2, 2017 at 4:35 PM, Vitor Medina Cruz wrote: > git push via command line works fine. When I try to pull, for example, > from Iceberg it say

Re: [Pharo-users] Iceberg and proxy

2017-10-02 Thread Vitor Medina Cruz
git push via command line works fine. When I try to pull, for example, from Iceberg it says "a connection with the server cannot be estabilished". I am using a cntlm bypass proxy with loggin on, and Iceberg is using it, but it fails while normal Zinc usage is ok. I will try to understand better wh

Re: [Pharo-users] Iceberg and proxy

2017-10-02 Thread Esteban Lorenzano
hi, if you have the ssh port restricted, you need to use one that is not…but then, is not clear how it will work on server side. can you try if you can do command line git push in your project? Esteban > On 2 Oct 2017, at 19:57, Vitor Medina Cruz wrote: > > Hello! > Iceberg don’t work behin

[Pharo-users] Iceberg and proxy

2017-10-02 Thread Vitor Medina Cruz
Hello! Iceberg don’t work behind a proxy? I have made proper proxy configuration, if I use Zinc, for example, the proxy information is used, but that don’t seems to be the case for Iceberg. Regards, Vitor