dfinke / PowerShellHumanizer

PowerShell Humanizer wraps Humanizer: meets all your .NET needs for manipulating and displaying strings, enums, dates, times, timespans, numbers and quantities
Apache License 2.0
120 stars 18 forks source link

License type change to MIT #12

Closed sheldonhull closed 6 years ago

sheldonhull commented 6 years ago

Would you be willing to change the license type to MIT? This is more permissible and easier to use in context of commercial environments. Some similar projects like dbatools and others have migrated over to this license to allow much more flexible usage.

Additionally, I'd like to add more functionality for formatting timespans, dates. Do you want some pull requests to collaborate or is this current repository not actively maintained?

Thanks!

cdhunt commented 6 years ago

The only requirement of Apache 2 is you preserve copyright and license notices with the source. It supports commercial use. However, I'm fine with MIT if @dfinke is.

We're definitely open to PRs, but keep in mind most of the "logic" is in the upstream Humanizer project.

dfinke commented 6 years ago

@cdhunt already changed to MIT. @sheldonhull if you need the logic changed in the C# project, let me know, I worked with Oren, should be able to get PRs approved.

sheldonhull commented 6 years ago

@dfinke you guys are awesome thanks for this. And yes, if it's possible to update the license in both this and the c# that would be awesome. Not a deal breaker, but I can tell you the MIT license type has been slightly more flexible in cases where I needed to reuse a specific function or component and not the entire whole.

Either way, I appreciate the quick response, and hopefully can submit some PR's if I'm able to add some extensibility to this.

A related question... is there anyway to get the module to autoload when using the extensions created? Without explicit import? For instance .Humanize() fails if not imported already, so I'd like to figure a way to prevent that by autoloading if not loaded.

dfinke commented 6 years ago

Please post to the Humanizer the same request and reference this thread. Let's start there.

clairernovotny commented 6 years ago

Humanizer is already MIT: https://github.com/Humanizr/Humanizer/blob/master/LICENSE