Patchwork rust-cpython: change license of ref_sharing.rs to MIT

login
register
mail settings
Submitter Yuya Nishihara
Date Oct. 5, 2019, 3:07 p.m.
Message ID <d0703e81d88e3e28f39d.1570288041@mimosa>
Download mbox | patch
Permalink /patch/41982/
State New
Headers show

Comments

Yuya Nishihara - Oct. 5, 2019, 3:07 p.m.
# HG changeset patch
# User Yuya Nishihara <yuya@tcha.org>
# Date 1570283901 14400
#      Sat Oct 05 09:58:21 2019 -0400
# Node ID d0703e81d88e3e28f39d1f6bc36846be14c593cf
# Parent  c348d829d23a0bb240e4a7904b74a88da9f4e71a
rust-cpython: change license of ref_sharing.rs to MIT

Since we plan to upstream this feature, it's better to continue further
refactoring under the same license as rust-cpython crate.

According to the file history, copyright holders are:

 - Raphaël Gomès <rgomes@octobus.net>
 - Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
 - Yuya Nishihara <yuya@tcha.org>
Georges Racinet - Oct. 6, 2019, 2:40 p.m.
On 10/5/19 11:07 AM, Yuya Nishihara wrote:
> # HG changeset patch
> # User Yuya Nishihara <yuya@tcha.org>
> # Date 1570283901 14400
> #      Sat Oct 05 09:58:21 2019 -0400
> # Node ID d0703e81d88e3e28f39d1f6bc36846be14c593cf
> # Parent  c348d829d23a0bb240e4a7904b74a88da9f4e71a
> rust-cpython: change license of ref_sharing.rs to MIT
>
> Since we plan to upstream this feature, it's better to continue further
> refactoring under the same license as rust-cpython crate.

Sounds good to me to do that ASAP, indeed, thanks for spotting it.


> According to the file history, copyright holders are:
>
>  - Raphaël Gomès <rgomes@octobus.net>
>  - Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
>  - Yuya Nishihara <yuya@tcha.org>
>
> diff --git a/rust/hg-cpython/src/ref_sharing.rs b/rust/hg-cpython/src/ref_sharing.rs
> --- a/rust/hg-cpython/src/ref_sharing.rs
> +++ b/rust/hg-cpython/src/ref_sharing.rs
> @@ -1,9 +1,24 @@
> -// macros.rs
> +// ref_sharing.rs
>  //
>  // Copyright 2019 Raphaël Gomès <rgomes@octobus.net>
>  //
> -// This software may be used and distributed according to the terms of the
> -// GNU General Public License version 2 or any later version.
> +// Permission is hereby granted, free of charge, to any person obtaining a copy
> +// of this software and associated documentation files (the "Software"), to
> +// deal in the Software without restriction, including without limitation the
> +// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
> +// sell copies of the Software, and to permit persons to whom the Software is
> +// furnished to do so, subject to the following conditions:
> +//
> +// The above copyright notice and this permission notice shall be included in
> +// all copies or substantial portions of the Software.
> +//
> +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
> +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
> +// IN THE SOFTWARE.
>  
>  //! Macros for use in the `hg-cpython` bridge library.
>  
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
Pulkit Goyal - Oct. 6, 2019, 3:58 p.m.
On Sat, Oct 5, 2019 at 6:48 PM Yuya Nishihara <yuya@tcha.org> wrote:
>
> # HG changeset patch
> # User Yuya Nishihara <yuya@tcha.org>
> # Date 1570283901 14400
> #      Sat Oct 05 09:58:21 2019 -0400
> # Node ID d0703e81d88e3e28f39d1f6bc36846be14c593cf
> # Parent  c348d829d23a0bb240e4a7904b74a88da9f4e71a
> rust-cpython: change license of ref_sharing.rs to MIT
>
> Since we plan to upstream this feature, it's better to continue further
> refactoring under the same license as rust-cpython crate.
>
> According to the file history, copyright holders are:
>
>  - Raphaël Gomès <rgomes@octobus.net>
>  - Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
>  - Yuya Nishihara <yuya@tcha.org>

Will queue this after black and byte-ify string refactoring lands, many thanks!
Raphaël Gomès - Oct. 6, 2019, 5:30 p.m.
Yes, for the record, I am enthusiastic about this change to upstream to 
rust-cpython.

I've CC'd Georges who did the initial proof-of-concept just so he can go 
on the record.

On 10/6/19 5:58 PM, Pulkit Goyal wrote:
> On Sat, Oct 5, 2019 at 6:48 PM Yuya Nishihara <yuya@tcha.org> wrote:
>> # HG changeset patch
>> # User Yuya Nishihara <yuya@tcha.org>
>> # Date 1570283901 14400
>> #      Sat Oct 05 09:58:21 2019 -0400
>> # Node ID d0703e81d88e3e28f39d1f6bc36846be14c593cf
>> # Parent  c348d829d23a0bb240e4a7904b74a88da9f4e71a
>> rust-cpython: change license of ref_sharing.rs to MIT
>>
>> Since we plan to upstream this feature, it's better to continue further
>> refactoring under the same license as rust-cpython crate.
>>
>> According to the file history, copyright holders are:
>>
>>   - Raphaël Gomès <rgomes@octobus.net>
>>   - Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
>>   - Yuya Nishihara <yuya@tcha.org>
> Will queue this after black and byte-ify string refactoring lands, many thanks!
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Patch

diff --git a/rust/hg-cpython/src/ref_sharing.rs b/rust/hg-cpython/src/ref_sharing.rs
--- a/rust/hg-cpython/src/ref_sharing.rs
+++ b/rust/hg-cpython/src/ref_sharing.rs
@@ -1,9 +1,24 @@ 
-// macros.rs
+// ref_sharing.rs
 //
 // Copyright 2019 Raphaël Gomès <rgomes@octobus.net>
 //
-// This software may be used and distributed according to the terms of the
-// GNU General Public License version 2 or any later version.
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to
+// deal in the Software without restriction, including without limitation the
+// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+// sell copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+// IN THE SOFTWARE.
 
 //! Macros for use in the `hg-cpython` bridge library.