issues in setting up a new project on Github/Iceberg

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

issues in setting up a new project on Github/Iceberg

Sanjay Minni
Using Pharo 8 64 bit on Windows 10

I am trying to setup a new project on Github using Iceberg following the
document  "Manage your code with Iceberg dtd 25 March 2019)

After creating the project in github when I try to clone from Github as (I
am at doc item1.4) The system throws an error and the project does not
appear in iceberg although the files are downloaded. This happen in both
cases whether I use HTTP or SSH  

What is going wrong ?

also: assuming the clone is made, as per next item in doc 1.5, the directory
"src" is created after the clone is made. is that correct ?... then how will
the packages sources be mapped to ..\src


<http://forum.world.st/file/t368721/1-GettingFirstEmptyProjFromGit.jpg>

<http://forum.world.st/file/t368721/0-GithubProjectCreation.jpg>





-----
cheers,
Sanjay
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

cheers,
Sanjay
Reply | Threaded
Open this post in threaded view
|

Re: issues in setting up a new project on Github/Iceberg

eftomi
I have the same experience.

Best wishes 
Tomaž 



Reply | Threaded
Open this post in threaded view
|

Re: issues in setting up a new project on Github/Iceberg

Guillermo Polito
In reply to this post by Sanjay Minni
Hi Sanjay,

This is a bug in Iceberg github integration that tries to access the repository to get metadata using Github REST API using anonymous access apparently.
And since your project is private, this fails.

As a workaroung, I suggest you to clone using the last option that requires an url only:


This option will not use the Github API, so you should find no problems.

I’m planning doing an Iceberg sprint and fix many issues in the coming weeks.
(Also if somebody wants to join, this is an open call :))
Guille

El 17 abr 2020, a las 12:49, Sanjay Minni <[hidden email]> escribió:

Using Pharo 8 64 bit on Windows 10

I am trying to setup a new project on Github using Iceberg following the
document  "Manage your code with Iceberg dtd 25 March 2019)

After creating the project in github when I try to clone from Github as (I
am at doc item1.4) The system throws an error and the project does not
appear in iceberg although the files are downloaded. This happen in both
cases whether I use HTTP or SSH  

What is going wrong ?

also: assuming the clone is made, as per next item in doc 1.5, the directory
"src" is created after the clone is made. is that correct ?... then how will
the packages sources be mapped to ..\src


<http://forum.world.st/file/t368721/1-GettingFirstEmptyProjFromGit.jpg>

<http://forum.world.st/file/t368721/0-GithubProjectCreation.jpg>





-----
cheers,
Sanjay
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html


Reply | Threaded
Open this post in threaded view
|

Re: issues in setting up a new project on Github/Iceberg

Sanjay Minni
Hi Guillermo,

Ok then given your comments - right now got it working  as such
  - initially created as private in Github
  - changed to public
  - created clone from github
  - (did a repair repository (dont know why)  and created "src" and designated it as source folder)
  - did a commit and push
  - changed repository back to private
seems to work
   
can you give an example on how the "Remote URL" field is to be filled up - note its not taking HTTP as i am not sure about the syntax, assume SSH, Github, MyName, MyRepository, 
will try that as well

note Just for Info to other users: 
I am using Windows 10, it seems to have SSH tools inbuilt and was able to use ssh (with passphrase) without hiccup, by putting my key files path in pharo setting-> ...-> use custom SSH keys, and uploading the .pub key in Github

---
Sanjay Minni
+91-9900-902902


On Fri, 17 Apr 2020 at 18:36, Guillermo Polito <[hidden email]> wrote:
Hi Sanjay,

This is a bug in Iceberg github integration that tries to access the repository to get metadata using Github REST API using anonymous access apparently.
And since your project is private, this fails.

As a workaroung, I suggest you to clone using the last option that requires an url only:


This option will not use the Github API, so you should find no problems.

I’m planning doing an Iceberg sprint and fix many issues in the coming weeks.
(Also if somebody wants to join, this is an open call :))
Guille

El 17 abr 2020, a las 12:49, Sanjay Minni <[hidden email]> escribió:

Using Pharo 8 64 bit on Windows 10

I am trying to setup a new project on Github using Iceberg following the
document  "Manage your code with Iceberg dtd 25 March 2019)

After creating the project in github when I try to clone from Github as (I
am at doc item1.4) The system throws an error and the project does not
appear in iceberg although the files are downloaded. This happen in both
cases whether I use HTTP or SSH  

What is going wrong ?

also: assuming the clone is made, as per next item in doc 1.5, the directory
"src" is created after the clone is made. is that correct ?... then how will
the packages sources be mapped to ..\src


<http://forum.world.st/file/t368721/1-GettingFirstEmptyProjFromGit.jpg>

<http://forum.world.st/file/t368721/0-GithubProjectCreation.jpg>





-----
cheers,
Sanjay
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html


cheers,
Sanjay
Reply | Threaded
Open this post in threaded view
|

Re: issues in setting up a new project on Github/Iceberg

Guillermo Polito
Hi,

El 17 abr 2020, a las 15:30, Sanjay Minni <[hidden email]> escribió:

Hi Guillermo,

Ok then given your comments - right now got it working  as such
  - initially created as private in Github
  - changed to public
  - created clone from github
  - (did a repair repository (dont know why)  and created "src" and designated it as source folder)
  - did a commit and push
  - changed repository back to private
seems to work
   
can you give an example on how the "Remote URL" field is to be filled up - note its not taking HTTP as i am not sure about the syntax, assume SSH, Github, MyName, MyRepository, 
will try that as well

you should be able to use the URLs provided by the clone buttons in Github/gitlab/bitbucket, both https and ssh.



