1Dist::Zilla::Plugin::UpUlsoeardTCooCnPtArNi(b3u)ted PerlDiDsotc:u:mZeinltlaat:i:oPnlugin::UploadToCPAN(3)
2
3
4

NAME

6       Dist::Zilla::Plugin::UploadToCPAN - upload the dist to CPAN
7

VERSION

9       version 6.017
10

SYNOPSIS

12       If loaded, this plugin will allow the release command to upload to the
13       CPAN.
14

DESCRIPTION

16       This plugin looks for configuration in your "dist.ini" or (more likely)
17       "~/.dzil/config.ini":
18
19         [%PAUSE]
20         username = YOUR-PAUSE-ID
21         password = YOUR-PAUSE-PASSWORD
22
23       If this configuration does not exist, it can read the configuration
24       from "~/.pause", in the same format that cpan-upload requires:
25
26         user YOUR-PAUSE-ID
27         password YOUR-PAUSE-PASSWORD
28
29       If neither configuration exists, it will prompt you to enter your
30       username and password during the BeforeRelease phase.  Entering a blank
31       username or password will abort the release.
32
33       You can't put your password in your dist.ini.  C'mon now!
34

ATTRIBUTES

36   credentials_stash
37       This attribute holds the name of a PAUSE stash that will contain the
38       credentials to be used for the upload.  By default, UploadToCPAN will
39       look for a %PAUSE stash.
40
41   username
42       This option supplies the user's PAUSE username.  It will be looked for
43       in the user's PAUSE configuration; if not found, the user will be
44       prompted.
45
46   password
47       This option supplies the user's PAUSE password.  It cannot be provided
48       via dist.ini.  It will be looked for in the user's PAUSE configuration;
49       if not found, the user will be prompted.
50
51   pause_cfg_file
52       This is the name of the file containing your pause credentials.  It
53       defaults .pause.  If you give a relative path, it is taken to be
54       relative to "pause_cfg_dir".
55
56   pause_cfg_dir
57       This is the directory for resolving a relative "pause_cfg_file".  it
58       defaults to the glob expansion of ~.
59
60   pause_cfg
61       This is a hashref of defaults loaded from ~/.pause -- this attribute is
62       subject to removal in future versions, as the config-loading behavior
63       in CPAN::Uploader is improved.
64
65   subdir
66       If given, this specifies a subdirectory under the user's home directory
67       to which to upload.  Using this option is not recommended.
68
69   upload_uri
70       If given, this specifies an alternate URI for the PAUSE upload form.
71       By default, the default supplied by CPAN::Uploader is used.  Using this
72       option is not recommended in most cases.
73
74   retries
75       The number of retries to perform on upload failure (5xx response). The
76       default is set to 3 by this plugin. This option will be passed to
77       CPAN::Uploader.
78
79   retry_delay
80       The number of seconds to wait between retries. The default is set to 5
81       seconds by this plugin. This option will be passed to CPAN::Uploader.
82

AUTHOR

84       Ricardo SIGNES 😏 <rjbs@cpan.org>
85
87       This software is copyright (c) 2020 by Ricardo SIGNES.
88
89       This is free software; you can redistribute it and/or modify it under
90       the same terms as the Perl 5 programming language system itself.
91
92
93
94perl v5.32.0                      2020-11-0D3ist::Zilla::Plugin::UploadToCPAN(3)
Impressum