pharo-project / pharo-launcher

Lets you manage your pharo images and download new ones
https://pharo-project.github.io/pharo-launcher/
MIT License
109 stars 46 forks source link

Create image should allow to use a short template id #647

Open demarey opened 10 months ago

demarey commented 10 months ago

For now, one should use:

pharo-launcher image create --templateName "Pharo 12.0 - 64bit (development version, latest)" newImage

It would be nice to allow:

pharo-launcher image create --templateName pharo12 newImage
Bajger commented 10 months ago

By default (without specifying template), latest stable version is used for creating image. You want to provide short template id in addition? What should be scecifics of this short id? Always latest stable?

demarey commented 10 months ago

the default will remain the same. The goal is to ease the creation of other images than the default, i.e. avoid to list templates and do a copy-paste of the template name. I will work on it. My idea is to add a short name to the template descriptions. I need to see if it will not break older versions of Pharo Launcher

demarey commented 10 months ago

The last step is to define short names in official sources.list file but it will break existing Pharo Launcher installations. We need to wait a new release of Pharo Launcher before to do this.