# # # delete "TODO" # # rename "Monotone" # to "lib/Monotone" # # add_dir "lib" # # add_dir "t" # # add_file "Changes" # content [b01572fbd90513d6fe90e8a0d348e720630ddad7] # # add_file "MANIFEST" # content [cea776c8dbb3e180d48f294797a71c70de4c23f3] # # add_file "Makefile.PL" # content [a303ccaf5aee1e1df22473f75aabe79ae33d963c] # # add_file "t/Monotone-AutomateStdio.t" # content [0d0cae6885a56fbccdcd69e3478c053e248b49f3] # # patch "README" # from [b2ce5b2c66b387d269d1d0805f98ec69d5d4b3a2] # to [1be3084251d0a674490bf0deab76c188012ab933] # # patch "lib/Monotone/AutomateStdio.pm" # from [0673efce096d2d24e0ffaaf20363835da4368bfa] # to [83338652c66b033cf3f0d8c7deef7524763b507f] # # patch "lib/Monotone/AutomateStdio.pod" # from [4522861caf060006887df51877faa992d60e318c] # to [4a0113106117d0365ab7e94c840c903542645093] # ============================================================ --- Changes b01572fbd90513d6fe90e8a0d348e720630ddad7 +++ Changes b01572fbd90513d6fe90e8a0d348e720630ddad7 @@ -0,0 +1,6 @@ +Revision history for Perl extension Monotone::AutomateStdio. + +0.01 Sun Nov 9 12:48:46 2008 + - original version; created by h2xs 1.23 with options + -X -n Monotone::AutomateStdio + ============================================================ --- MANIFEST cea776c8dbb3e180d48f294797a71c70de4c23f3 +++ MANIFEST cea776c8dbb3e180d48f294797a71c70de4c23f3 @@ -0,0 +1,9 @@ +COPYING +Changes +MANIFEST +Makefile.PL +README +lib/Monotone/AutomateStdio.pm +lib/Monotone/AutomateStdio.pod +mtn-tester +t/Monotone-AutomateStdio.t ============================================================ --- Makefile.PL a303ccaf5aee1e1df22473f75aabe79ae33d963c +++ Makefile.PL a303ccaf5aee1e1df22473f75aabe79ae33d963c @@ -0,0 +1,12 @@ +use 5.008005; +use ExtUtils::MakeMaker; +# See lib/ExtUtils/MakeMaker.pm for details of how to influence +# the contents of the Makefile that is written. +WriteMakefile( + NAME => 'Monotone::AutomateStdio', + VERSION_FROM => 'lib/Monotone/AutomateStdio.pm', + PREREQ_PM => {}, + ($] >= 5.005 ? + (ABSTRACT_FROM => 'lib/Monotone/AutomateStdio.pod', + AUTHOR => 'Anthony E Cooper ') : ()), +); ============================================================ --- t/Monotone-AutomateStdio.t 0d0cae6885a56fbccdcd69e3478c053e248b49f3 +++ t/Monotone-AutomateStdio.t 0d0cae6885a56fbccdcd69e3478c053e248b49f3 @@ -0,0 +1,15 @@ +# Before `make install' is performed this script should be runnable with +# `make test'. After `make install' it should work as `perl Monotone-AutomateStdio.t' + +######################### + +# change 'tests => 1' to 'tests => last_test_to_print'; + +use Test::More tests => 1; +BEGIN { use_ok('Monotone::AutomateStdio') }; + +######################### + +# Insert your test code below, the Test::More module is use()ed here so read +# its man page ( perldoc Test::More ) for help writing this test script. + ============================================================ --- README b2ce5b2c66b387d269d1d0805f98ec69d5d4b3a2 +++ README 1be3084251d0a674490bf0deab76c188012ab933 @@ -1,2 +1,63 @@ -This is a Perl library module for accessing Monotone's automate stdio interface. -See the POD file for further details. +Monotone::AutomateStdio version 0.1 +=================================== + +This is a Perl library module for accessing Monotone's automate stdio +interface. Monotone is a distributed, change-set, based SCM system. It has a +mode where commands can be sent to it via STDIN and output read from it via +STDOUT. Monontone::AutomateStdio makes use of this facility to provide the Perl +programmer with a programmatic interface to Monotone. + +For further details on Monotone see http://monotone.ca. + + +INSTALLATION +------------ + +To install this module type the following: + + perl Makefile.PL + make + make test + make install + +Please note that automated testing of this library module is still `work in +progress'. There is a test harness called mtn-tester that can be used to test +most important features of this library. However, it does require not only the +installation of Monotone, as you would expect, but also a test database with +certain revisions and files in it. At the moment this is done by using a +dedicated branch in the main Monotone database found at monotone.ca. The test +branch is called net.venge.monotone.contrib.lib.automate-stdio.test. + +In time I hope to write a Monotone emulator that generates the required output +to test the library, or perhaps just have a smaller database generated on the +fly. + + +DEPENDENCIES +------------ + +This module requires these other modules and libraries: + + Perl 5.8.5 + +Older versions of Perl may work but these have not been tested at this point in +time. + + +COPYRIGHT AND LICENCE +--------------------- + +Copyright (c) 2007 Anthony Edward Cooper . + +This library is free software; you can redistribute it and/or modify it under +the terms of the GNU Lesser General Public License as published by the Free +Software Foundation; either version 3 of the License, or (at your option) any +later version. + +This library is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public License along +with this library; if not, write to the Free Software Foundation, Inc., 59 +Temple Place - Suite 330, Boston, MA 02111-1307 USA. ============================================================ --- lib/Monotone/AutomateStdio.pm 0673efce096d2d24e0ffaaf20363835da4368bfa +++ lib/Monotone/AutomateStdio.pm 83338652c66b033cf3f0d8c7deef7524763b507f @@ -306,7 +306,7 @@ Exporter::export_ok_tags(qw(capabilities MTN_SEVERITY_WARNING)]); our @EXPORT = qw(); Exporter::export_ok_tags(qw(capabilities severities)); -our $VERSION = 0.8; +our $VERSION = 0.1; # ############################################################################## # ============================================================ --- lib/Monotone/AutomateStdio.pod 4522861caf060006887df51877faa992d60e318c +++ lib/Monotone/AutomateStdio.pod 4a0113106117d0365ab7e94c840c903542645093 @@ -6,7 +6,7 @@ Monotone::AutomateStdio - Perl interface =head1 VERSION -0.8 +0.1 =head1 SYNOPSIS