[nfsv4] code samples in internet drafts

"Mike Eisler" <mre-ietf@eisler.com> Thu, 19 February 2009 23:08 UTC

Return-Path: <mre-ietf@eisler.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 357B328C23D for <nfsv4@core3.amsl.com>; Thu, 19 Feb 2009 15:08:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XOrEjUBCdTzN for <nfsv4@core3.amsl.com>; Thu, 19 Feb 2009 15:08:44 -0800 (PST)
Received: from webmail4.sd.dreamhost.com (sd-green-dreamhost-133.dreamhost.com [208.97.187.133]) by core3.amsl.com (Postfix) with ESMTP id E05123A6C31 for <nfsv4@ietf.org>; Thu, 19 Feb 2009 15:08:44 -0800 (PST)
Received: from webmail.eisler.com (localhost [127.0.0.1]) by webmail4.sd.dreamhost.com (Postfix) with ESMTP id D4956302C5 for <nfsv4@ietf.org>; Thu, 19 Feb 2009 15:08:58 -0800 (PST)
Received: from 216.240.26.4 (SquirrelMail authenticated user mre-ietf@eisler.com) by webmail.eisler.com with HTTP; Thu, 19 Feb 2009 15:08:58 -0800 (PST)
Message-ID: <7a0a00b2a3f7db903b501477e66a15ee.squirrel@webmail.eisler.com>
Date: Thu, 19 Feb 2009 15:08:58 -0800
From: Mike Eisler <mre-ietf@eisler.com>
To: nfsv4@ietf.org
User-Agent: SquirrelMail/1.4.17
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
Subject: [nfsv4] code samples in internet drafts
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Feb 2009 23:08:46 -0000

With the new IPR/Copyright rules for internet-drafts and RFCs, I thought it
might be useful for nfsv4 document editors that are including code to know
how the NFSv4.1 and pNFS document editors ultimately dealt with this
issue.

1. Include a  "Code Components Licensing Notice"

E.g.

http://tools.ietf.org/html/draft-ietf-nfsv4-minorversion1-dot-x-12#section-1

2. Identify the code components.

One way is to bracket them with <CODE BEGINS> and <CODE ENDS>. E.g.

http://tools.ietf.org/html/draft-ietf-nfsv4-minorversion1-dot-x-12#section-2

If there are multiple code components, some might object to many
<CODE BEGINS> <CODE ENDS> brackets. If so, it is permissible
provide an alternative, unambiguous way for the reader to identify
the code components.

E.g.

http://tools.ietf.org/html/draft-ietf-nfsv4-pnfs-obj-12#section-2.1

(The text says that anythign prefixed with "///" is a code component).

3. Include the copyright notice that should be in the actual code. E.g.

   /// /*
   ///  * Copyright (c) 2008 IETF Trust and the persons identified
   ///  * as the document authors. All rights reserved.
   ///  *


4. Identify where the reader can find the document authors. E.g.:

   ///  * The document authors are identified in [RFC3530] and
   ///  * [draft-ietf-nfsv4-minorversion1-xx.txt].

5. Include the entire license in the code component. E.g.
http://tools.ietf.org/html/draft-ietf-nfsv4-minorversion1-dot-x-12#section-2
starts with/ends with:

   ///  * Redistribution and use in source and binary forms, with
   ///  * or without modification, are permitted provided that the
   ///  * following conditions are met:
[...]
   ///  *   OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
   ///  *   IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
   ///  *   ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   ///  */

Your license should be the same (the above is a BSD license, which
should be GPL compatibile if you are concerned, but IANAL).
If you use a different license, expect
issues when IESG examines your document; IESG members aren't lawyers
either.

6. Include a note within the code component
that says where the code came from:

E.g.
   ///  * This code was derived from IETF RFC &rfc.number.
   [[RFC Editor: please insert RFC number]]
   ///  * Please reproduce this note if possible.



-- 
Mike Eisler, Senior Technical Director, NetApp, 719 599 9026,
http://blogs.netapp.com/eislers_nfs_blog/