App-opan

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

0.003002 - 2019-05-09
  - Document OPAN_MIRROR
  - Remove big scary warning

0.003001 - 2018-10-18
  - Serve 02packages for all pans for easier introspection

0.003000 - 2018-09-02
  - Use gzip instead of zcat because Mac OS X's zcat is bizarre
  - Refactor to use more Mojo::File
  - Added token protected upload endpoint with CPAN::Uploader compat
  - Added periodic updater.

0.002002 - 2017-05-22
  - port the tests to new Mojo::File API as well so it still installs

0.002001 - 2017-01-22
  - port to new Mojo::File API
  - Changes file actually in dist

0.002000 - 2016-09-24

README  view on Meta::CPAN


    Identical to nopin, but fetching a dist from upstream does an implict
    "pin".

    Since this can modify your opan config, it's only enabled if the
    environment variable "OPAN_AUTOPIN" is set to a true value (calling the
    "cpanm" or "carton" commands with "--autopin" sets this for you, because
    you already specified you wanted that).

  uploads
    To enable the /upload endpoint, set the ENV var OPAN_AUTH_TOKENS to a
    colon separated list of accepted tokens for uploads. This will allow a
    post with a 'file' upload argument, checking http basic auth password
    against the provided auth tokens.

  recurring pull
    Set ENV OPAN_RECURRING_PULL to a true value to make opan automatically
    pull from upstream every 600 seconds

  custom upstream
    Set the ENV var OPAN_MIRROR to specify a cpan mirror - the default is

lib/App/opan.pm  view on Meta::CPAN


Identical to nopin, but fetching a dist from upstream does an implict L</pin>.

Since this can modify your opan config, it's only enabled if the environment
variable C<OPAN_AUTOPIN> is set to a true value (calling the L</cpanm> or
L</carton> commands with C<--autopin> sets this for you, because you already
specified you wanted that).

=head2 uploads

To enable the /upload endpoint, set the ENV var OPAN_AUTH_TOKENS to a colon
separated list of accepted tokens for uploads. This will allow a post with a
'file' upload argument, checking http basic auth password against the provided
auth tokens.

=head2 recurring pull

Set ENV OPAN_RECURRING_PULL to a true value to make opan automatically pull
from upstream every 600 seconds

=head2 custom upstream

script/opan  view on Meta::CPAN


Identical to nopin, but fetching a dist from upstream does an implict L</pin>.

Since this can modify your opan config, it's only enabled if the environment
variable C<OPAN_AUTOPIN> is set to a true value (calling the L</cpanm> or
L</carton> commands with C<--autopin> sets this for you, because you already
specified you wanted that).

=head2 uploads

To enable the /upload endpoint, set the ENV var OPAN_AUTH_TOKENS to a colon
separated list of accepted tokens for uploads. This will allow a post with a
'file' upload argument, checking http basic auth password against the provided
auth tokens.

=head2 recurring pull

Set ENV OPAN_RECURRING_PULL to a true value to make opan automatically pull
from upstream every 600 seconds

=head2 custom upstream

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.457 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )