[ANN] Fari — a shell tool to fetch & prepare your fresh images

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

[ANN] Fari — a shell tool to fetch & prepare your fresh images

Damien Pollet
Here it is, tell me what you think: https://github.com/cdlm/fari.sh

We discussed it with Christophe and of course there is some overlap with PharoLauncher, and in the future, it might get replaced by a command-line version of PharoLauncher based on Clap.

But for the moment it works and fits my twisted mind better 😁

--
Damien Pollet
type less, do more [ | ] http://people.untyped.org/damien.pollet
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Fari — a shell tool to fetch & prepare your fresh images

hernanmd
Hi Damien,

Thanks for sharing this. This is what I did using mingw:

$ wget https://github.com/cdlm/fari.sh/raw/master/fari.sh
$ cat > .load.st
Metacello new baseline: 'CCBC';
  repository: 'gitlocal://./src';
  load.
$ ./fari.sh
ls: cannot access './*.load.st': No such file or directory

You may need to add a shell option in the script to include hidden file names in expansions

shopt -s dotglob

then

$./fari.sh: line 176: ./pharo-ui: No such file or directory

$ ll
total 31861
drwxr-xr-x 1 mvs 197609        0 Jan 19 16:30  BaselineOfCCBC.package
drwxr-xr-x 1 mvs 197609        0 Jan 19 16:44  CCBC.package
drwxr-xr-x 1 mvs 197609        0 Jan 19 16:30  CCBC-Core.package
-rw-r--r-- 1 mvs 197609    76951 Jan 19 16:30 'Collections - Strings.png'
-rwxr-xr-x 1 mvs 197609     7399 Jan 19 16:53  fari.sh
-rw-r--r-- 1 mvs 197609    44415 Jan 19 16:30 'Iceberg Class Critiques (Pharo 6.1).png'
-rw-r--r-- 1 mvs 197609     1100 Jan 19 16:30  LICENSE
-rw-r--r-- 1 mvs 197609 32371497 Jan 19 16:55  Pharo7.0-32bit-e359bc0.sources
-rw-r--r-- 1 mvs 197609      549 Jan 19 16:30  README.md
-rw-r--r-- 1 mvs 197609   101557 Jan 19 16:30 'Spec Method Critiques (Pharo 6.1).png'

I don't know but only sources file was downloaded.

Cheers,

Hernán



2018-01-19 15:02 GMT-03:00 Damien Pollet <[hidden email]>:
Here it is, tell me what you think: https://github.com/cdlm/fari.sh

We discussed it with Christophe and of course there is some overlap with PharoLauncher, and in the future, it might get replaced by a command-line version of PharoLauncher based on Clap.

But for the moment it works and fits my twisted mind better 😁

--
Damien Pollet
type less, do more [ | ] http://people.untyped.org/damien.pollet

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Fari — a shell tool to fetch & prepare your fresh images

Damien Pollet

Le ven. 19 janv. 2018 à 20:59, Hernán Morales Durand <[hidden email]> a écrit :
$ ./fari.sh
ls: cannot access './*.load.st': No such file or directory

You may need to add a shell option in the script to include hidden file names in expansions

shopt -s dotglob

Ah no, this is about nullglob. I used it somewhere else but missed that spot. Will have a look later this evening.

$./fari.sh: line 176: ./pharo-ui: No such file or directory

Missing feature 😅 you’ll have to get the VM with zeroconf for now.

I don't know but only sources file was downloaded.

Expected: the script stops as soon as a problem os encountered.

2018-01-19 15:02 GMT-03:00 Damien Pollet <[hidden email]>:
Here it is, tell me what you think: https://github.com/cdlm/fari.sh

We discussed it with Christophe and of course there is some overlap with PharoLauncher, and in the future, it might get replaced by a command-line version of PharoLauncher based on Clap.

But for the moment it works and fits my twisted mind better 😁

--
Damien Pollet
type less, do more [ | ] http://people.untyped.org/damien.pollet

--
Damien Pollet
type less, do more [ | ] http://people.untyped.org/damien.pollet
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Fari — a shell tool to fetch & prepare your fresh images

Stephane Ducasse-3
In reply to this post by Damien Pollet


On Fri, Jan 19, 2018 at 7:02 PM, Damien Pollet <[hidden email]> wrote:
Here it is, tell me what you think: https://github.com/cdlm/fari.sh

We discussed it with Christophe and of course there is some overlap with PharoLauncher, and in the future, it might get replaced by a command-line version of PharoLauncher based on Clap.

Yes we want that too. 
Guille was talking about this too :)

Stef 

But for the moment it works and fits my twisted mind better 😁

--
Damien Pollet
type less, do more [ | ] http://people.untyped.org/damien.pollet