all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Claes Wallin (韋嘉誠)" <gnu@clacke.user.lysator.liu.se>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH] Add rpy2.
Date: Mon, 20 Jul 2015 18:53:29 +0200	[thread overview]
Message-ID: <CAGv_=BqVS682qa=zf0wP6ez6LOdeZxp=wZov-9zz_=ubGNxFdw@mail.gmail.com> (raw)
In-Reply-To: <87a8uq257u.fsf@gnu.org>

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

On Jul 20, 2015 5:56 PM, "Ludovic Courtès" <ludo@gnu.org> wrote:
> "Claes Wallin (韋嘉誠)" <gnu@clacke.user.lysator.liu.se> skribis:

> >> > +    (license gpl2+)))
> >>
> >> R being GPLv3+, this should be the same.
> >
> > I understand the reasoning that a package is more user-oriented than
> > developer-oriented and should reflect the license of the whole, but
there's
> > an argument for reflecting the original license as well. Has this been
> > discussed?
>
> This has been mentioned in past reviews.  Basically the intent is for
> ‘license’ to reflect the license of the whole, but we often end up
> leaving a comment in cases where there’s some ambiguity.
>
> I think it’s hard to do better without maintaining ‘copyright’ files
> à la Debian.

I suddenly had an idea. There is a directional compatibility graph between
the most common licenses. That means calculating the license of a package
can often be trivial, at least a conservative guess.

You could just "guix license python-rpy2" and it would tell you that the
code itself is GPLv2+ (because package definition says so), but because of
dependencies the package as installed is effectively GPLv3+. Except when
you can't, so there should be an "it's complicated" state as well, possibly
resolvable through manual hints in package defs.

This could be a check in lint as well, to make sure e.g. no GPLv2 package
relies on a GPLv3 package without an explanation. Defining exactly in what
way a package depends on another (i.e. if it makes it a derivative) could
be a later excercise.

[-- Attachment #2: Type: text/html, Size: 1967 bytes --]

      reply	other threads:[~2015-07-20 16:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-07 11:57 [PATCH] Add rpy2 Ricardo Wurmus
2015-07-08 12:57 ` Ludovic Courtès
2015-07-20  9:51   ` Ricardo Wurmus
2015-07-20 12:36   ` Claes Wallin (韋嘉誠)
2015-07-20 15:56     ` Ludovic Courtès
2015-07-20 16:53       ` Claes Wallin (韋嘉誠) [this message]

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='CAGv_=BqVS682qa=zf0wP6ez6LOdeZxp=wZov-9zz_=ubGNxFdw@mail.gmail.com' \
    --to=gnu@clacke.user.lysator.liu.se \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /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.