Pharo 7 provisional HOWTO

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
54 messages Options
123
Reply | Threaded
Open this post in threaded view
|

Re: Pharo 7 provisional HOWTO

Nicolai Hess-3-2


2017-08-08 23:00 GMT+02:00 Esteban Lorenzano <[hidden email]>:


On 8 Aug 2017, at 20:40, Nicolai Hess <[hidden email]> wrote:



2017-07-28 23:19 GMT+02:00 Nicolai Hess <[hidden email]>:


2017-07-28 23:13 GMT+02:00 Nicolai Hess <[hidden email]>:


2017-07-24 9:45 GMT+02:00 Nicolai Hess <[hidden email]>:


2017-07-11 12:46 GMT+02:00 Nicolai Hess <[hidden email]>:


2017-07-11 12:44 GMT+02:00 Nicolai Hess <[hidden email]>:


2017-07-11 12:28 GMT+02:00 Pavel Krivanek <[hidden email]>:
What is the system you use?
AFAIK Esteban is fixing the latest Iceberg because it stopped to work on Windows...

-- Pavel

windows 10 32 bit

and on another windows 10 64  bit system

on both, it crashes on working with libgit/iceberg


Any news ?
Anyone got a working libgit/iceberg for windows 32 or windows 64 ?

Or is there any other way to be up to date with fixes, doing reviews and bug fixes (without using github in the web browser) ?

Now, I tried again with the latest vm/image version and I get this error

LGit_GIT_ERROR: username does not match previous request'

Any idea ?
 

I used my git username in the ssh settings.
If I use "git" as username for the ssh setting, it complains about
failed to authenticate SSH session

How do other windows users use all this for pharo 7, any windows user how can write a little howto ?
 

Any news on howto use iceberg / libgit on windows.
Does no one else use windows ?

I do not understand what's the problem. It was working on my tests... and I know several people is using windows (Torsten one of them).
What's the problem you are having in concrete? I need to see how to reproduce it :(

Like I described above.

I followed this howto ( the first mail from pavel).

But I get this error:

'LGit_GIT_ERROR: Failed to authenticate SSH session: Callback returned error'


Now I enabled the setting for "Use custom SSH keys", followed the github-doc for adding a ssh-key on windows and add this key to my github-account.
But I still get the same error.

 

Esteban 



Reply | Threaded
Open this post in threaded view
|

Re: Pharo 7 provisional HOWTO

Nicolai Hess-3-2
In reply to this post by CyrilFerlicot


2017-08-08 23:05 GMT+02:00 Cyril Ferlicot D. <[hidden email]>:
Le 08/08/2017 à 20:40, Nicolai Hess a écrit :
>
> Any news on howto use iceberg / libgit on windows.
> Does no one else use windows ?
>

Hi,

I can use Iceberg on Windows 7 but not to participate to Pharo (or any
project with file name longer than 255chars).

So I can work on my projects or on projects like Iceberg. I have a ssh
key on my Windows that is associated to my github account and I have a
startup script executing this:

IceCredentialsProvider useCustomSsh: true.

Since my ssh key has the default name for a rsa key it select it by
default and I can use Iceberg.

Thanks for the info, cyril.

What do you use for the ssh username in pharo setting and what username did you use for creating the ssh-key ?
I tried both, my github-email and my github-username, I didn't get it to work.
 

--
Cyril Ferlicot
https://ferlicot.fr

http://www.synectique.eu
2 rue Jacques Prévert 01,
59650 Villeneuve d'ascq France


Reply | Threaded
Open this post in threaded view
|

Re: Pharo 7 provisional HOWTO

CyrilFerlicot
In reply to this post by Nicolai Hess-3-2
Le 08/08/2017 à 23:37, Nicolai Hess a écrit :

