Hi Guille,

To add a new formula just compile a new method with the pragma <formula: #mycategory> in PackageFormulas. The class side of PackageFormulas has all the formulas as methods.
There should be some primitive form of "help" in there to write a formula, but it is just a matter of pasting your install expression:

Screen Shot 2022-08-16 at 14.11.36.png


Let me know any suggestions.

Cheers,

Hern��n

El mar, 16 ago 2022 a las 11:27, Guillermo Polito (<guillermopolito@gmail.com>) escribi��:
Hi Hern��n,

Thanks, it looks very interesting!

How do you add a new formula? I couldn���t find any info on where formulas are fetched from in the readme (there is a bullet on ���where they are *not* fetched��� but���).

G

El 12 ago 2022, a las 8:47, Hern��n Morales Durand <hernan.morales@gmail.com> escribi��:

Hi everyone,

I have spent some time creating a new package manager UI for Pharo 10 to simplify package finding and installation. It is a Spec application which introduces a new concept: Package Formulas. These are just annotated methods with an installation expression, so they do not depend on Metacello, Gofer, Pakbot or any other package manager.

Some features are:

- Package Formulas already includes a predefined set of categorized formulas.
- UI allows you to install packages in bulk.
- It is simple to create a script from selections.
- Scripts can be decorated with pre, post, and wrapper actions.
- You can request to list your own or recommended formulas by opening issues from the UI.
�� - Then the package formula will be reviewed to avoid naming conflicts, and to prevent adding broken formulas.
�� - The UI could be used with a custom container of your favorite, validated, isolated or private formulas.
- (Currently) it does not automatically collect packages from remote repositories or query on-line servers, however, you can easily jump to browse a selected project homepage.
- License is MIT.


Hope you like it.
Best,

Hern��n