Hi guys,
I am trying to import code - in Pharo 6 - from a GitHub repository: https://github.com/jigyasa-grover/CORMAS-Pharo. The repository doesn't include a Baseline, and so it is not loadable using a Metacello expression right? I've tried to clone it with Iceberg with Remote URL: https://github.com/jigyasa-grover/CORMAS-Pharo.git I ended with a "Repository CORMAS-Pharo is invalid" so I wonder what's exactly is invalid? I can browse the history but I don't know if any code from that repository was already loaded in my image. The URL should be specified as the ghost text suggest? Currently the ghost text is: [hidden email]:user/project.git Should I fill the "Code subdirectory" field? Cheers, Hernán Iceberg repositories.jpeg (34K) Download Attachment |
Maybe you can ask Jigyasa in cc.
Envoyé de mon iPhone > Le 23 juil. 2017 à 22:22, Hernán Morales Durand <[hidden email]> a écrit : > > Hi guys, > > I am trying to import code - in Pharo 6 - from a GitHub repository: > https://github.com/jigyasa-grover/CORMAS-Pharo. The repository doesn't > include a Baseline, and so it is not loadable using a Metacello > expression right? > > I've tried to clone it with Iceberg with Remote URL: > https://github.com/jigyasa-grover/CORMAS-Pharo.git > > I ended with a "Repository CORMAS-Pharo is invalid" so I wonder what's > exactly is invalid? I can browse the history but I don't know if any > code from that repository was already loaded in my image. > > The URL should be specified as the ghost text suggest? Currently the > ghost text is: [hidden email]:user/project.git > > Should I fill the "Code subdirectory" field? > > Cheers, > > Hernán > <Iceberg repositories.jpeg> |
In reply to this post by hernanmd
Hi,
in fact, I think you made quite the contrary: you declared a code subdirectory that does not exits. what you need to do is to press “Edit…” button and clean anything that appears in “code subdirectory” field. also, I have no idea why you have two entries for same project :) Esteban > On 23 Jul 2017, at 23:22, Hernán Morales Durand <[hidden email]> wrote: > > Hi guys, > > I am trying to import code - in Pharo 6 - from a GitHub repository: > https://github.com/jigyasa-grover/CORMAS-Pharo. The repository doesn't > include a Baseline, and so it is not loadable using a Metacello > expression right? > > I've tried to clone it with Iceberg with Remote URL: > https://github.com/jigyasa-grover/CORMAS-Pharo.git > > I ended with a "Repository CORMAS-Pharo is invalid" so I wonder what's > exactly is invalid? I can browse the history but I don't know if any > code from that repository was already loaded in my image. > > The URL should be specified as the ghost text suggest? Currently the > ghost text is: [hidden email]:user/project.git > > Should I fill the "Code subdirectory" field? > > Cheers, > > Hernán > <Iceberg repositories.jpeg> |
> On 24 Jul 2017, at 09:10, Esteban Lorenzano <[hidden email]> wrote: > > Hi, > > in fact, I think you made quite the contrary: you declared a code subdirectory that does not exits. > what you need to do is to press “Edit…” button and clean anything that appears in “code subdirectory” field. > > also, I have no idea why you have two entries for same project :) and there is a bug on version 0.4 when cleaning repositories (because UI models are stored in a weak dictionary kept by name). so if you “forget” one, probably you will have problems unless you execute : IceAbstractModel allSubclassesDo: #clearModels. … right after forgetting the repository, with the iceberg browser closed. I’m fixing this, but that version on P6 is older (Pharo 6.1 will have a new version). Esteban > > Esteban > > >> On 23 Jul 2017, at 23:22, Hernán Morales Durand <[hidden email]> wrote: >> >> Hi guys, >> >> I am trying to import code - in Pharo 6 - from a GitHub repository: >> https://github.com/jigyasa-grover/CORMAS-Pharo. The repository doesn't >> include a Baseline, and so it is not loadable using a Metacello >> expression right? >> >> I've tried to clone it with Iceberg with Remote URL: >> https://github.com/jigyasa-grover/CORMAS-Pharo.git >> >> I ended with a "Repository CORMAS-Pharo is invalid" so I wonder what's >> exactly is invalid? I can browse the history but I don't know if any >> code from that repository was already loaded in my image. >> >> The URL should be specified as the ghost text suggest? Currently the >> ghost text is: [hidden email]:user/project.git >> >> Should I fill the "Code subdirectory" field? >> >> Cheers, >> >> Hernán >> <Iceberg repositories.jpeg> > |
In reply to this post by hernanmd
Hi Hernan,
On Sun, Jul 23, 2017 at 06:22:52PM -0300, Hern??n Morales Durand wrote: > Hi guys, > > I am trying to import code - in Pharo 6 - from a GitHub repository: > https://github.com/jigyasa-grover/CORMAS-Pharo. The repository doesn't > include a Baseline, and so it is not loadable using a Metacello > expression right? > > I've tried to clone it with Iceberg with Remote URL: > https://github.com/jigyasa-grover/CORMAS-Pharo.git > > I ended with a "Repository CORMAS-Pharo is invalid" so I wonder what's > exactly is invalid? I can browse the history but I don't know if any > code from that repository was already loaded in my image. > > The URL should be specified as the ghost text suggest? Currently the > ghost text is: [hidden email]:user/project.git > > Should I fill the "Code subdirectory" field? 1. opened Icerberg 2. pressed "Clone repository" 3. Entered https://github.com/jigyasa-grover/CORMAS-Pharo.git as the URL 4. Left the subdirectory blank (opening the repository in a browser you can see that the packages are in the top level directory) 5. Clicked Create repository 6. Selected the repository, the packages tab and loaded the ConfigurationOfComas without any problem. Pharo 6.0 Latest update: #60501 Is there an easy way to tell which version of Iceberg I have loaded? I'm sure it is 0.5.x, but not what the x is. Cheers, Alistair IcerbergComas.png (123K) Download Attachment |
In reply to this post by EstebanLM
Hi
2017-07-24 4:10 GMT-03:00 Esteban Lorenzano <[hidden email]>: > Hi, > > in fact, I think you made quite the contrary: you declared a code subdirectory that does not exits. > what you need to do is to press “Edit…” button and clean anything that appears in “code subdirectory” field. > Thanks, that fixed it. > also, I have no idea why you have two entries for same project :) > Because I clicked "Clone repository" again, and tried to fill the "Code subdirectory" with another value to see what happens :) Cheers, Hernán > Esteban > > >> On 23 Jul 2017, at 23:22, Hernán Morales Durand <[hidden email]> wrote: >> >> Hi guys, >> >> I am trying to import code - in Pharo 6 - from a GitHub repository: >> https://github.com/jigyasa-grover/CORMAS-Pharo. The repository doesn't >> include a Baseline, and so it is not loadable using a Metacello >> expression right? >> >> I've tried to clone it with Iceberg with Remote URL: >> https://github.com/jigyasa-grover/CORMAS-Pharo.git >> >> I ended with a "Repository CORMAS-Pharo is invalid" so I wonder what's >> exactly is invalid? I can browse the history but I don't know if any >> code from that repository was already loaded in my image. >> >> The URL should be specified as the ghost text suggest? Currently the >> ghost text is: [hidden email]:user/project.git >> >> Should I fill the "Code subdirectory" field? >> >> Cheers, >> >> Hernán >> <Iceberg repositories.jpeg> > > |
In reply to this post by SergeStinckwich
Hello Hernán, I guess you were able to resolve the issue. Any queries ?
Also, really glad you are playing with the CORMAS Pharo project Any vision or specific task you are planning to work ? :) Thank You Best Jigyasa Grover |
Hello Jigyasa,
For now I am reading the Cormas mailing-list and annotating requirements, issues, etc. Also I started to port the VW UI (the easy parts) to Pharo. I will post some questions on the mailing-list tomorrow. Thank you, Hernán 2017-07-24 13:30 GMT-03:00 Jigyasa Grover <[hidden email]>: > Hello Hernán, I guess you were able to resolve the issue. Any queries ? > > Also, really glad you are playing with the CORMAS Pharo project Any vision > or specific task you are planning to work ? :) > > Thank You > > Best > Jigyasa Grover > > > > -- > View this message in context: http://forum.world.st/Cloning-code-from-GitHub-using-Iceberg-tp4956481p4956569.html > Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. > |
Hello Hernán Great ! It shall be really nice to have your contributions to the project. What is your Github handle ? Perhaps I can add you as a contributor to the project on Github so that it's easy to push commits for the new UI stuff you shall be doing :) Best Jigyasa Grover Github: jigyasa-grover On Tue, Jul 25, 2017 at 12:31 AM, hernanmd [via Smalltalk] <[hidden email]> wrote: Hello Jigyasa, |
In reply to this post by alistairgrant
2017-07-24 4:29 GMT-03:00 Alistair Grant <[hidden email]>:
> Hi Hernan, > > On Sun, Jul 23, 2017 at 06:22:52PM -0300, Hern??n Morales Durand wrote: >> Hi guys, >> >> I am trying to import code - in Pharo 6 - from a GitHub repository: >> https://github.com/jigyasa-grover/CORMAS-Pharo. The repository doesn't >> include a Baseline, and so it is not loadable using a Metacello >> expression right? >> >> I've tried to clone it with Iceberg with Remote URL: >> https://github.com/jigyasa-grover/CORMAS-Pharo.git >> >> I ended with a "Repository CORMAS-Pharo is invalid" so I wonder what's >> exactly is invalid? I can browse the history but I don't know if any >> code from that repository was already loaded in my image. >> >> The URL should be specified as the ghost text suggest? Currently the >> ghost text is: [hidden email]:user/project.git >> >> Should I fill the "Code subdirectory" field? > > I just: > > 1. opened Icerberg > 2. pressed "Clone repository" > 3. Entered https://github.com/jigyasa-grover/CORMAS-Pharo.git as the URL > 4. Left the subdirectory blank (opening the repository in a browser you > can see that the packages are in the top level directory) > 5. Clicked Create repository > 6. Selected the repository, the packages tab and loaded the > ConfigurationOfComas > > without any problem. > > Pharo 6.0 > Latest update: #60501 > Thank you! This worked also in 6.1. > Is there an easy way to tell which version of Iceberg I have loaded? > I'm sure it is 0.5.x, but not what the x is. It would be nice to have something like (RPackage organizer packageNamed: 'Iceberg') version Cheers, Hernán > > Cheers, > Alistair > |
Le 24/07/2017 à 21:55, Hernán Morales Durand a écrit :
> 2017-07-24 4:29 GMT-03:00 Alistair Grant <[hidden email]>: >> Hi Hernan, >> >> On Sun, Jul 23, 2017 at 06:22:52PM -0300, Hern??n Morales Durand wrote: >>> Hi guys, >>> >>> I am trying to import code - in Pharo 6 - from a GitHub repository: >>> https://github.com/jigyasa-grover/CORMAS-Pharo. The repository doesn't >>> include a Baseline, and so it is not loadable using a Metacello >>> expression right? >>> >>> I've tried to clone it with Iceberg with Remote URL: >>> https://github.com/jigyasa-grover/CORMAS-Pharo.git >>> >>> I ended with a "Repository CORMAS-Pharo is invalid" so I wonder what's >>> exactly is invalid? I can browse the history but I don't know if any >>> code from that repository was already loaded in my image. >>> >>> The URL should be specified as the ghost text suggest? Currently the >>> ghost text is: [hidden email]:user/project.git >>> >>> Should I fill the "Code subdirectory" field? >> >> I just: >> >> 1. opened Icerberg >> 2. pressed "Clone repository" >> 3. Entered https://github.com/jigyasa-grover/CORMAS-Pharo.git as the URL >> 4. Left the subdirectory blank (opening the repository in a browser you >> can see that the packages are in the top level directory) >> 5. Clicked Create repository >> 6. Selected the repository, the packages tab and loaded the >> ConfigurationOfComas >> >> without any problem. >> >> Pharo 6.0 >> Latest update: #60501 >> > > Thank you! This worked also in 6.1. > >> Is there an easy way to tell which version of Iceberg I have loaded? >> I'm sure it is 0.5.x, but not what the x is. > > It would be nice to have something like > > (RPackage organizer packageNamed: 'Iceberg') version This information is available via Metacello, if it was properly loaded via a configuration. (MetacelloProjectRegistration registry registrationForExactClassNamed: ConfigurationOfIceberg ifAbsent: [ ]) ifNotNil: [:r | r printString] See MetacelloProjectRegistration>>#printOn: for the details of querying the spec of the project. Baselines have no version information; if there is (like in git-based scenario), it is in the repository url and one has to decrypt it. Thierry > Cheers, > > Hernán > >> >> Cheers, >> Alistair >> > > |
Free forum by Nabble | Edit this page |