>
>
> Like I described above.
>
> I followed this howto ( the first mail from pavel).
>
> But I get this error:
>
> 'LGit_GIT_ERROR: Failed to authenticate SSH session: Callback returned
> error'
>
>
> Now I enabled the setting for "Use custom SSH keys", followed the
> github-doc for adding a ssh-key on windows and add this key to my
> github-account.
> But I still get the same error.
>
>  
To be sure this is not a ssh key problem you can try to install git bash
and to commit on a repository with a ssh remote. If it works you'll be
sure the ssh key is good.

--
Cyril Ferlicot
https://ferlicot.fr

http://www.synectique.eu
2 rue Jacques Prévert 01,
59650 Villeneuve d'ascq France


signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Pharo 7 provisional HOWTO

CyrilFerlicot
In reply to this post by Nicolai Hess-3-2
Le 08/08/2017 à 23:40, Nicolai Hess a écrit :
> Thanks for the info, cyril.
>
> What do you use for the ssh username in pharo setting and what username
> did you use for creating the ssh-key ?
> I tried both, my github-email and my github-username, I didn't get it to
> work.
>

I did not use anything special. While creating the ssh key I used all
the default options and in the setting I do not change the username (see
joined screenshot).

This is the command I probably used since I followed github tutorial[1]:

ssh-keygen -t rsa -b 4096 -C "[hidden email]"

[1] https://help.github.com/articles/connecting-to-github-with-ssh/

--
Cyril Ferlicot
https://ferlicot.fr

http://www.synectique.eu
2 rue Jacques Prévert 01,
59650 Villeneuve d'ascq France

PharoScreenshot.png (58K) Download Attachment
signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Pharo 7 provisional HOWTO

EstebanLM

On 8 Aug 2017, at 23:47, Cyril Ferlicot D. <[hidden email]> wrote:

Le 08/08/2017 à 23:40, Nicolai Hess a écrit :
Thanks for the info, cyril.

What do you use for the ssh username in pharo setting and what username
did you use for creating the ssh-key ?
I tried both, my github-email and my github-username, I didn't get it to
work.


I did not use anything special. While creating the ssh key I used all
the default options and in the setting I do not change the username (see
joined screenshot).

This is the command I probably used since I followed github tutorial[1]:

ssh-keygen -t rsa -b 4096 -C "[hidden email]"

[1] https://help.github.com/articles/connecting-to-github-with-ssh/

yes, the keys may be an issue, but the standard rsa generated key should work. We need to do a pass in security/credentials system (and probably a revamp of some parts), but I still didn’t find the time.
about the 255 limitation, if you execute this in command line: 

git config --system core.longpaths true

it should also fix the problem with pharo repo.

Esteban


--
Cyril Ferlicot
https://ferlicot.fr

http://www.synectique.eu
2 rue Jacques Prévert 01,
59650 Villeneuve d'ascq France
<PharoScreenshot.png>

Reply | Threaded
Open this post in threaded view
|

Re: Pharo 7 provisional HOWTO

CyrilFerlicot
On Wed, Aug 9, 2017 at 9:33 AM, Esteban Lorenzano <[hidden email]> wrote:
>
>
> yes, the keys may be an issue, but the standard rsa generated key should
> work. We need to do a pass in security/credentials system (and probably a
> revamp of some parts), but I still didn’t find the time.
> about the 255 limitation, if you execute this in command line:
>
> git config --system core.longpaths true
>

