Re: [Pharo-users] Metacello, Github and Cryptography
https://github.com/pharo-open-documentation/pharo-wiki/blob/master/General/B... On Fri, Jul 17, 2020 at 7:12 AM Francis via Pharo-users < pharo-users@lists.pharo.org> wrote:
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.m...
and
https://github.com/Metacello/metacello/blob/master/docs/GettingStartedWithGi...
Regards, Christophe.
-- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Thank you Vitor, really comprehensive link. Cheers Francis Vitor Medina Cruz wrote
https://github.com/pharo-open-documentation/pharo-wiki/blob/master/General/B...
-- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
participants (2)
-
Francis -
Vitor Medina Cruz