A friendlier API for operating-system declarations

2023-03-23 Thread Edouard Klein
Dear Guixers, For my clients and my own use, I use a layer on top of operating-system declarations in which I create functions that take an os as a first argument, and return an os. With the help of the handy -> macro, I can chain them, thus allowing an easy stacking of multiple "roles" or "funct

Re: A friendlier API for operating-system declarations

2023-03-23 Thread Edouard Klein
Hi Josselin, Josselin Poiret writes: > [[PGP Signed Part:Undecided]] > Hi Edouard, > > Edouard Klein writes: > >> #+begin_src scheme >> (-> >> (minimal-ovh "ssh-rsa AAASomethingSomething== root@minimal-ovh") >> (http-static-content "

Re: A friendlier API for operating-system declarations

2023-05-18 Thread Edouard Klein
Hi ! Ludovic Courtès writes: > Hi Edouard, > > Edouard Klein skribis: > >> For my clients and my own use, I use a layer on top of operating-system >> declarations in which I create functions that take an os as a first >> argument, and return an os. >> >&

Can we provide another UI for patches than just email ?

2023-09-14 Thread Edouard Klein
Dear Guix, I've just blown up Guix's debbugs by opening (and then closing) 33 bugs instead of sending a 33-commits patch series. I've also seen that there is a huge discussion on the cognitive overhead of contributing. I will read it as soon as I can spare more time on this. I find git email's w

Re: Can we provide another UI for patches than just email ?

2023-09-14 Thread Edouard Klein
to explain that email workflow is not so much different and > the main annoyances you point come from Debbugs and not emails, > somehow. :-) > > On Thu, 14 Sep 2023 at 10:51, Edouard Klein wrote: > >> Before anybody tries to explain to me that git send-email is easier than >&

Re: Not sure my patch reached guix-patches

2020-05-12 Thread Edouard Klein
Never mind, I just got the answer from the automated system with the bug number and I see it in the archive now. It just takes a little more time than I expected. Sorry for the noise. Edouard Klein writes: > Hi all, > > I've sent my first patch (adding a Python package) to th

Not sure my patch reached guix-patches

2020-05-12 Thread Edouard Klein
Hi all, I've sent my first patch (adding a Python package) to the guix-patches mailing list as instructed in the documentation, but I don't see my message in the list archive https://lists.gnu.org/archive/html/guix-patches/2020-05/index.html and I don't have any acknowledgment of the message. I

Re: Not sure my patch reached guix-patches

2020-05-12 Thread Edouard Klein
Well thanks for spam-checking, that's an arduous job :) ! Cheers, Edouard. Tobias Geerinckx-Rice writes: > Edouard, > > Thanks for patching Guix! > > Edouard Klein 写道: >> Never mind, I just got the answer from the automated system with the bug >> number and I se

What to do when udpating a package ?

2020-05-15 Thread Edouard Klein
Dear Guix Developers, I have a few beginner questions. Attached to this email you will find the "reverse-package" graph of python-prompt-toolkit. reverse.pdf Description: Adobe PDF document I am updating it from version 2.0.7 to version 3.0.5 because python-questionary (which I'm trying to add

Re: What to do when udpating a package ?

2020-05-15 Thread Edouard Klein
Hi Julien, Thank you for your answer. Julien Lepiller writes: > Le 15 mai 2020 03:20:06 GMT-04:00, Edouard Klein a > écrit : >>Dear Guix Developers, >> >>I have a few beginner questions. >>Attached to this email you will find the "reverse-package"

Re: What to do when udpating a package ?

2020-05-15 Thread Edouard Klein
zimoun writes: > Dear Edouard, > > In complement to what Julien said. :-) > > > On Fri, 15 May 2020 at 13:36, Edouard Klein wrote: > >> - Some packages would not build, for reasons unrelated to the update of >> python-prompt-toolkit. Namely: >> - fdr

What is guix-package-cache ?

2020-05-26 Thread Edouard Klein
Hi all ! I'm working on packaging some software. Because I'm not done submitting my patches to the official guix, but I still need to use my new packages I've created a git repo where I push my edits. I've created a channel to use this git repo instead of the official guix repo. When I tried to

Re: What is guix-package-cache ?

2020-05-26 Thread Edouard Klein
Hi Tobias, Tobias Geerinckx-Rice writes: > Afternoon Edouard, > > Edouard Klein 写道: >> I don't understand why guix feels the need to try to build it. > > So Guix isn't trying to build any packages (yet), just complaining that you're > still using p

A script to check an edit does not break anything

