You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Harbs <ha...@gmail.com> on 2016/07/12 14:15:41 UTC
Personal util repo
FYI, I just create a personal repo for parking utility classes which have too much overhead or don’t quite fit in the official FlexJS repo. My first entry is a migrated Base64 class.
https://github.com/Harbs/flexjs-utils
Re: Personal util repo
Posted by Justin Mclean <ju...@classsoftware.com>.
HI,
> Could you just do what needs to be done to put the class into Core at com.apache.flex.utils?
If it’s bundled in a release, add this (or something like it) to the releases LICENSE file:
"This product bundles (path to file go here) a Base64 AS3 library, copyright (C) 2012 Jean-Philippe Auclair, which is available under a MIT license. For details, see licenses/Base64AS3lib.LICENSE."
The suggested way to to include a pointer to a file containing the full text of the license[1]. The file header is missing the MIT text so this need to be done in a separate file in order to comply with the terms of the MIT license. [2] i.e. The "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.” bit. Grab the file from https://opensource.org/licenses/mit-license.php and fill in the copyright year and owners name.
But there are several valid ways to do this, and different projects do it slightly differently, as long as:
1. The MIT license text is included somewhere in the release
2. LICENSE mentions what is MIT licensed
3. The original header and copyright is kept intact
You have legal and ASF policy covered and everything is good.
The bundled bit is the most important bit, if you add it to flex utils, anything that bundles flex utils (and made into a release) LICENSE file will need to change. So potentially it could effect more than one LICENSE file depending on what releases actually bundled the file in question.
Thanks,
Justin
1.http://www.apache.org/dev/licensing-howto.html#permissive-deps
2. https://opensource.org/licenses/mit-license.php
Re: Personal util repo
Posted by Harbs <ha...@gmail.com>.
Hi Justin,
I’m kind of dense when it comes to these things.
Could you just do what needs to be done to put the class into Core at com.apache.flex.utils?
I’ll use what you do as a model for future additions.
Thanks,
Harbs
On Jul 13, 2016, at 12:57 AM, Justin Mclean <ju...@classsoftware.com> wrote:
> Hi,
>
>> It has the overhead of trying to figure out the legalities of using it in the official repo. If someone wants to deal with that, be my guest… ;-)
>
> It’s MIT licensed which is Category A [1] and compatible with the Apache 2.0 license. So that could easily be added to one of our repos and bundled in a release. You just need to mention it in LICENSE like so [2].
>
> Thanks,
> Justin
>
> 1. http://www.apache.org/legal/resolved.html#category-a
> 2. http://www.apache.org/dev/licensing-howto.html#permissive-deps
>
>
Re: Personal util repo
Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,
Also something that may help here’s a worked license and notice example video [1] and instruction on github [2] (pull requests welcome) I created a little while back. I plan on putting a few of these together to help people with license/notice issues as they seem to come up reasonably often (more so on the incubator list).
Just out of interest I notice your repo is ASF licensed. It doesn’t mention the bundled MIT license in the LICENSE file. Legally that’s fine by the terms of the MIT license, but if it was an Apache project it would not be in line with current ASF policy. Also if this was an Apache project it would require a minimal NOTICE file, but again that’s not required for external projects. If you want an Apache project to use this code at some point IMO it would be good to add a NOTICE file. But it's your repo so you can ignore all that and do what you want :-)
Thanks,
Justin
1. https://vimeo.com/171210141
2. https://github.com/justinmclean/ApacheWombat
Re: Personal util repo
Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,
> It has the overhead of trying to figure out the legalities of using it in the official repo. If someone wants to deal with that, be my guest… ;-)
It’s MIT licensed which is Category A [1] and compatible with the Apache 2.0 license. So that could easily be added to one of our repos and bundled in a release. You just need to mention it in LICENSE like so [2].
Thanks,
Justin
1. http://www.apache.org/legal/resolved.html#category-a
2. http://www.apache.org/dev/licensing-howto.html#permissive-deps
Re: Personal util repo
Posted by Harbs <ha...@gmail.com>.
I think it’s a very good fit.
It has the overhead of trying to figure out the legalities of using it in the official repo. If someone wants to deal with that, be my guest… ;-)
On Jul 12, 2016, at 6:31 PM, Alex Harui <ah...@adobe.com> wrote:
>
>
> On 7/12/16, 7:58 AM, "Harbs" <ha...@gmail.com> wrote:
>
>> Two reasons:
>>
>> 1. I like the idea of a single static class for doing these conversions
>> rather than instantiating an encoder/decoder every time.
>> 2. My understanding is that this class is by far the most performant in
>> reading and writing Base64.
>
> Does the version you put in your repo "have too much overhead" or "doesn't
> quite fit"?
>
> -Alex
>
Re: Personal util repo
Posted by Alex Harui <ah...@adobe.com>.
On 7/12/16, 7:58 AM, "Harbs" <ha...@gmail.com> wrote:
>Two reasons:
>
>1. I like the idea of a single static class for doing these conversions
>rather than instantiating an encoder/decoder every time.
>2. My understanding is that this class is by far the most performant in
>reading and writing Base64.
Does the version you put in your repo "have too much overhead" or "doesn't
quite fit"?
-Alex
Re: Personal util repo
Posted by Harbs <ha...@gmail.com>.
Two reasons:
1. I like the idea of a single static class for doing these conversions rather than instantiating an encoder/decoder every time.
2. My understanding is that this class is by far the most performant in reading and writing Base64.
On Jul 12, 2016, at 5:48 PM, Alex Harui <ah...@adobe.com> wrote:
>
>
> On 7/12/16, 7:15 AM, "Harbs" <ha...@gmail.com> wrote:
>
>> FYI, I just create a personal repo for parking utility classes which have
>> too much overhead or don’t quite fit in the official FlexJS repo. My
>> first entry is a migrated Base64 class.
>>
>> https://github.com/Harbs/flexjs-utils
>
> Interesting. Why did you not start from mx.utils.Base64Encoder/Decoder?
>
> -Alex
>
Re: Personal util repo
Posted by Alex Harui <ah...@adobe.com>.
On 7/12/16, 7:15 AM, "Harbs" <ha...@gmail.com> wrote:
>FYI, I just create a personal repo for parking utility classes which have
>too much overhead or don’t quite fit in the official FlexJS repo. My
>first entry is a migrated Base64 class.
>
>https://github.com/Harbs/flexjs-utils
Interesting. Why did you not start from mx.utils.Base64Encoder/Decoder?
-Alex