unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: Dhruvin Gandhi <contact@dhruvin.dev>, 47269@debbugs.gnu.org
Subject: [bug#47269] [PATCH 0/1] Add node-global-gradle-clean
Date: Sat, 20 Mar 2021 09:51:41 +0100	[thread overview]
Message-ID: <6ac44e1dc193a3d78351aed9a80e1c651e809ab5.camel@telenet.be> (raw)
In-Reply-To: <20210319192144.17799-1-contact@dhruvin.dev>

[-- Attachment #1: Type: text/plain, Size: 2142 bytes --]

On Sat, 2021-03-20 at 00:51 +0530, Dhruvin Gandhi via Guix-patches via wrote:
> I've recently started using Guix System and it has been my daily driver for a
> month now. Surprisingly, guix already has every package I need. I decided to
> ask my friends about packages they'll need before they can start using Guix.
> 
> I will try to submit patches of those packages in coming months. I am new to
> guix, and am new to contributing code via patches. Let me know if you have any
> corrections/suggestions.

See ‘16.4 Packaging Guidelines’ and ‘16.6 Submitting Patches’ in the manual.

> Dhruvin Gandhi (1):
>   Add node-global-gradle-clean
> 
>  gnu/packages/node-xyz.scm | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)

There's an uniform style for commit messages.  Example for
when adding new packages:

(start snip)
commit 7382b1027a319e505be6cfcadf1f5bd761dadccc
Author: Ricardo Wurmus <rekado@elephly.net>
Date:   Thu Feb 4 23:20:05 2021 +0100

    gnu: Add r-shinyjqui.
    
    * gnu/packages/cran.scm (r-shinyjqui): New variable.

commit 5ae09d7979a0696d862b9555314eab199f7ce576
Author: Ricardo Wurmus <rekado@elephly.net>
Date:   Thu Feb 4 22:41:35 2021 +0100

    gnu: Add r-spelling.
    
    * gnu/packages/cran.scm (r-spelling): New variable.
(end snip)

(More examples in the git history)

When defining a new package, usually a copyright line should
be added at the top of the file.

I prefer referring to the commit directly instead of by tag, as
the commit is required for SWH fallback if the repo disappears.

Is there any particular reason tests are disabled?  Maybe add
a comment "; No test suite." if that's the case.

I'm not a fan of starting package descriptions with "This package is ...",
even though plenty of plenty of packages in gnu/package/node-xyz.scm have
such a description.  A description from gnu/packages/guile-xyz.scm I like:

     "Guile-DSV is a GNU Guile module for working with the
delimiter-separated values (DSV) data format.  Guile-DSV supports the
Unix-style DSV format and RFC 4180 format."

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

  parent reply	other threads:[~2021-03-20  8:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-19 19:21 [bug#47269] [PATCH 0/1] Add node-global-gradle-clean Dhruvin Gandhi via Guix-patches via
2021-03-19 19:21 ` [bug#47270] [PATCH 1/1] " Dhruvin Gandhi via Guix-patches via
2023-05-29 14:24   ` bug#47270: " Jelle Licht
2021-03-20  8:51 ` Maxime Devos [this message]
2021-03-20 10:58   ` [bug#47269] [PATCH 0/1] " Julien Lepiller
2021-03-21  8:48     ` Dhruvin Gandhi via Guix-patches via
2021-03-21  9:33       ` Julien Lepiller
2021-03-21  9:51     ` zimoun
2021-03-21  8:32   ` Dhruvin Gandhi via Guix-patches via
2021-03-22 12:59 ` [bug#47269] [PATCH 0/1] gnu: " Dhruvin Gandhi via Guix-patches via
2021-03-22 12:59   ` [bug#47269] [PATCH 1/1] " Dhruvin Gandhi via Guix-patches via

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=6ac44e1dc193a3d78351aed9a80e1c651e809ab5.camel@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=47269@debbugs.gnu.org \
    --cc=contact@dhruvin.dev \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).