2020-06-11 Thread Edouard Klein
Dear Guixers, I recently broke jupyter while updating python-prompt-toolkit (a mistake I'm still trying to fix...) despite doing my best to follow the instructions of the manual: https://guix.gnu.org/manual/en/html_node/Packaging-Guidelines.html https://guix.gnu.org/manual/en/html_node/Submitting-

Re: A script to check an edit does not break anything

2020-06-11 Thread Edouard Klein
RASH_DIRECTORY/$(echo $package | sed 's/\(.*\)@/\1'/)-tmp-profile" test_expect_success "Install dependent $package" " guix environment guix --pure -- ${SHARNESS_BUILD_DIRECTORY}/pre-inst-env \ guix install --profile=\"${profile}\" ${pack

Re: generate commit messages for package updates

2020-06-12 Thread Edouard Klein
Thank you Ricardo ! Writing commit messages by hand is a major pain, especially for newcommers like me. For simple commits it took me more time to write the message than to write the code. The mistakes I made writing the commit messages made the reviewers lose time correcting them. Automating this

Re: GNU Guix maintainer rotation

2022-01-08 Thread Edouard Klein
Thank you Ludovic and Marius :) And good luck to Efraim ! Maxim Cournoyer writes: > Hello Guix! > > I'd like to bring your attention to a change to the current Guix > maintainers collective; in a nutshell, Ludovic and Marius are stepping > down from maintainer-ship while Efraim is joining. > >

Re: Moment de convivialité Guix@Paris en octobre

2023-11-05 Thread Edouard Klein
Je souhaite venir également :) J'avais raté l'annonce pour octobre. J'aurais deux trucs à présenter: - Du sucre syntaxique pour instancier, étendre, modifier, ou supprimer des services, - Comment monter des systèmes de fichier 9P au sein d'un guix container. C'est pas super formel, ce sont des re

Syntactic Diabetes (was Re: A friendlier API for operating-system declarations)

