Metacello, Github and Cryptography

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

Metacello, Github and Cryptography

Pharo Smalltalk Users mailing list
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

Reply | Threaded
Open this post in threaded view
|

Re: Metacello, Github and Cryptography

Pharo Smalltalk Users mailing list
Reply | Threaded
Open this post in threaded view
|

Re: Metacello, Github and Cryptography

demarey
In reply to this post by Pharo Smalltalk Users mailing list
Hi Francis,

Le 16 juil. 2020 à 16:43, Francis via Pharo-users <[hidden email]> a écrit :


De: Francis <[hidden email]>
Objet: Metacello, Github and Cryptography
Date: 16 juillet 2020 à 16:43:34 UTC+2


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: '<a href="github://pharo-contributions/Cryptography" class="">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.

Regards,
Christophe.
Reply | Threaded
Open this post in threaded view
|

Re: Metacello, Github and Cryptography

Pharo Smalltalk Users mailing list
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 &lt;

> pharo-users@.pharo

> &gt; a écrit :
>>
>>
>> De: Francis &lt;

> falzonidavide@

> &gt;
>> 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

Reply | Threaded
Open this post in threaded view
|

Re: Metacello, Github and Cryptography

Vitor Medina Cruz

On Fri, Jul 17, 2020 at 7:12 AM Francis via Pharo-users <[hidden email]> 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 &lt;

> pharo-users@.pharo

> &gt; a écrit :
>>
>>
>> De: Francis &lt;

> falzonidavide@

> &gt;
>> 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

Reply | Threaded
Open this post in threaded view
|

Re: Metacello, Github and Cryptography

Pharo Smalltalk Users mailing list
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

Reply | Threaded
Open this post in threaded view
|

Re: Metacello, Github and Cryptography

Stéphane Ducasse
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

On 16 Jul 2020, at 16:43, Francis <[hidden email]> wrote:


From: Francis <[hidden email]>
Subject: Metacello, Github and Cryptography
Date: 16 July 2020 at 16:43:34 CEST


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: '<a href="github://pharo-contributions/Cryptography" class="">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
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

Reply | Threaded
Open this post in threaded view
|

Re: Metacello, Github and Cryptography

Pharo Smalltalk Users mailing list
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 &lt;

> falzonidavide@

> &gt; wrote:
>>
>>
>> From: Francis &lt;

> falzonidavide@

> &gt;
>> 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