Skip to content

ugexe/Perl6-Distribution--Common--Remote

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
t
 
 
 
 
 
 
 
 
 
 
 
 

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

BEGIN %*ENV<GITHUB_ACCESS_TOKEN> = "..."; # optional, but useful due to api rate limiting

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)

About

Create an installable Distribution from common remote sources

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%