Giter Site home page Giter Site logo

alien's People

Contributors

plicease avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

alien's Issues

set .gitattributes files to render alienfiles as perl across PerlAlien repos

alienfiles are pure perl code but render on GitHub as plain text. This can be corrected by adding this line to a .gitattributes file in each repo:

alienfile linguist-language=perl

I would submit PRs but there are too many repos under the organisation for this to be efficient. The script below is one approach to automation assuming all repos are at the same level.

use 5.010;
use strict;
use warnings;

use Path::Tiny;
use Cwd qw /getcwd/;

my @dirs = grep {-d} (path (getcwd())->children);

foreach my $dir (@dirs) {
    my $has_alienfile = grep {path($_)->basename eq 'alienfile'} (path($dir)->children);
    next if !$has_alienfile;
    my $file = path($dir, '.gitattributes');
    $file->touch;
    my $contents = $file->slurp;
    if (not $contents =~ /alienfile/ms) {
        $file->append("alienfile linguist-language=perl\n");
    }
}

Update Alien.pm to reflect modern events

Alien.pm was created a long time ago as an aspiration. Today many Alien modules have actually been implemented. Because Alien.pm comes up as the first entry when you search on metacpan Alien, it should reflect the current state of events.

  1. Alien::Base is a common (though by no means universal) base class or framework for creating Alien distributions
  2. #native on irc.perl.org, and the google groups mailing list are good places to discuss issues related to Alien.
  3. There is a github organization Perl5-Alien that attempts to coordinate those who are interested in collaborating on Alien modules.

I've forked Alien.pm and added some modest links in the documentation that I think would help potential Alien developers. I've done this in the hope that these changes will be integrated in a future version of Alien.pm. I'm willing to do the actual release if the current PAUSE owner @crucially does not have the time.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.