Skip to content

relicense shootout-meteor.rs to the shootout licence #14420

@TeXitoi

Description

@TeXitoi

See #14248

I propose to change the license of shootout-meteor.rs as this is the most recent written bench.

The proposed patch (not a PR as I can't distribute the file with the new license without the authorisation of the copyright owners) is

diff --git a/src/etc/licenseck.py b/src/etc/licenseck.py
index 3287aae..1122fc9 100644
--- a/src/etc/licenseck.py
+++ b/src/etc/licenseck.py
@@ -42,6 +42,7 @@ exceptions = [
     "libstd/sync/spsc_queue.rs", # BSD
     "libstd/sync/mpmc_bounded_queue.rs", # BSD
     "libsync/mpsc_intrusive.rs", # BSD
+    "test/bench/shootout-meteor.rs", # BSD
 ]

 def check_license(name, contents):
diff --git a/src/test/bench/shootout-meteor.rs b/src/test/bench/shootout-meteor.rs
index dd795b7..ba4cbc3 100644
--- a/src/test/bench/shootout-meteor.rs
+++ b/src/test/bench/shootout-meteor.rs
@@ -1,12 +1,42 @@
-// Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT
-// file at the top-level directory of this distribution and at
-// http://rust-lang.org/COPYRIGHT.
+// The Computer Language Benchmarks Game
+// http://benchmarksgame.alioth.debian.org/
 //
-// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
-// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
-// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
-// option. This file may not be copied, modified, or distributed
-// except according to those terms.
+// contributed by the Rust Project Developers
+
+// Copyright (c) 2013-2014 The Rust Project Developers
+//
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions
+// are met:
+//
+// - Redistributions of source code must retain the above copyright
+//   notice, this list of conditions and the following disclaimer.
+//
+// - Redistributions in binary form must reproduce the above copyright
+//   notice, this list of conditions and the following disclaimer in
+//   the documentation and/or other materials provided with the
+//   distribution.
+//
+// - Neither the name of "The Computer Language Benchmarks Game" nor
+//   the name of "The Computer Language Shootout Benchmarks" nor the
+//   names of its contributors may be used to endorse or promote
+//   products derived from this software without specific prior
+//   written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+// COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+// STRICT LIABILITY, 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.

 #![feature(phase)]
 #[phase(syntax)] extern crate green;

First, I must say that, IMHO, the shootout license is compatible to the MIT license in the philosophy, and thus, relicensing to this license may be possible without any agreement (but I am not a lawyer).

I propose to list all the contributors of this file according to their contribution, and ask them to agree to change the license of every shootout benchmark (src/test/bench/shootout*.rs) in the comments of this issue. I'll update the list according to their response.

Non trivial contributors:

Contributors appearing in git blame that are trivial (trivial update due to language changes)

  • @alexcrichton (lifetime syntax, privacy fix): MoCo employee
  • @erickt ('self lifetime illegal): OK
  • @edwardw (move swap): OK
  • @pcwalton (~[T] removing): MoCo employee
  • @richo (rename StrBuff to String (only apear in a comment, the comment should be updated as String is not used): waiting for response
  • @bjz (remove println from prelude): OK

Contributors with removed contributions (acceptation of the license change is not necessary IMHO):

Finally, I'd like that @brson or any core developer validates the process, and say if trivial changes should be taken into account for that.

When the license change will be accepted, I'll send a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions