Search plugin: Or browse by category:

cpan-upload summary

Plugin Name: cpan-upload
Version: 0.0.6
Author: @melezhik
Realease Date: 2018-11-02 00:48:49
Short Description: Small wrapper for cpan-upload
Category: ---
Plugin web page: https://github.com/melezhik/sparrow-plugins/tree/master/cpan-upload
Download link: cpan-upload-v0.000006.tar.gz
Latest version link: https://sparrowhub.org/info/cpan-upload

cpan-upload documentation

cpan-upload doc

SYNOPSIS

Small wrapper for cpan-upload with few features:

  • Disabling SSL verification by default
  • Deleting archive file upon upload

INSTALL

$ sparrow plg install cpan-upload

USAGE

As one liners:

# upload archive to CPAN without SSL verification
$ sparrow plg run cpan-upload --param distro=$PWD/app-0.0001.tar.gz

# the same with SSL verification
$ sparrow plg run cpan-upload --param distro=$PWD/app-0.0001.tar.gz --param ssl_verify=on

# delete local distro after upload
$ sparrow plg run cpan-upload --param distro=$PWD/app-0.0001.tar.gz --param clean=on

As task:

$ sparrow project create cpan

$ sparrow task add cpan upload cpan-upload

$ sparrow task ini cpan/upload

  clean=on
  ssl_verify=off

$ sparrow plg task cpan/upload --param distro=$PWD/app-0.0001.tar.gz

Parameters

distro

Path to CPAN distribution.

clean

Remove local disto upon upload. on|off

ssl_verify

Disable ssl verification. on|off

See also

cpan-upload - upload a distribution to the CPAN

Author

Alexey Melezhik