From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Lepiller Subject: Re: Feature requests Date: Fri, 22 Mar 2019 23:30:10 +0100 Message-ID: <6BE771AB-3457-4FE6-87C3-98CCC4166083@lepiller.eu> References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----7I8DEXPIEPZ6LBW5PZZEJE387BWN8I" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:47563) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h7Shg-0000rO-Qv for guix-devel@gnu.org; Fri, 22 Mar 2019 18:31:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h7Sha-0006po-V8 for guix-devel@gnu.org; Fri, 22 Mar 2019 18:31:52 -0400 Received: from lepiller.eu ([89.234.186.109]:47872) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h7ShC-0004Sb-Hj for guix-devel@gnu.org; Fri, 22 Mar 2019 18:31:50 -0400 In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org, Joshua Marshall ------7I8DEXPIEPZ6LBW5PZZEJE387BWN8I Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi! I'm not sure what you mean when you talk about incompatible packages, mayb= e you could give a concrete example? I don't think there's anyching that co= uldn't go to the store at least=E2=80=A6 So you can always create separate = profiles=2E That said, I think people are working on improving the network support in = guix environment containers, and I think it's a good thing :)=2E I'm not su= re about cgroups, but our environments already provide quite a bit of isola= tion=2E Have you tried "guix environment --ad-hoc python --container" for i= nstance? There are more options to control what parts of the file system is= available inside the container=2E Le 22 mars 2019 18:47:19 GMT+01:00, Joshua Marshall a =C3=A9crit : >Hello all, > >I was told in IRC to post my possibly unreasonable feature requests >here=2E > >I've been thinking more on what Guix might be able to do, and what >would >make it more useful for a few of my past jobs=2E I'd like to see it take >on >the ability to have a per-installation target cgroup, network >namespace, >and filesystem chroot settings set with defaults which are overridable >at >invocation=2E In this way, a user could install and use packages with >mutually incompatible dependencies (I talked about this with a few >people >on IRC) like what happens with python=2E If this kind of functionality >were >added, it would largely supplant Docker, virtualenv, pip, poetry, apk, >pacman, and probably a few other tools at my company which are there >just >to handle this kind of frailness=2E From this, I could also see an entry >point to adding build module support to start to replace tools like >Make, >CMake, Meson, Bazel, and so on=2E > >These expand the scope of Guix quite a bit, but I think these are >needed >for it to really feel logically complete=2E Does all this make sense? > >--=20 > > > >Please be advised that this email may contain confidential information=2E > >If you are not the intended recipient, please notify us by email by=20 >replying to the sender and delete this message=2E The sender disclaims >that=20 >the content of this email constitutes an offer to enter into, or the=20 >acceptance of, any agreement; provided that the foregoing does not=20 >invalidate the binding effect of any digital or other electronic=20 >reproduction of a manual signature that is included in any attachment=2E > > >=20 >=C2=A0=C2=A0=20 >=C2=A0=C2=A0=20 > --=20 Envoy=C3=A9 de mon appareil Android avec Courriel K-9 Mail=2E Veuillez exc= user ma bri=C3=A8vet=C3=A9=2E ------7I8DEXPIEPZ6LBW5PZZEJE387BWN8I Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi!

I'm not sure what you mean when you tal= k about incompatible packages, maybe you could give a concrete example? I d= on't think there's anyching that couldn't go to the store at least=E2=80=A6= So you can always create separate profiles=2E

That said, I think pe= ople are working on improving the network support in guix environment conta= iners, and I think it's a good thing :)=2E I'm not sure about cgroups, but = our environments already provide quite a bit of isolation=2E Have you tried= "guix environment --ad-hoc python --container" for instance? There are mor= e options to control what parts of the file system is available inside the = container=2E

Le 22 mars 2019 18:47:19 GMT= +01:00, Joshua Marshall <j=2Emarshall@arroyo=2Eio> a =C3=A9crit :
Hello all,

I was told in IR= C to post my possibly unreasonable feature requests here=2E

<= /div>
I've been thinking more on what Guix might be able to do, and wha= t would make it more useful for a few of my past jobs=2E  I'd like to = see it take on the ability to have a per-installation target cgroup, networ= k namespace, and filesystem chroot settings set with defaults which are ove= rridable at invocation=2E  In this way, a user could install and use p= ackages with mutually incompatible dependencies (I talked about this with a= few people on IRC) like what happens with python=2E  If this kind of = functionality were added, it would largely supplant Docker, virtualenv, pip= , poetry, apk, pacman, and probably a few other tools at my company which a= re there just to handle this kind of frailness=2E  From this, I could = also see an entry point to adding build module support to start to replace = tools like Make, CMake, Meson, Bazel, and so on=2E

These expand the scope of Guix quite a bit, but I think these are needed f= or it to really feel logically complete=2E  Does all this make sense?<= br>


Please be advised that this em= ail may conta= in confidential information=2E If you are not the intended recipient, pleas= e notify us by email by replying to the sender and delete this message=2E T= he sender disclaims that the content of this email constitutes an offer to = enter into, or the acceptance of, any agreement; provided that the foregoin= g does not invalidate the binding effect of any digital or other electronic= reproduction of a manual signature that is included in any attachment=2E

    
<= br>--
Envoy=C3=A9 de mon appareil Android avec Courriel K-9 Mail=2E Veu= illez excuser ma bri=C3=A8vet=C3=A9=2E ------7I8DEXPIEPZ6LBW5PZZEJE387BWN8I--