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. https://github.com/hernanmd/package-formulas Hope you like it. Best, Hernán
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.
https://github.com/hernanmd/package-formulas <https://github.com/hernanmd/package-formulas>
Hope you like it. Best,
Hernán
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: [image: 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.
https://github.com/hernanmd/package-formulas
Hope you like it. Best,
Hernán
participants (2)
-
Guillermo Polito -
Hernán Morales Durand