Dist-Zilla-PluginBundle-Codeberg

 view release on metacpan or  search on metacpan

README.mkdn  view on Meta::CPAN

# NAME

Dist::Zilla::PluginBundle::Codeberg - Access Codeberg functionality to maintain distros from Dist::Zilla

# VERSION

version 2.0100

# SYNOPSIS

Configure git with your Codeberg credentials:

    $ git config --global codeberg.user LoginName
    $ git config --global codeberg.token AccessToken

Alternatively you can install [Config::Identity](https://metacpan.org/pod/Config%3A%3AIdentity) and write your credentials
in the (optionally GPG-encrypted) `~/.codeberg` file as follows:

    login LoginName
    token AccessToken

Set up an access token on Codeberg, in your profile under "Personal Access Tokens." You
must grant the token the `api` scope!

then, in your `dist.ini`:

    [@Codeberg]
    repo = SomeRepo

# DESCRIPTION

This bundle automatically adds the plugins
[Codeberg::Meta](https://metacpan.org/pod/Dist%3A%3AZilla%3A%3APlugin%3A%3ACodeberg%3A%3AMeta)
and [Codeberg::Update](https://metacpan.org/pod/Dist%3A%3AZilla%3A%3APlugin%3A%3ACodeberg%3A%3AUpdate).

# ATTRIBUTES

- `bugs`

    The META bugtracker web field will be set to the issue's page of the repository
    on Codeberg, if this options is set to true (default) and if the Codeberg Issues happen to
    be activated (see the Codeberg repository's `Admin` panel).

- `fork`

    If the repository is a Codeberg fork of another repository this option will make
    all the information be taken from the original repository instead of the forked
    one, if it's set to true (default).

- `metacpan`

    The Codeberg homepage field will be set to the metacpan.org distribution URL
    (e.g. `https://metacpan.org/release/Dist-Zilla-Plugin-Codeberg`) if this option is set to true
    (default is false).

    This takes precedence over the `p3rl` options (if both are
    true, metacpan will be used).

- `meta_home`

    The Codeberg homepage field will be set to the value present in the dist meta
    (e.g. the one set by other plugins) if this option is set to true (default is
    false). If no value is present in the dist meta, this option is ignored.

    This takes precedence over the `metacpan` and `p3rl` options (if all
    three are true, meta\_home will be used).

- `p3rl`

    The Codeberg homepage field will be set to the p3rl.org shortened URL
    (e.g. `https://p3rl.org/Dist::Zilla::PluginBundle::Codeberg`) if this option is set to true (default is
    false).

- `remote`

    Specifies the git remote name to be used when guessing the repo name (default `origin`). 



( run in 0.506 second using v1.01-cache-2.11-cpan-cdf2f3d4e48 )