No description, website, or topics provided.
Perl6
Switch branches/tags
Nothing to show
Latest commit a4a8d7a May 2, 2017 @ugexe committed on GitHub Create LICENSE

README.pod

Distribution::Common::Remote

Create an installable Distribution from remote sources using the Distribution::Common interface

See Distribution::Common for more information. This is kept as a separate repo as it requires additional dependencies.

Synopsis

use Distribution::Common::Remote::Github;

# Distribution::Common::Remote:auth<github:ugexe>
my $dist = Distribution::Common::Remote::Github.new(
    user    => "ugexe",
    repo    => "Perl6-Distribution--Common--Remote",
    branch  => "master"
);

say $dist.meta;
say $dist.content('lib/Distribution/Common/Remote.pm6').open.slurp-rest;

Distribution Implementations

Distribution::Common::Remote::Github

Installable Distribution from a github repository

Roles

Distribution::IO::Remote::Github

Fetch a single raw file from a distribution's github to memory. When CompUnitRepository::Installation::Install.install accesses such files they are written directly to their install location instead of first using an intermediate temporary] location

Todo

  • API tokens (otherwise beware the github API rate limiting)