Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

set up Dist::Zilla to handle versioning, changelog, release etc

  • Loading branch information...
commit 2939c4f10b43109cf57672b1bf5cfc288edb7b15 1 parent 69114b3
Grant McLean authored
6 Changes
View
@@ -1,4 +1,8 @@
-Revision history for App-BCVI
+Revision history for {{$dist->name}}
+
+{{$NEXT}}
+ - add $HOME/bin to $PATH if not there already
+ - switch packaging to use Dist::Zilla
3.04 2010-11-27
- add -r option so that bcp can copy directories too
9 MANIFEST
View
@@ -1,9 +0,0 @@
-bin/bcvi
-Changes
-lib/App/BCVI.pod
-lib/App/BCVI/Plugins.pod
-Makefile.PL
-MANIFEST
-README
-t/00_syntax.t
-t/pod.t
20 Makefile.PL
View
@@ -1,20 +0,0 @@
-use strict;
-use warnings;
-
-use 5.008;
-
-use ExtUtils::MakeMaker;
-
-WriteMakefile(
- NAME => 'App::BCVI',
- AUTHOR => 'Grant McLean <grantm@cpan.org>',
- VERSION_FROM => 'bin/bcvi',
- ABSTRACT_FROM => 'lib/App/BCVI.pod',
- PL_FILES => {},
- PREREQ_PM => {
- 'Test::More' => 0,
- },
- EXE_FILES => [ qw(bin/bcvi) ],
- dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
- clean => { FILES => 'App-BCVI-*' },
-);
91 README
View
@@ -1,91 +0,0 @@
-App-BCVI
-
-This distribution provides the 'bcvi' utility which works with SSH to
-provide a 'back channel' from the SSH server back to your workstation.
-Messages sent over the back channel can initiate a number of tasks
-including invoking a GUI editor on your workstation and instructing it
-to open a file on the server. A number of back channel commands are
-available 'out of the box' and you can write plugins to add more.
-
-
-INSTALLATION
-
-The 'bcvi' program is a standalone script with no companion modules and
-no non-core dependencies. To install it, simply copy the bin/bcvi file
-from the distribution to a directory in your search PATH. Alternatively,
-you can use the standard CPAN installation procedure to install the
-script to /usr/local/bin:
-
- perl Makefile.PL
- make
- make test
- make install
-
-The backchannel protocol requires a client and a server - the 'bcvi' script
-performs both roles. The server runs on your workstation and is typically
-launched by adding this command to your X session startup:
-
- bcvi --listener
-
-When connecting to a server you will want to use this command to wrap the
-SSH command and add the required port forwarding options:
-
- bcvi --wrap-ssh -- hostname
-
-It is probably more convenient to set up an alias so that this happens on
-every SSH connection. Use this command to add the appropriate aliases to
-your bash startup scripts:
-
- bcvi --add-aliases
-
-Now that you have the server set up and ssh connection wrapping in place,
-you need to install 'bcvi' on the machine you will ssh to:
-
- bcvi --install HOSTNAME
-
-Now that the installation is complete, when you log in to the machine
-using SSH, a number of shell aliases will be available to you:
-
- vi
- Invokes gvim on your workstation, passing it an scp://... URL
- of the file(s) you wish to edit
-
- suvi
- Same as above, but uses sudoedit so system files (requiring
- root access) can be edited too
-
- bcp
- Copies the named file back to your workstation desktop
-
-SUPPORT AND DOCUMENTATION
-
-The 'bcvi' command has built-in documentation which you can read with:
-
- bcvi --help
-
-To find out more about writing and installing plugins, use perldoc:
-
- perldoc App::BCVI
-
-You can also look for information at:
-
- RT, CPAN's request tracker
- http://rt.cpan.org/NoAuth/Bugs.html?Dist=App-BCVI
-
- AnnoCPAN, Annotated CPAN documentation
- http://annocpan.org/dist/App-BCVI
-
- CPAN Ratings
- http://cpanratings.perl.org/d/App-BCVI
-
- Search CPAN
- http://search.cpan.org/dist/App-BCVI
-
-
-COPYRIGHT AND LICENCE
-
-Copyright (C) 2007-2010 Grant McLean
-
-This program is free software; you can redistribute it and/or modify it
-under the same terms as Perl itself.
-
2  bin/bcvi
View
@@ -26,8 +26,6 @@ require 5.008;
package App::BCVI;
-our $VERSION = '3.04';
-
use File::Spec;
use File::Path;
use Getopt::Long qw();
22 dist.ini
View
@@ -0,0 +1,22 @@
+name = App-BCVI
+author = Grant McLean <grantm@cpan.org>
+version = 3.05
+license = Perl_5
+copyright_holder = Grant McLean
+copyright_year = 2011
+main_module = bin/bcvi
+repository = git://github.com/grantm/bcvi.git
+
+[Repository]
+[@Basic]
+[NextRelease]
+[PodSyntaxTests]
+[MetaJSON]
+[PkgVersion]
+[@Git]
+
+[Prereqs]
+perl = 5.008
+
+[Prereqs / TestRequires]
+Test::More = 0.88
12 t/pod.t
View
@@ -1,12 +0,0 @@
-#!perl -T
-
-use strict;
-use warnings;
-use Test::More;
-
-# Ensure a recent version of Test::Pod
-my $min_tp = 1.22;
-eval "use Test::Pod $min_tp";
-plan skip_all => "Test::Pod $min_tp required for testing POD" if $@;
-
-all_pod_files_ok();
Please sign in to comment.
Something went wrong with that request. Please try again.