note Just for Info to other users: 
I am using Windows 10, it seems to have SSH tools inbuilt and was able to use ssh (with passphrase) without hiccup, by putting my key files path in pharo setting-> ...-> use custom SSH keys, and uploading the .pub key in Github

:)

Thanks

---
Sanjay Minni
+91-9900-902902


On Fri, 17 Apr 2020 at 18:36, Guillermo Polito <[hidden email]> wrote:
Hi Sanjay,

This is a bug in Iceberg github integration that tries to access the repository to get metadata using Github REST API using anonymous access apparently.
And since your project is private, this fails.

As a workaroung, I suggest you to clone using the last option that requires an url only:

<PastedGraphic-3.png>

This option will not use the Github API, so you should find no problems.

I’m planning doing an Iceberg sprint and fix many issues in the coming weeks.
(Also if somebody wants to join, this is an open call :))
Guille

El 17 abr 2020, a las 12:49, Sanjay Minni <[hidden email]> escribió:

Using Pharo 8 64 bit on Windows 10

I am trying to setup a new project on Github using Iceberg following the
document  "Manage your code with Iceberg dtd 25 March 2019)

After creating the project in github when I try to clone from Github as (I
am at doc item1.4) The system throws an error and the project does not
appear in iceberg although the files are downloaded. This happen in both
cases whether I use HTTP or SSH  

What is going wrong ?

also: assuming the clone is made, as per next item in doc 1.5, the directory
"src" is created after the clone is made. is that correct ?... then how will
the packages sources be mapped to ..\src


<http://forum.world.st/file/t368721/1-GettingFirstEmptyProjFromGit.jpg>

<http://forum.world.st/file/t368721/0-GithubProjectCreation.jpg>





-----
cheers,
Sanjay
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



Reply | Threaded
Open this post in threaded view
|

Re: issues in setting up a new project on Github/Iceberg

Pharo Smalltalk Users mailing list
In reply to this post by Sanjay Minni
I usually clone, using the command line. And then, I add a repo in Iceberg that points to the repository.

Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



On 17-04-2020, at 06:49, Sanjay Minni <[hidden email]> wrote:

Using Pharo 8 64 bit on Windows 10

I am trying to setup a new project on Github using Iceberg following the
document  "Manage your code with Iceberg dtd 25 March 2019)

After creating the project in github when I try to clone from Github as (I
am at doc item1.4) The system throws an error and the project does not
appear in iceberg although the files are downloaded. This happen in both
cases whether I use HTTP or SSH  

What is going wrong ?

also: assuming the clone is made, as per next item in doc 1.5, the directory
"src" is created after the clone is made. is that correct ?... then how will
the packages sources be mapped to ..\src


<http://forum.world.st/file/t368721/1-GettingFirstEmptyProjFromGit.jpg>

<http://forum.world.st/file/t368721/0-GithubProjectCreation.jpg>





-----
cheers,
Sanjay
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html


Reply | Threaded
Open this post in threaded view
|

Re: issues in setting up a new project on Github/Iceberg

Sanjay Minni
In reply to this post by Guillermo Polito
Thanks tried just https and this worked too
I suppose once cloned it does not really matter whether it was done using "clone from github.com" or "clone remote repository"
---
Sanjay Minni
+91-9900-902902


On Fri, 17 Apr 2020 at 19:43, Guillermo Polito <[hidden email]> wrote:
Hi,

El 17 abr 2020, a las 15:30, Sanjay Minni <[hidden email]> escribió:

Hi Guillermo,

Ok then given your comments - right now got it working  as such
  - initially created as private in Github
  - changed to public
  - created clone from github
  - (did a repair repository (dont know why)  and created "src" and designated it as source folder)
  - did a commit and push
  - changed repository back to private
seems to work
   
can you give an example on how the "Remote URL" field is to be filled up - note its not taking HTTP as i am not sure about the syntax, assume SSH, Github, MyName, MyRepository, 
will try that as well

you should be able to use the URLs provided by the clone buttons in Github/gitlab/bitbucket, both https and ssh.



note Just for Info to other users: 
I am using Windows 10, it seems to have SSH tools inbuilt and was able to use ssh (with passphrase) without hiccup, by putting my key files path in pharo setting-> ...-> use custom SSH keys, and uploading the .pub key in Github

:)

Thanks

---
Sanjay Minni
+91-9900-902902


On Fri, 17 Apr 2020 at 18:36, Guillermo Polito <[hidden email]> wrote:
Hi Sanjay,

This is a bug in Iceberg github integration that tries to access the repository to get metadata using Github REST API using anonymous access apparently.
And since your project is private, this fails.

As a workaroung, I suggest you to clone using the last option that requires an url only:

<PastedGraphic-3.png>

This option will not use the Github API, so you should find no problems.

I’m planning doing an Iceberg sprint and fix many issues in the coming weeks.
(Also if somebody wants to join, this is an open call :))
Guille

El 17 abr 2020, a las 12:49, Sanjay Minni <[hidden email]> escribió:

Using Pharo 8 64 bit on Windows 10

I am trying to setup a new project on Github using Iceberg following the
document  "Manage your code with Iceberg dtd 25 March 2019)

After creating the project in github when I try to clone from Github as (I
am at doc item1.4) The system throws an error and the project does not
appear in iceberg although the files are downloaded. This happen in both
cases whether I use HTTP or SSH  

What is going wrong ?

also: assuming the clone is made, as per next item in doc 1.5, the directory
"src" is created after the clone is made. is that correct ?... then how will
the packages sources be mapped to ..\src


<http://forum.world.st/file/t368721/1-GettingFirstEmptyProjFromGit.jpg>

<http://forum.world.st/file/t368721/0-GithubProjectCreation.jpg>





-----
cheers,
Sanjay
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



cheers,
Sanjay