Hi Francis, > Le 16 juil. 2020 à 16:43, Francis via Pharo-users > <[email protected]> a écrit : > > > De: Francis <[email protected]> > Objet: Metacello, Github and Cryptography > Date: 16 juillet 2020 à 16:43:34 UTC+2 > À: [email protected] > > > 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.
