unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Guix Devel <guix-devel@gnu.org>,
	GNU Guix maintainers <guix-maintainers@gnu.org>
Subject: Clarifying blog post licensing
Date: Wed, 26 Jan 2022 10:24:11 +0100	[thread overview]
Message-ID: <87bkzykfyc.fsf@inria.fr> (raw)

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

Hello Guix!

With a few exceptions, our blog posts do not have a license, which is
not great as it prevents sharing and reuse, at least by those outside
Guix circles (we discussed it in the past but never got around to fixing
it).

I’d like us to clarify that, with a footer on blog posts saying that,
unless otherwise stated, posts are dual-licensed under CC-BY-SA 4.0 and
GFDL 1.3+ (the latter so we can reuse material in the cookbook and in
the manual).  Patch below.

What do people think?

If maintainers and everyone agrees, I’d like to publicly email all the
authors asking them whether they agree with the proposed licensing
terms, or whether they’d like a different free license.  The script
below enumerates blog post authors (the list needs a bit of cleanup
still):

--8<---------------cut here---------------start------------->8---
scheme@(guile-user)> ,pp authors
$22 = ("A collective of GNU maintainers"
 "Andreas Enge"
 "Chris Marusich"
 "Chris Marusich and Léo Le Bouter"
 "Christopher Baines"
 "Christopher Lemmer Webber"
 "Danjela Lura"
 "Danny Milosavljevic"
 "David Thompson"
 "Efraim Flashner"
 "Florian Pelz"
 "Guix Hackers"
 "Gábor Boskovits"
 "Jakob L. Kreuze"
 "Jan (janneke) Nieuwenhuizen"
 "Jan Nieuwenhuizen"
 "Joshua Branson"
 "Julien Lepiller"
 "Konrad Hinsen"
 "Laura Lazzati"
 "Ludovic (civodul) Courtès"
 "Ludovic Courtès"
 "Ludovic Courtès and Leo Famulari"
 "Magali Lemes"
 "Manolis Ragkousis"
 "Marius (mbakke) Bakke"
 "Marius Bakke"
 "Mathieu Othacehe"
 "Maxim Cournoyer"
 "Pierre Neidhardt"
 "Pjotr Prins"
 "Ricardo (rekado) Wurmus"
 "Ricardo Wurmus"
 "Roel Janssen"
 "Simon Tournier"
 "Tatiana Sholokhova"
 "Tobias Geerinckx-Rice"
 "sirgazil")
--8<---------------cut here---------------end--------------->8---

How does that sound?

Thanks,
Ludo’.


[-- Attachment #2: the script --]
[-- Type: text/plain, Size: 623 bytes --]

(use-modules (haunt reader commonmark)
             (haunt reader)
             (haunt post)
             (guix build utils)
             (srfi srfi-1))

(define files
  (find-files "posts" "\\.(md|sxml)$"))

(define authors
  (delete-duplicates
   (append-map (lambda (file)
                 (define reader
                   (if (string-suffix? ".md" file)
                       commonmark-reader
                       sxml-reader))

                 (map string-trim-both
                      (string-split (post-ref (read-post reader file) 'author)
                                    #\,)))
               files)))

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: Type: text/x-patch, Size: 1455 bytes --]

diff --git a/website/apps/blog/templates/post.scm b/website/apps/blog/templates/post.scm
index de02c6c..0d6b08e 100644
--- a/website/apps/blog/templates/post.scm
+++ b/website/apps/blog/templates/post.scm
@@ -60,4 +60,19 @@
 		#:label tag
 		#:url (guix-url (tag-url-path tag)))
 	       " ")) ; NOTE: Force space for readability in non-CSS browsers.
-	    (sort tags tag-first?))))))))
+	    (sort tags tag-first?)))
+
+        (div
+         (@ (class "license"))
+         ,(G_ `(p "Unless otherwise stated, blog posts on this site are
+copyrighted by their respective authors and published under the terms of
+the " ,(G_
+                    `(a (@ (href "https://creativecommons.org/licenses/by-sa/4.0/"))
+                        "CC-BY-SA 4.0"))
+                  " license and those of the "
+                  ,(G_
+                    `(a (@ (href
+                            "https://www.gnu.org/licenses/fdl-1.3.html"))
+                        "GNU Free Documentation License"))
+                  " (version 1.3 or later, with no Invariant Sections, no
+Front-Cover Texts, and no Back-Cover Texts)."))))))))
diff --git a/website/static/blog/css/post.css b/website/static/blog/css/post.css
index 57d7f0d..95035ba 100644
--- a/website/static/blog/css/post.css
+++ b/website/static/blog/css/post.css
@@ -38,3 +38,8 @@ article {
 article.limit-width {
     max-width: 720px;
 }
+
+.license {
+    font-size: 0.8em;
+    line-height: 1.4em;
+}

             reply	other threads:[~2022-01-26  9:25 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-26  9:24 Ludovic Courtès [this message]
2022-01-26  9:30 ` Clarifying blog post licensing Manolis Ragkousis
2022-01-26  9:33 ` Efraim Flashner
2022-01-26 10:30 ` Julien Lepiller
2022-01-26 11:16   ` Oliver Propst
2022-01-26 12:06 ` Ricardo Wurmus
2022-01-26 14:24 ` Maxim Cournoyer
2022-02-05 11:20   ` Ludovic Courtès
2022-02-06  5:08     ` Maxim Cournoyer
2022-01-26 16:42 ` Tobias Geerinckx-Rice
2022-01-26 17:57 ` Vagrant Cascadian
2022-01-26 18:55   ` Tobias Geerinckx-Rice
2022-02-05 11:22   ` Ludovic Courtès
2022-01-27  5:57 ` Jan Nieuwenhuizen
2022-01-27 16:15 ` pelzflorian (Florian Pelz)
2022-01-28 23:10   ` Gábor Boskovits
2022-01-30  4:21 ` jbranso
2022-02-05 13:47 ` License of your contributions to the blog at guix.gnu.org Ludovic Courtès
2022-02-05 14:04   ` zimoun
2022-02-05 14:07   ` Luis Felipe
2022-02-05 14:10   ` Tatiana Sholokhova
2022-02-05 14:12   ` Mathieu Othacehe
2022-02-05 16:39   ` Pierre Neidhardt
2022-02-05 18:49   ` Leo Famulari
2022-02-05 22:55   ` Magali Lemes
2022-02-06  8:35   ` Efraim Flashner
2022-02-07 18:48   ` Christopher Baines
2022-02-07 22:46   ` Léo Le Bouter
2022-02-07 23:03   ` Marius Bakke
2022-02-08  5:53   ` Konrad Hinsen
2022-02-09  2:47   ` zerodaysfordays
2022-02-10  8:10   ` Chris Marusich
2022-02-11 14:04   ` Christine Lemmer-Webber
2022-02-14 17:36   ` Ludovic Courtès
2022-02-14 19:51     ` Andreas Enge
2022-02-28 20:17     ` Danjela Lura
2022-04-05 16:00   ` Ludovic Courtès
2022-07-04 13:55     ` Please reply: " Ludovic Courtès
2022-07-07 13:54       ` [EXT] " Thompson, David
2022-04-05 18:14   ` Roel Janssen

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=87bkzykfyc.fsf@inria.fr \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=guix-maintainers@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 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).