2023-11-24 Thread Edouard Klein
system pam)) (define-os-macros-for pam-root) (use-modules (gnu system pam)) (define-os-macros-for session-environment) (use-modules (gnu system shadow)) (define-os-macros-for account) (use-modules (gnu tests)) (define-os-macros-for marionette) (use-modules (guix scripts publish)) (define-os-macros-for

Re: Syntactic Diabetes (was Re: A friendlier API for operating-system declarations)

2023-11-26 Thread Edouard Klein
Thank you Liliana and Attila for the swift and actionable feedback :) Below is a revised proposition. Here is a minimal working example of an os declaration: --mwe.scm--- (use-modules (beaver system) (beaver functional-services) (gnu packages version-control) (gnu

Re: Syntactic Diabetes (was Re: A friendlier API for operating-system declarations)

2023-11-26 Thread Edouard Klein
Liliana Marie Prikler writes: >>     (instantiate nginx) > I do wish you spelled out service. Also, instantiate takes as much > characters to type as add-service. > Done, see below. I was worried about the paronymy between add-service and add-services which already exists. I defer to you and y

Re: Moment de convivialité Guix@Paris en nov… euh… décembre

2023-12-08 Thread Edouard Klein
Merci d'avoir organisé tout ça :) Tanguy LE CARROUR writes: > Bonjour Guix, > > Merci à ceux qui ont bravé les intempéries et les transports parisiens > pour venir hier soir ! Et, surtout merci à ceux qui, présents ou à > distance, on partagé leur travail, leurs découvertes ou leurs problèmes, >

Re: Guix Days: Patch flow discussion

2024-02-06 Thread Edouard Klein
I, for one, would be willing to review patches, hoping that in turn my patches would be reviewed instead of staying in limbo forever, which is a drag on me submitting more patches. Is there a procedure to follow, or do I just start replying "LGTM" to patch email threads ? Cheers, Edouard. Steve

Re: Guix Days: Patch flow discussion

2024-02-09 Thread Edouard Klein
Skyler Ferris writes: > On 2/6/24 05:39, Steve George wrote: >> I agreed to organise some 'patch review' online sessions in the next couple >> of >> weeks. >> >> Organising a basic process is a good topic for that online session. For >> example, elsewhere in the thread someone mentions some ta

Re: Introducing Guix "Features"! (Was: Syntactic Diabetes)

2024-02-18 Thread Edouard Klein
Weighting in here, as small as my weight may be: - re-using 'service' is IMHO a bad idea, it is a loaded term and the expectation of a new reader is that a service is a SysV-init service: it can be started, status-ed, stopped, restarted, and that's it. It maps to a daemon running in the back

guix --container is RAM hungry

2024-03-21 Thread Edouard Klein
Dear Guixers, I'm a huge fan of guix --container, and I created a system to use those by default for network services. But the VPS these services run on has only 2GB of RAM, and I just realized that a container, by default, requires at least 200MB. Try it: guix shell time which -- bash -c "$(whic

Re: guix --container is RAM hungry

2024-04-02 Thread Edouard Klein
Maxim Cournoyer writes: > Hi Ludovic, > > Ludovic Courtès writes: > >> Hi Edouard, >> >> Edouard Klein skribis: >> >>> I'm a huge fan of guix --container, and I created a system to use those >>> by default for network services. But t

A paper about Plan 9 and Guix

2024-04-04 Thread Edouard Klein
Dear Guix developers, A paper of mine has been accepted as a Work in Progress at the next International Workshop on Plan 9 (http://iwp9.org/). I'll be presenting it not next week end, but the one after (12-14 April 2024). I'd be happy if some of you would be so kind as to read it with their exte

Guix pull: avoiding "Computing Guix derivation"

2024-05-13 Thread Edouard Klein
Hi Guix, First, I'd like to apologize for not having taken the time to answer those who helped me on a previous guix performance issue (with containers), the reason is tied to the topic of this email: the store has eaten all the space of my server, and solving that takes precedence over everything

Re: Guix pull: avoiding "Computing Guix derivation"

2024-05-14 Thread Edouard Klein
onder why you need to have per user profiles at > all. I > only say this because I am not sure about running `guix deploy` on an > individual > user basis. > > Sincerely, > Ryan Sundberg > > May 13, 2024 8:08:35 AM Edouard Klein : > >> Hi Guix, >> >

Re: Guix pull: avoiding "Computing Guix derivation"

2024-05-14 Thread Edouard Klein
Thank you both for this detailed explanations. I think I have a better grasp at the problem. Keep in mind that I never not dive into guix's internals. I just - had previous experience with Gentoo and Source Mage (anyone remember this distro ?) who did some interesting steps towards reproductibili

Re: Guix pull: avoiding "Computing Guix derivation"

2024-05-14 Thread Edouard Klein
Hi ! I may be a bit dense, but there's one part I don't understand: Ludovic Courtès writes: > Hi, > > Edouard Klein skribis: > >> - Why is this step not substitutable ? The inputs are known, a hash can >> be derived, a substitute server could be queried for a

Re: Guix pull: avoiding "Computing Guix derivation"

2024-05-31 Thread Edouard Klein
Hi, Josselin Poiret writes: > [[PGP Signed Part:Undecided]] > Hi everyone, > > Edouard Klein writes: > >> I think my misunderstanding boils down to a bad mental model of how guix >> works. >> >> What I imagine the "Computing guix derivation&qu

Re: A paper about Plan 9 and Guix

2024-06-02 Thread Edouard Klein
Ludovic Courtès writes: > Hi, > > Edouard Klein skribis: > >> I'll be presenting it not next week end, but the one after (12-14 April >> 2024). > > Yay, congrats! > Thanks :) >> I'd be happy if some of you would be so kind as to read it w

Re: Guix pull: avoiding "Computing Guix derivation"

2024-06-24 Thread Edouard Klein
typical server (not a > terminal/shell server) I wonder why you need to have per user profiles at > all. I > only say this because I am not sure about running `guix deploy` on an > individual > user basis. > > Sincerely, > Ryan Sundberg > > May 13, 2024 8:08:35 AM Edo

Re: A paper about Plan 9 and Guix

2024-08-27 Thread Edouard Klein
Ludovic Courtès writes: > Hi Edouard, > > Edouard Klein skribis: > >>> I wonder to what extent the combination of ‘make-inetd-constructor’ and >>> ‘least-authority-wrapper’ would fit the bill for you? (This is currently >>> used for the bitlbee, d

International Workshop on Plan 9, Call for Papers

2024-08-28 Thread Edouard Klein
Dear Guix devs, The 11th International workshop on Plan 9 will take place in France this year, at the CNAM in Paris. Plan 9 is an operating system created in the 90s at Bell Labs, and although it is 30 years old, it makes almost all the "innovations" we see in the industry today (Kubernetes, Dock

Savannah 502

2024-09-30 Thread Edouard Klein
Hi Guix, When I guix pull, one one machine, I get: Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'... guix pull: error: Git error: unexpected http status code: 502 git pulling from my local copy of the repo: fatal: unable to access 'https://git.savanna