unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Nikita Karetnikov <nikita.karetnikov@gmail.com>
Cc: bug-guix@gnu.org
Subject: Re: List of abbreviations for licenses
Date: Fri, 07 Dec 2012 10:43:12 +0100	[thread overview]
Message-ID: <87fw3irydr.fsf@gnu.org> (raw)
In-Reply-To: <CAD15K4t9R9piZeZX7JTXKdBB6_F06m_RPDBVcGwASqkQW0TMFw@mail.gmail.com> (Nikita Karetnikov's message of "Fri, 7 Dec 2012 01:52:11 +0300")

Hi,

Nikita Karetnikov <nikita.karetnikov@gmail.com> skribis:

> From eb8229c7834dd1d249e8f5adc8382d00b289aa00 Mon Sep 17 00:00:00 2001
> From: Nikita Karetnikov <nikita@karetnikov.org>
> Date: Thu, 6 Dec 2012 22:39:57 +0000
> Subject: [PATCH] Add (guix licenses).
>
> * guix/licenses.scm: New file.
> * Makefile.am (MODULES): Add it.

Thanks, looks good to me.

> +(define-module (guix licenses)
> +  #:use-module (srfi srfi-9)
> +  #:export (asl2.0)
> +  #:export (boost1.0)
> +  #:export (bsd-2 bsd-3 bsd-4)
> +  #:export (cddl1.0)
> +  #:export (cpl1.0)
> +  #:export (epl1.0)
> +  #:export (gpl2 gpl2+ gpl3 gpl3+)
> +  #:export (ijg)
> +  #:export (ibmpl1.0)
> +  #:export (lgpl2.1 lgpl2.1+ lgpl3 lgpl3+)
> +  #:export (mpl2.0)
> +  #:export (openssl)
> +  #:export (public-domain)
> +  #:export (x11)
> +  #:export (zlib))

Can you make this a single #:export?

Also, make sure to export ‘license?’ and ‘license-name’.

Could you add a small “Commentary:” block at the beginning, and a “ends
here” lines at the end?  See, for instance, guix/download.scm for an
example.

This allows for on-line documentation:

--8<---------------cut here---------------start------------->8---
scheme@(guile-user)> (module-commentary '(guix download))
$4 = "\n Produce fixed-output derivations with data fetched over HTTP or FTP.\n\n"
--8<---------------cut here---------------end--------------->8---

(Likewise with C-d RET in Geiser.)

Thanks!

Ludo’.

  reply	other threads:[~2012-12-07  9:43 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-29  4:54 List of abbreviations for licenses Nikita Karetnikov
2012-11-29 22:05 ` Ludovic Courtès
2012-11-29 23:53   ` Jeff Mickey
2012-11-30  0:49     ` Ludovic Courtès
2012-12-06 22:52       ` Nikita Karetnikov
2012-12-07  9:43         ` Ludovic Courtès [this message]
2012-12-07 19:53         ` Ludovic Courtès
2012-12-07 22:34           ` Nikita Karetnikov
2012-12-07 23:24             ` Ludovic Courtès
2012-12-08  2:14               ` Nikita Karetnikov
2012-12-08 18:23                 ` Ludovic Courtès
2012-12-09  2:47                   ` Nikita Karetnikov
2012-12-09 13:41                     ` Ludovic Courtès
2012-12-11  8:24                       ` Nikita Karetnikov
2012-12-11 10:24                         ` Ludovic Courtès
2012-12-11 14:04                           ` Nikita Karetnikov
2012-12-11 14:31                             ` 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

  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=87fw3irydr.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=bug-guix@gnu.org \
    --cc=nikita.karetnikov@gmail.com \
    /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).