all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sarah Morgensen <iskarian@mgsn.dev>
To: Stephen Paul Weber <singpolyma@singpolyma.net>
Cc: 50793@debbugs.gnu.org
Subject: [bug#50793] [PATCH 1/2] gnu: Add JSON.sh
Date: Sat, 25 Sep 2021 20:02:18 -0700	[thread overview]
Message-ID: <86o88gujid.fsf@mgsn.dev> (raw)
In-Reply-To: <20210926010827.GA16766@singpolyma-beefy.lan> (Stephen Paul Weber's message of "Sat, 25 Sep 2021 20:08:27 -0500 (1 hour, 49 minutes, 58 seconds ago)")

Hi,

Stephen Paul Weber <singpolyma@singpolyma.net> writes:

>>> +(define-public JSON.sh
>>> +  (package
>>> +    (name "JSON.sh")
>>
>>I can't find a rule for this per se, but it's convention that package
>>names to be lowercase (and for the variable name to match).
>
> Ok. Should I keep the . for "json.sh" or go with "jsonsh" ?  Should I change the
> script/command name to match?

I'd keep the dot in the package name.  We don't want to modify the
actual script name in the package, though (we try to leave the actual
contents of packages as unmodified as possible).

>
>>> +                         '("grep" "coreutils"))
>>
>>Does this script actually use coreutils?
>
> It uses printf

'printf' should just be calling the shell builtin:

--8<---------------cut here---------------start------------->8---
$ type printf
printf is a shell builtin
--8<---------------cut here---------------end--------------->8---

--
Sarah




  reply	other threads:[~2021-09-26  3:03 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-25  1:38 [bug#50793] [PATCH 0/2] cloudflare-cli and dependency JSON.sh Stephen Paul Weber
2021-09-25  1:39 ` [bug#50793] [PATCH 1/2] gnu: Add JSON.sh Stephen Paul Weber
2021-09-25  1:39   ` [bug#50793] [PATCH 2/2] gnu: Add cloudflare-cli Stephen Paul Weber
2021-09-25  2:58     ` Sarah Morgensen
2021-09-26  1:21       ` Stephen Paul Weber
2021-09-25  2:58   ` [bug#50793] [PATCH 1/2] gnu: Add JSON.sh Sarah Morgensen
2021-09-26  1:08     ` Stephen Paul Weber
2021-09-26  3:02       ` Sarah Morgensen [this message]
2021-09-26 23:32         ` Stephen Paul Weber
2021-09-26  1:29 ` [bug#50793] [PATCH v2 " Stephen Paul Weber
2021-09-26  1:29   ` [bug#50793] [PATCH v2 2/2] gnu: Add cloudflare-cli Stephen Paul Weber
2021-09-26 23:35 ` [bug#50793] [PATCH v3 1/2] gnu: Add JSON.sh Stephen Paul Weber
2021-09-26 23:35   ` [bug#50793] [PATCH v3 2/2] gnu: Add cloudflare-cli Stephen Paul Weber
2021-10-13  9:08     ` bug#50793: [PATCH 0/2] cloudflare-cli and dependency JSON.sh Ludovic Courtès
2021-10-13  9:05   ` [bug#50793] " Ludovic Courtès
2021-10-13 19:03     ` Maxim Cournoyer
2021-10-14  8:54       ` zimoun
2021-10-15  3:26         ` Maxim Cournoyer
2021-10-15 15:28       ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86o88gujid.fsf@mgsn.dev \
    --to=iskarian@mgsn.dev \
    --cc=50793@debbugs.gnu.org \
    --cc=singpolyma@singpolyma.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.