Hi Guys,
I'm looking for a guide on how to load a project from github but I can't find anything. Specifically I want to load the Cryptography package. Udo, told me it is on https://github.com/pharo-contributions/Cryptography, so I went to https://github.com/pharo-contributions/Cryptography but there is no documentation on how to load it. Then after some attempts, I evaluated this code: Metacello new baseline: 'Cryptography'; repository: 'github://pharo-contributions/Cryptography'; load. and it works, but I can't figure out where is the usage of Metacello with Github Thanks Francis -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html |
In reply to this post by Pharo Smalltalk Users mailing list
Hi Francis,
Yes, you usually load a project like this.
Metacello allows to define the dependencies of a project. If Cryptography relies on other projects (hosted on GitHub or somewhere else), then Metacello will load these dependencies so you end with all needed packages to get the project (in this case Cryptography) fully working. If you load the project directly with iceberg (not using the iceberg metacello plugin), you will miss project dependencies and the code will not be runnable. If a project has no dependency, Metacello still allows to define dependencies of packages inside your project to load them in the right order. More information on Metacello: http://files.pharo.org/books-pdfs/deep-into-pharo/2013-DeepIntoPharo-EN.pdf (chapter Managing projects with Metacello), https://github.com/Metacello/metacello/blob/master/docs/MetacelloUserGuide.md and https://github.com/Metacello/metacello/blob/master/docs/GettingStartedWithGitHub.md Regards, Christophe.
|
Thank you very much Christophe!
Thanks also for the links on Metacello, I've already seen them, but as you pointed out, there is no hint on the usage with Github. Perhaps it should be an instruction section here: https://pharo.org/community Cheers Francis demarey wrote > Hi Francis, > >> Le 16 juil. 2020 à 16:43, Francis via Pharo-users < > pharo-users@.pharo > > a écrit : >> >> >> De: Francis < > falzonidavide@ > > >> Objet: Metacello, Github and Cryptography >> Date: 16 juillet 2020 à 16:43:34 UTC+2 >> À: > pharo-users@.pharo >> >> >> Hi Guys, >> >> I'm looking for a guide on how to load a project from github but I can't >> find anything. >> Specifically I want to load the Cryptography package. Udo, told me it is >> on >> https://github.com/pharo-contributions/Cryptography, so I went to >> https://github.com/pharo-contributions/Cryptography but there is no >> documentation on how to load it. >> >> Then after some attempts, I evaluated this code: >> >> Metacello new >> baseline: 'Cryptography'; >> repository: 'github://pharo-contributions/Cryptography'; >> load. > > Yes, you usually load a project like this. > >> and it works, but I can't figure out where is the usage of Metacello with >> Github > > Metacello allows to define the dependencies of a project. > If Cryptography relies on other projects (hosted on GitHub or somewhere > else), then Metacello will load these dependencies so you end with all > needed packages to get the project (in this case Cryptography) fully > working. If you load the project directly with iceberg (not using the > iceberg metacello plugin), you will miss project dependencies and the code > will not be runnable. > If a project has no dependency, Metacello still allows to define > dependencies of packages inside your project to load them in the right > order. > More information on Metacello: > http://files.pharo.org/books-pdfs/deep-into-pharo/2013-DeepIntoPharo-EN.pdf > (chapter Managing projects with Metacello), > https://github.com/Metacello/metacello/blob/master/docs/MetacelloUserGuide.md > and > https://github.com/Metacello/metacello/blob/master/docs/GettingStartedWithGitHub.md > > Regards, > Christophe. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html |
On Fri, Jul 17, 2020 at 7:12 AM Francis via Pharo-users <[hidden email]> wrote: Thank you very much Christophe! |
Thank you Vitor, really comprehensive link.
Cheers Francis Vitor Medina Cruz wrote > https://github.com/pharo-open-documentation/pharo-wiki/blob/master/General/Baselines.md -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html |
In reply to this post by Pharo Smalltalk Users mailing list
Hi francis
did you look at the booklet on iceberg available at http://books.pharo.org? S
-------------------------------------------- Stéphane Ducasse 03 59 35 87 52 Assistant: Aurore Dalle FAX 03 59 57 78 50 TEL 03 59 35 86 16 S. Ducasse - Inria 40, avenue Halley, Parc Scientifique de la Haute Borne, Bât.A, Park Plaza Villeneuve d'Ascq 59650 France |
Hi Stéphane,
Thanks, I was not aware of that book. Francis Stéphane Ducasse wrote > Hi francis > > did you look at the booklet on iceberg available at > http://books.pharo.org? > > S > >> On 16 Jul 2020, at 16:43, Francis < > falzonidavide@ > > wrote: >> >> >> From: Francis < > falzonidavide@ > > >> Subject: Metacello, Github and Cryptography >> Date: 16 July 2020 at 16:43:34 CEST >> To: > pharo-users@.pharo >> >> >> Hi Guys, >> >> I'm looking for a guide on how to load a project from github but I can't >> find anything. >> Specifically I want to load the Cryptography package. Udo, told me it is >> on >> https://github.com/pharo-contributions/Cryptography, so I went to >> https://github.com/pharo-contributions/Cryptography but there is no >> documentation on how to load it. >> >> Then after some attempts, I evaluated this code: >> >> Metacello new >> baseline: 'Cryptography'; >> repository: 'github://pharo-contributions/Cryptography'; >> load. >> >> and it works, but I can't figure out where is the usage of Metacello with >> Github >> >> Thanks >> Francis >> >> >> >> -- >> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html >> >> >> > > -------------------------------------------- > Stéphane Ducasse > http://stephane.ducasse.free.fr / http://www.pharo.org > 03 59 35 87 52 > Assistant: Aurore Dalle > FAX 03 59 57 78 50 > TEL 03 59 35 86 16 > S. Ducasse - Inria > 40, avenue Halley, > Parc Scientifique de la Haute Borne, Bât.A, Park Plaza > Villeneuve d'Ascq 59650 > France -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html |
Free forum by Nabble | Edit this page |