I already did it but I still get the problem :(

> it should also fix the problem with pharo repo.
>
> Esteban
>
>
>



--
Cyril Ferlicot
https://ferlicot.fr

http://www.synectique.eu
2 rue Jacques Prévert 01,
59650 Villeneuve d'ascq France

Reply | Threaded
Open this post in threaded view
|

Re: Pharo 7 provisional HOWTO

Nicolai Hess-3-2
In reply to this post by CyrilFerlicot


2017-08-08 23:41 GMT+02:00 Cyril Ferlicot D. <[hidden email]>:
Le 08/08/2017 à 23:37, Nicolai Hess a écrit :
>
>
> Like I described above.
>
> I followed this howto ( the first mail from pavel).
>
> But I get this error:
>
> 'LGit_GIT_ERROR: Failed to authenticate SSH session: Callback returned
> error'
>
>
> Now I enabled the setting for "Use custom SSH keys", followed the
> github-doc for adding a ssh-key on windows and add this key to my
> github-account.
> But I still get the same error.
>
>

To be sure this is not a ssh key problem you can try to install git bash
and to commit on a repository with a ssh remote. If it works you'll be
sure the ssh key is good.


yes, just tested, this seems to work. I can use the key for a ssh remote commit from the command line.
but somehow I can not use it with pharo /iceberg..
 
--
Cyril Ferlicot
https://ferlicot.fr

http://www.synectique.eu
2 rue Jacques Prévert 01,
59650 Villeneuve d'ascq France


Reply | Threaded
Open this post in threaded view
|

Re: Pharo 7 provisional HOWTO

Nicolai Hess-3-2


2017-08-09 23:18 GMT+02:00 Nicolai Hess <[hidden email]>:


2017-08-08 23:41 GMT+02:00 Cyril Ferlicot D. <[hidden email]>:
Le 08/08/2017 à 23:37, Nicolai Hess a écrit :
>
>
> Like I described above.
>
> I followed this howto ( the first mail from pavel).
>
> But I get this error:
>
> 'LGit_GIT_ERROR: Failed to authenticate SSH session: Callback returned
> error'
>
>
> Now I enabled the setting for "Use custom SSH keys", followed the
> github-doc for adding a ssh-key on windows and add this key to my
> github-account.
> But I still get the same error.
>
>

To be sure this is not a ssh key problem you can try to install git bash
and to commit on a repository with a ssh remote. If it works you'll be
sure the ssh key is good.


yes, just tested, this seems to work. I can use the key for a ssh remote commit from the command line.
but somehow I can not use it with pharo /iceberg..
 

Ah, I think I got it to work now.
I created a new ssh key, but this time I did not set a passphrase.
So maybe, ssh remotes with iceberg are only working if you don't use passphrases for you secret key!
 
--
Cyril Ferlicot
https://ferlicot.fr

http://www.synectique.eu
2 rue Jacques Prévert 01,
59650 Villeneuve d'ascq France



Reply | Threaded
Open this post in threaded view
|

Re: Pharo 7 provisional HOWTO

Nicolai Hess-3-2
In reply to this post by EstebanLM


2017-08-09 9:33 GMT+02:00 Esteban Lorenzano <[hidden email]>:

On 8 Aug 2017, at 23:47, Cyril Ferlicot D. <[hidden email]> wrote:

Le 08/08/2017 à 23:40, Nicolai Hess a écrit :
Thanks for the info, cyril.

What do you use for the ssh username in pharo setting and what username
did you use for creating the ssh-key ?
I tried both, my github-email and my github-username, I didn't get it to
work.


I did not use anything special. While creating the ssh key I used all
the default options and in the setting I do not change the username (see
joined screenshot).

This is the command I probably used since I followed github tutorial[1]:

ssh-keygen -t rsa -b 4096 -C "[hidden email]"

[1] https://help.github.com/articles/connecting-to-github-with-ssh/

yes, the keys may be an issue, but the standard rsa generated key should work. We need to do a pass in security/credentials system (and probably a revamp of some parts), but I still didn’t find the time.
about the 255 limitation, if you execute this in command line: 

git config --system core.longpaths true

it should also fix the problem with pharo repo.

Esteban

Now I have the same problem. I can not get the pharo repo because it can not operate on files with long path names.
even with longpaths true, this does not work ...
 


--
Cyril Ferlicot
https://ferlicot.fr

http://www.synectique.eu
2 rue Jacques Prévert 01,
59650 Villeneuve d'ascq France
<PharoScreenshot.png>


Reply | Threaded
Open this post in threaded view
|

Re: Pharo 7 provisional HOWTO

Holger Freyther
In reply to this post by Pavel Krivanek-3

> On 26. Jun 2017, at 19:14, Pavel Krivanek <[hidden email]> wrote:
>
> Hi,

Hey!

thank you for this HOWTO!

> username := 'YOUR-USER-NAME'.
> repository := IceRepositoryCreator new
> url: '[hidden email]:pharo-project/pharo.git';
> location: ('pharo-core' asFileReference ensureCreateDirectory);
> subdirectory:'src';
> createRepository.
> repository checkoutBranch: 'development'.
> repository register.
>
> fork := (IceRemote name: 'myFork' url: ('[hidden email]:{1}/pharo.git' format: {username})).
> repository addRemote: fork.
> repository pushRemote: fork.
> repository pullRemote: repository origin.

I am using "pharo-mac-stable.zip" and "Pharo-7.0.0-alpha.build.27.sha.c1c8991.arch.32bit.zip" and followed your howto and run into various Iceberg issues. Where would be the best place to report them?

Open Iceberg, selech "Pharo", click on Branches
=> Error LGit_GIT_ERROR: Reference 'HEAD' is not a local branch.

Open Iceberg, double click on "Pharo"
=> DNU, #/ was sent to nil
UndefinedObject(Object)>>doesNotUnderstand: #/
... IceSavedPackage repository location seems to return nil.


Are these known? Fogbugz? Github issues of Iceberg?


cheers
        holger




Reply | Threaded
Open this post in threaded view
|

Re: Pharo 7 provisional HOWTO

Pavel Krivanek-3


2017-08-12 11:36 GMT+02:00 Holger Freyther <[hidden email]>:

> On 26. Jun 2017, at 19:14, Pavel Krivanek <[hidden email]> wrote:
>
> Hi,

Hey!

thank you for this HOWTO!

> username := 'YOUR-USER-NAME'.
> repository := IceRepositoryCreator new
>       url: '[hidden email]:pharo-project/pharo.git';
>       location: ('pharo-core' asFileReference ensureCreateDirectory);
>       subdirectory:'src';
>       createRepository.
> repository checkoutBranch: 'development'.
> repository register.
>
> fork := (IceRemote name: 'myFork' url: ('[hidden email]:{1}/pharo.git' format: {username})).
> repository addRemote: fork.
> repository pushRemote: fork.
> repository pullRemote: repository origin.

I am using "pharo-mac-stable.zip" and "Pharo-7.0.0-alpha.build.27.sha.c1c8991.arch.32bit.zip" and followed your howto and run into various Iceberg issues. Where would be the best place to report them?

Open Iceberg, selech "Pharo", click on Branches
=> Error LGit_GIT_ERROR: Reference 'HEAD' is not a local branch.

Open Iceberg, double click on "Pharo"
=> DNU, #/ was sent to nil
UndefinedObject(Object)>>doesNotUnderstand: #/
... IceSavedPackage repository location seems to return nil.


Are these known? Fogbugz? Github issues of Iceberg?

yes, because this HOWTO is already obsolete. See:


-- Pavel
 


cheers
        holger





Reply | Threaded
Open this post in threaded view
|

Re: Pharo 7 provisional HOWTO

Holger Freyther

> On 12. Aug 2017, at 17:47, Pavel Krivanek <[hidden email]> wrote:
>
>

> yes, because this HOWTO is already obsolete. See:
>
> https://github.com/guillep/PharoIntegrationProcess/wiki/Pharo-Development-Process

Ah okay. The hidden system repository explains why the IceSavedPackage didn't point to the repository I had created/set-up but to something without a location:.


thank you

        holger



Reply | Threaded
Open this post in threaded view
|

Re: Pharo 7 provisional HOWTO

NorbertHartl
In reply to this post by Pavel Krivanek-3

Why is that document in the account of guille?

Norbert
Am 12.08.2017 um 11:47 schrieb Pavel Krivanek <[hidden email]>:



2017-08-12 11:36 GMT+02:00 Holger Freyther <[hidden email]>:

> On 26. Jun 2017, at 19:14, Pavel Krivanek <[hidden email]> wrote:
>
> Hi,

Hey!

thank you for this HOWTO!

> username := 'YOUR-USER-NAME'.
> repository := IceRepositoryCreator new
>       url: '[hidden email]:pharo-project/pharo.git';
>       location: ('pharo-core' asFileReference ensureCreateDirectory);
>       subdirectory:'src';
>       createRepository.
> repository checkoutBranch: 'development'.
> repository register.
>
> fork := (IceRemote name: 'myFork' url: ('[hidden email]:{1}/pharo.git' format: {username})).
> repository addRemote: fork.
> repository pushRemote: fork.
> repository pullRemote: repository origin.

I am using "pharo-mac-stable.zip" and "Pharo-7.0.0-alpha.build.27.sha.c1c8991.arch.32bit.zip" and followed your howto and run into various Iceberg issues. Where would be the best place to report them?

Open Iceberg, selech "Pharo", click on Branches
=> Error LGit_GIT_ERROR: Reference 'HEAD' is not a local branch.

Open Iceberg, double click on "Pharo"
=> DNU, #/ was sent to nil
UndefinedObject(Object)>>doesNotUnderstand: #/
... IceSavedPackage repository location seems to return nil.


Are these known? Fogbugz? Github issues of Iceberg?

yes, because this HOWTO is already obsolete. See:


-- Pavel
 


cheers
        holger





Reply | Threaded
Open this post in threaded view
|

Re: Pharo 7 provisional HOWTO

Stephane Ducasse-3
Because he wrote it but indeed it should be migrated to Pharo.

On Thu, Aug 24, 2017 at 11:12 AM, Norbert Hartl <[hidden email]> wrote:

>
> Why is that document in the account of guille?
>
> Norbert
>
> Am 12.08.2017 um 11:47 schrieb Pavel Krivanek <[hidden email]>:
>
>
>
> 2017-08-12 11:36 GMT+02:00 Holger Freyther <[hidden email]>:
>>
>>
>> > On 26. Jun 2017, at 19:14, Pavel Krivanek <[hidden email]>
>> > wrote:
>> >
>> > Hi,
>>
>> Hey!
>>
>> thank you for this HOWTO!
>>
>> > username := 'YOUR-USER-NAME'.
>> > repository := IceRepositoryCreator new
>> >       url: '[hidden email]:pharo-project/pharo.git';
>> >       location: ('pharo-core' asFileReference ensureCreateDirectory);
>> >       subdirectory:'src';
>> >       createRepository.
>> > repository checkoutBranch: 'development'.
>> > repository register.
>> >
>> > fork := (IceRemote name: 'myFork' url: ('[hidden email]:{1}/pharo.git'
>> > format: {username})).
>> > repository addRemote: fork.
>> > repository pushRemote: fork.
>> > repository pullRemote: repository origin.
>>
>> I am using "pharo-mac-stable.zip" and
>> "Pharo-7.0.0-alpha.build.27.sha.c1c8991.arch.32bit.zip" and followed your
>> howto and run into various Iceberg issues. Where would be the best place to
>> report them?
>>
>> Open Iceberg, selech "Pharo", click on Branches
>> => Error LGit_GIT_ERROR: Reference 'HEAD' is not a local branch.
>>
>> Open Iceberg, double click on "Pharo"
>> => DNU, #/ was sent to nil
>> UndefinedObject(Object)>>doesNotUnderstand: #/
>> ... IceSavedPackage repository location seems to return nil.
>>
>>
>> Are these known? Fogbugz? Github issues of Iceberg?
>
>
> yes, because this HOWTO is already obsolete. See:
>
> https://github.com/guillep/PharoIntegrationProcess/wiki/Pharo-Development-Process
>
> -- Pavel
>
>>
>>
>>
>> cheers
>>         holger
>>
>>
>>
>>
>

123