user-pic

ysth

  • Commented on GitHub and the Perl License
    The CopyFilesFromBuild plugin can be used to include build files in the repo. But for something static like licenses probably easier to not create them during build....
  • Commented on List Assignment in Scalar Context
    Very nice article (other than misspelling my name :) ). ( my ($required1, $required2, $optional) = @ARGV ) >= 2 or die ... (but always use Getopt::Long for argument parsing)...
Subscribe to feed Recent Actions from ysth

  • chhikara.vivek commented on List Assignment in Scalar Context

    I had this page open since long and finally today after reading it i m going to close this ;-).

    Thanks for nice article.

    Personally I liked this piece for avoiding one extra hash value generation under while.


    while(my ($key, $value) = each %hash){...}

  • Tom Wyant commented on GitHub and the Perl License

    So that's how you make it work. I have had two license files for several years because it made it easier to test for obsolete license text. But I use LICENSES/Artistic and LICENSES/Copying (which is the name of the file the FSF puts the GPL in). Looks like I need to rearrange my licenses. Again.

    Thanks for figuring this out.

  • Tom Wyant commented on GitHub and the Perl License

    Update: under CPAN Licensing Guidelines, The Perl and Raku Foundation recommends that dual-licensed packages put each license in a separate file in a LICENSES/ directory. Does this recommendation need to change?

  • Mikko Koivunalho commented on GitHub and the Perl License

    For certain other policy files, such as CONTRIBUTING and CODE_OF_CONDUCT, GitHub allows three different locations:

    - The .github folder
    - The root of the repository
    - The docs folder

    But this DOES NOT APPLY to LICENSE-* files!

    https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/creating-a-default-community-health-file

    As for GitLab and other repository hosting providers…

  • raf commented on GitHub and the Perl License

    It seems a bit flaky. It didn't work for me with LICENSE-Artistic-1.0 and LICENSE-GPL-1 ("the same terms as the Perl 5 programming language system itself"). Github only recognized the Artistic. Replacing LICENSE-GPL-1 with LICENSE-GPL-2 made github only recognize GPL-2. It only recognizes both when there is Artistic-2.0 and GPL-3.

    And github ignores the LICENSES directory.

    I use the REUSE Specification for licenses:

    REUSE - Make licensing easy for everyone
    https://reuse.software/

    I don't know if it's well-sup…

Subscribe to feed Responses to Comments from ysth

About blogs.perl.org

blogs.perl.org is a common blogging platform for the Perl community. Written in Perl with a graphic design donated by Six Apart, Ltd.