Create an installable Distribution from remote sources using the
See Distribution::Common for more information. This is kept as a separate repo as it requires additional dependencies.
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 from a github repository
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
API tokens (otherwise beware the github API rate limiting)