| 1 |
SYNOPSIS |
| 2 |
|
| 3 |
# dist.ini |
| 4 |
[Repository] |
| 5 |
|
| 6 |
DESCRIPTION |
| 7 |
|
| 8 |
The code is mostly a copy-paste of Module::Install::Repository |
| 9 |
|
| 10 |
ATTRIBUTES |
| 11 |
|
| 12 |
* git_remote |
| 13 |
|
| 14 |
This is the name of the remote to use for the public repository (if |
| 15 |
you use Git). By default, unsurprisingly, to origin. |
| 16 |
|
| 17 |
* github_http |
| 18 |
|
| 19 |
This attribute is deprecated. If the remote is a GitHub repository, |
| 20 |
list only the https url |
| 21 |
(https://github.com/fayland/dist-zilla-plugin-repository) and not the |
| 22 |
actual clonable url |
| 23 |
(git://github.com/fayland/dist-zilla-plugin-repository.git). This |
| 24 |
used to default to true, but as of 0.16 it defaults to false. |
| 25 |
|
| 26 |
The CPAN Meta 2 spec defines separate keys for the clonable url and |
| 27 |
web front-end web. The Meta 1 specs allowed only 1 URL. If you set |
| 28 |
github_http to true, the url key will be removed from the v2 |
| 29 |
metadata, and the v1 metadata will then use the web key. |
| 30 |
|
| 31 |
Instead of setting github_http, you should use the MetaJSON plugin to |
| 32 |
include a v2 META.json file with both URLs. |
| 33 |
|
| 34 |
* repository |
| 35 |
|
| 36 |
You can set this attribute if you want a specific repository instead |
| 37 |
of the plugin to auto-identify your repository. |
| 38 |
|
| 39 |
An example would be if you're releasing a module from your fork, and |
| 40 |
you don't want it to identify your fork, so you can specify the |
| 41 |
repository explicitly. |
| 42 |
|
| 43 |
In the Meta 2 spec, this is the url key. |
| 44 |
|
| 45 |
* type |
| 46 |
|
| 47 |
This should be the (lower-case) name of the most common program used |
| 48 |
to work with the repository, e.g. git, svn, cvs, darcs, bzr or hg. |
| 49 |
It's normally determined automatically, but you can override it. |
| 50 |
|
| 51 |
* web |
| 52 |
|
| 53 |
This is a URL pointing to a human-usable web front-end for the |
| 54 |
repository. |
| 55 |
|