Hi,

Another project that have save us from installation pains on several
heterogeneous environments while giving workshops (including machines
with several Linux flavors and Mac OS X, but not Windows) is Nix[1].
There is even a package for Pharo[2].

[1] https://nixos.org/nix/
[2]
https://nixos.org/releases/tmp/release-nixos-unstable-small/nixos-18.09pre134110.a7af5d4f88f/unpack/nixos-18.09pre134110.a7af5d4f88f/pkgs/development/pharo/vm/vms.nix

Cheers,

Offray

On 9/7/18 10:07 AM, Guillermo Polito wrote:
> Hi all,
>
> Nope, I'm not maintaining my package. I was experimenting with it at
> some point (2 years ago?) and then saw somebody else started with a
> more complete solution so I've not continued working on it.
>
> Personally, I've experienced the same sandboxing problems stated by
> Alistair, plus the fact that at that moment Snap was not working in
> *nixes other than Ubuntu made me put my energy somewhere else.
>
> Three points more:
>  - for those that do not know exactly what we are talking about, snap
> is "new" a packaging tool used in ubuntu. I strongly believe that we
> could use some kind of tool like this for the VM, but not for image
> (which are mutable).
>  - it could maybe make more sense to package the pharo launcher? ;)
>  - rather than snaps, I'd put my 2cents on a solution
> like https://github.com/probonopd/appimagekit/. I've been following it
> for two years and it has a lot of movement and getting mature.
>
> On Fri, Aug 24, 2018 at 6:18 PM Alistair Grant <akgrant0...@gmail.com
> <mailto:akgrant0...@gmail.com>> wrote:
>
>     Hi Hannes,
>
>     On Fri, 24 Aug 2018 at 06:36, H. Hirzel <hannes.hir...@gmail.com
>     <mailto:hannes.hir...@gmail.com>> wrote:
>     >
>     > Hello Alistair
>     >
>     > Thank you for the detailed answer. I understand that at the moment
>     > going for a Pharo snap package does not seem to be useful.
>     >
>     > In particular as a Pharo installation may reside in a directory with
>     > everything included.
>     > So different Pharo installations may reside in different
>     directories.
>
>     Yep.  Especially if using the in-development version of Pharo
>     (currently 7), I find it useful to pair images and VMs.
>
>
>     > I think where snap still might come is for solutions which require
>     > more than a particular Pharo installation.
>     >
>     > For example I could think of combining a particular Pharo
>     version with
>     > a particular Jupyter notebook installation into a snap which could
>     > lead to a  web based 'Dynabook' solution.
>
>     That was one of the things that attracted me to snaps originally, I
>     use sqlite in my daily environment, so included it in the Pharo snap.
>
>
>     > I am also looking forward to Guille's answer.
>
>     +1.
>
>     Cheers,
>     Alistair
>
>
>     > Regards
>     > Hannes
>     >
>     > On 8/23/18, Alistair Grant <akgrant0...@gmail.com
>     <mailto:akgrant0...@gmail.com>> wrote:
>     > > Hi Hannes,
>     > >
>     > > On Wed, 22 Aug 2018 at 17:20, H. Hirzel
>     <hannes.hir...@gmail.com <mailto:hannes.hir...@gmail.com>> wrote:
>     > >>
>     > >> Hello
>     > >>
>     > >> Are there plans to do a Pharo 6.1  snap package in the upcoming
>     > >> months? (Ubuntu 18.04.1)
>     > >
>     > > I haven't been thinking about it really, because:
>     > >
>     > > - The big attraction for me was the ability to easily run 32
>     bit Pharo
>     > > on a 64 bit OS without installing all the dependencies.  But
>     now that
>     > > 64 bit Pharo is stable that driver has largely gone.
>     > > - The sandboxing is quite limiting for a development
>     environment, so
>     > > if you want to run commands on the localhost you end up doing
>     > > something like ssh'ing the command to localhost.
>     > > - The snap runtime environment is still quite immature - I've
>     had to
>     > > deal with bugs in snapd, the gtk desktop interface, loading 32 bit
>     > > executables, etc.
>     > > - The snapcraft build environment is still evolving, so I have
>     to keep
>     > > up with the changes.
>     > > - I was originally compiling the 32 and 64 bit VMs as part of the
>     > > build process, but that is problematic as the 32 and 64 bit
>     libraries
>     > > tend to interfere with each other making the build process
>     unstable.
>     > > - You can't run multiple versions of a snap on one system, e.g. we
>     > > can't have Pharo 6 and Pharo 7 installed simultaneously under
>     the one
>     > > snap name (pharo).  I tried to register Pharo7 so pharo could
>     be the
>     > > GA version (6), but never got a response.
>     > >
>     > > I was listening to an Ubuntu podcast just this week where one
>     of the
>     > > hosts tried installing 4 packages via snaps and ended up going
>     back to
>     > > debian packages for 3 of the packages due to problems, so it
>     obviously
>     > > still isn't mature.
>     > >
>     > > I realise that every software package has its own issues, I'm sure
>     > > someone from the snap community could find parallel issues
>     with Pharo,
>     > > but it wasn't where I wanted to be spending all my time.
>     > >
>     > > If someone wants to take it over, I'm more than happy to pass
>     it on
>     > > (although it isn't building at the moment due to changes in
>     > > snapcraft).
>     > >
>     > > If there is enough interest I'll try and update it to run
>     Pharo 6.1.
>     > >
>     > > If Guille is actively maintaining his package, maybe we should
>     move to
>     > > that (I haven't looked at it).
>     > >
>     > > Cheers,
>     > > Alistair
>
>
>
> -- 
>
>    
>
>       
>
> Guille Polito
>
> Research Engineer
>
> Centre de Recherche en Informatique, Signal et Automatique de Lille
>
> CRIStAL - UMR 9189
>
> French National Center for Scientific Research - _http://www.cnrs.fr_
>
>
> *Web:* _http://guillep.github.io_
>
> *Phone: *+33 06 52 70 66 13
>

Reply via email to