perl-Dist-Zilla-Plugin-Beam-Connector-0.001003-alt1.noarch.rpm


Advertisement

Description

perl-Dist-Zilla-Plugin-Beam-Connector - Connect events to listeners in Dist::Zilla plugins

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Dist-Zilla-Plugin-Beam-Connector
Package version 0.001003
Package release alt1
Package architecture noarch
Package type rpm
Installed size 44.80 KB
Download size 44.80 KB
Official Mirror ftp.altlinux.org
This module aims to allow `Dist::Zilla' to use plugins
using `Beam::Event' and `Beam::Emitter',
and perhaps reduce the need for massive amounts of composition and role application
proliferating `CPAN'.
This is in lieu of a decent dependency injection system, and is presently relying
on `Dist::Zilla' to load and construct the plugins itself, and then you just connect
the plugins together informally, without necessitating each plugin be specifically
tailored to the recipient.
Hopefully, this may also give scope for non-`dzil' plugins being loadable into memory
some day, and allowing message passing of events to those plugins. ( Hence, the `plugin:' prefix )
A Real World Example of what a future could look like?
[GatherDir]
[Test::Compile]
[Beam::Connector]
on = plugin:GatherDir#collect => plugin:Test::Compile#generate_test
`GatherDir' in this example would build a mutable tree of files,
attach them to an event `::GatherDir::Tree', and pass that event to `Test::Compile#generate_test',
which would then add ( or remove, or mutate ) any files in that tree.
Tree state mutation then happens in order of prescription, in the order given
by the various `on' declarations.
Thus, a single plugin can be in 2 places in the same logical stage.
[Beam::Connector]
on = plugin:GatherDir#collect => plugin:Test::Compile#generate_test
; lots more collectors here
on = plugin:GatherDir#collect => plugin:Test::Compile#finalize_test
Whereas presently, order of affect is either governed by:
=over 4
=item * phase - where you can add but not remove or mutate, mutate but not add or remove, remove, but not add or mutate
=item * plugin order - where a single plugin cant be both early in a single phase and late
=back
If that example is not convincing enough for you, consider all the different ways
there are presently for implementing `[MakeMaker]'. If you're following the standard logic
its fine, but as soon as you set out of the box, you have a few things you're going to have to do instead:
=over 4
=item ...

Alternatives

Package Version Architecture Repository
perl-Dist-Zilla-Plugin-Beam-Connector - - -

Requires

Name Value
/usr/share/perl5 -
perl(Beam/Wire.pm) -
perl(Dist/Zilla/Role/Plugin.pm) -
perl(Moose.pm) -
perl(MooseX/LazyRequire.pm) -
perl(Path/Tiny.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Dist/Zilla/Plugin/Beam/Connector.pm) = 0.001.003
perl-Dist-Zilla-Plugin-Beam-Connector = 0.001003-alt1

Download

Type URL
Binary Package perl-Dist-Zilla-Plugin-Beam-Connector-0.001003-alt1.noarch.rpm
Source Package perl-Dist-Zilla-Plugin-Beam-Connector-0.001003-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Dist-Zilla-Plugin-Beam-Connector rpm package:
    # sudo apt-get install perl-Dist-Zilla-Plugin-Beam-Connector

Files

Path
/usr/share/doc/perl-Dist-Zilla-Plugin-Beam-Connector-0.001003/Changes
/usr/share/doc/perl-Dist-Zilla-Plugin-Beam-Connector-0.001003/LICENSE
/usr/share/doc/perl-Dist-Zilla-Plugin-Beam-Connector-0.001003/README
/usr/share/doc/perl-Dist-Zilla-Plugin-Beam-Connector-0.001003/examples/
/usr/share/doc/perl-Dist-Zilla-Plugin-Beam-Connector-0.001003/examples/neo-makemaker/beam.yml
/usr/share/doc/perl-Dist-Zilla-Plugin-Beam-Connector-0.001003/examples/neo-makemaker/dist.ini
/usr/share/doc/perl-Dist-Zilla-Plugin-Beam-Connector-0.001003/examples/neo-makemaker/inc/
/usr/share/doc/perl-Dist-Zilla-Plugin-Beam-Connector-0.001003/examples/neo-makemaker/inc/My/NeoDynDeps.pm
/usr/share/doc/perl-Dist-Zilla-Plugin-Beam-Connector-0.001003/examples/neo-makemaker/inc/My/NeoDynDepsLite.pm
/usr/share/doc/perl-Dist-Zilla-Plugin-Beam-Connector-0.001003/examples/neo-makemaker/inc/My/NeoMakeMaker.pm
/usr/share/doc/perl-Dist-Zilla-Plugin-Beam-Connector-0.001003/examples/neo-makemaker/lib/
/usr/share/doc/perl-Dist-Zilla-Plugin-Beam-Connector-0.001003/examples/neo-makemaker/lib/Example/NeoMaker.pm
/usr/share/perl5/Dist/
/usr/share/perl5/Dist/Zilla/
/usr/share/perl5/Dist/Zilla/Plugin/
/usr/share/perl5/Dist/Zilla/Plugin/Beam/Connector.pm

See Also

Package Description
perl-Dist-Zilla-Plugin-Bitbucket-0.001-alt1.noarch.rpm Plugins to integrate Dist::Zilla with Bitbucket
perl-Dist-Zilla-Plugin-BlockRelease-0.003-alt1.noarch.rpm Prevent a release from occurring
perl-Dist-Zilla-Plugin-Bootstrap-ShareDir-Dist-1.001002-alt1.noarch.rpm Use a C<share> directory on your dist during bootstrap
perl-Dist-Zilla-Plugin-Bootstrap-ShareDir-Module-1.001002-alt1.noarch.rpm Use a share directory on your dist for a module during bootstrap
perl-Dist-Zilla-Plugin-Bugtracker-1.111080-alt3_8.noarch.rpm Automatically sets the bugtracker URL
perl-Dist-Zilla-Plugin-BuildFile-0.04-alt2_6.noarch.rpm Build files by running an external command
perl-Dist-Zilla-Plugin-BuildSelf-0.004-alt1.noarch.rpm Build a Build.PL that uses the current module to build itself
perl-Dist-Zilla-Plugin-BumpVersionAfterRelease-0.018-alt1.noarch.rpm Bump module versions after distribution release
perl-Dist-Zilla-Plugin-BumpVersionFromGit-0.010-alt1_3.noarch.rpm Provide a version number by bumping the last git release tag
perl-Dist-Zilla-Plugin-BundleInspector-0.004-alt1.noarch.rpm Gather prereq and config info from PluginBundles
perl-Dist-Zilla-Plugin-CPAN-Mini-Inject-REST-0.004-alt1.noarch.rpm Uploads to a L<CPAN::Mini::Inject> mirror using L<CPAN::Mini::Inject::REST>
perl-Dist-Zilla-Plugin-CSS-Compressor-0.02-alt1.noarch.rpm Compress CSS files
perl-Dist-Zilla-Plugin-Catalyst-0.15-alt3_8.noarch.rpm A subclass of Catalyst::Helper
perl-Dist-Zilla-Plugin-ChangeStats-Dependencies-Git-0.0200-alt1.noarch.rpm Add dependency changes to the changelog
perl-Dist-Zilla-Plugin-ChangeStats-Git-0.6.0-alt1_2.noarch.rpm Provides an accessor for the changelog
Advertisement
Advertisement