[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#63082: [PATCH v3 04/16] services: mpd: Rename %set-user-group to set
From: |
Bruno Victal |
Subject: |
bug#63082: [PATCH v3 04/16] services: mpd: Rename %set-user-group to set-user-group. |
Date: |
Wed, 24 May 2023 17:09:02 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 |
On 2023-05-05 19:28, Maxim Cournoyer wrote:
> The convention to use % as a prefix is for "special" variables rather than
> procedures.
>
> * gnu/services/audio.scm ((%set-user-group): Rename to...
> (set-user-group): ... this.
> ---
> gnu/services/audio.scm | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Though that's what is stated in
<http://community.schemewiki.org/?variable-naming-convention>,
there is precedent within guix to prefix “internal” procedures with
% in certain cases like changing the default constructor for the
record-type itself.
Some commits that show this: 22dd558c70901a336de97187f0470be584571158,
2397f4768091210b0a705ef750f2f38d6946fb89.
--
Furthermore, I consider that nonfree software must be eradicated.
Cheers,
Bruno.
- bug#63082: [PATCH v3 00/16] Improve out-of-the-box experience with mpd-service-type, Maxim Cournoyer, 2023/05/05
- bug#63082: [PATCH v3 01/16] services: mpd: Add auto-update? field to mpd-configuration., Maxim Cournoyer, 2023/05/05
- bug#63082: [PATCH v3 02/16] services: mpd: Add an 'update' action to trigger a database update., Maxim Cournoyer, 2023/05/05
- bug#63082: [PATCH v3 11/16] system: accounts: Export <user-account>., Maxim Cournoyer, 2023/05/05
- bug#63082: [PATCH v3 13/16] services: mpd: Auto-detect mpd-output mixer type by default., Maxim Cournoyer, 2023/05/05
- bug#63082: [PATCH v3 04/16] services: mpd: Rename %set-user-group to set-user-group., Maxim Cournoyer, 2023/05/05
- bug#63082: [PATCH v3 03/16] services: mpd: Streamline mpd-user-sanitizer and mympd-user-sanitizer., Maxim Cournoyer, 2023/05/05
- bug#63082: [PATCH v3 07/16] services: mpd; Refactor start slot directory initialization., Maxim Cournoyer, 2023/05/05
- bug#63082: [PATCH v3 10/16] services: mpd: Let Shepherd effect the user/group change., Maxim Cournoyer, 2023/05/05
- bug#63082: [PATCH v3 09/16] services: mpd: Do not rotate logs when using syslog., Maxim Cournoyer, 2023/05/05
- bug#63082: [PATCH v3 14/16] services: mpd: Provision a default cache directory and set HOME., Maxim Cournoyer, 2023/05/05
- bug#63082: [PATCH v3 16/16] services: Avoid 'delete' overrides warning in audio module., Maxim Cournoyer, 2023/05/05
- bug#63082: [PATCH v3 15/16] services: mpd: Update basic example., Maxim Cournoyer, 2023/05/05
- bug#63082: [PATCH v3 06/16] services: mpd: List log-level in decreasing verbosity order in doc., Maxim Cournoyer, 2023/05/05