[Bps-public-commit] RT-Extension-ExtractCustomFieldValues branch, master, updated. 3.04-17-g17bb18d
Kevin Falcone
falcone at bestpractical.com
Tue Sep 29 10:34:49 EDT 2009
The branch, master has been updated
via 17bb18d755109346652f9477321ff91763dbbb41 (commit)
via 4fd65f7806a1c7fc341f1511aa0dec27775980a1 (commit)
via f5e0fe7cd6cb2408751ffb4c68f4fcfd62a4b475 (commit)
from 13006d0c15dcf9ac7493b99adc4c84581b9f5f75 (commit)
Summary of changes:
Changes | 6 +++++
MANIFEST | 3 ++
META.yml | 2 +-
README | 10 ++++++--
SIGNATURE | 29 +++++++++++++------------
UPGRADING | 13 +++++++++++
etc/upgrade/3.06/initialdata | 8 +++++++
lib/RT/Extension/ExtractCustomFieldValues.pm | 8 +++++-
8 files changed, 59 insertions(+), 20 deletions(-)
create mode 100644 UPGRADING
create mode 100644 etc/upgrade/3.06/initialdata
- Log -----------------------------------------------------------------
commit f5e0fe7cd6cb2408751ffb4c68f4fcfd62a4b475
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Tue Sep 29 10:30:17 2009 -0400
update changes and provide upgrade instructions
diff --git a/Changes b/Changes
index ca706df..042a431 100644
--- a/Changes
+++ b/Changes
@@ -1,3 +1,9 @@
+3.06
+
+New 'Extract Custom Field Values With Code in Template' action
+that allows your ExtractCustomFieldValues template to contain
+Text::Template code in case your template needs to be dynamic.
+
3.05
doc updates
get rid of uninit warnings
diff --git a/MANIFEST b/MANIFEST
index ca3714a..e91545f 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,5 +1,6 @@
Changes
etc/initialdata
+etc/upgrade/3.06/initialdata
inc/Module/Install.pm
inc/Module/Install/Base.pm
inc/Module/Install/Can.pm
@@ -12,9 +13,11 @@ inc/Module/Install/RTx/Factory.pm
inc/Module/Install/Win32.pm
inc/Module/Install/WriteAll.pm
lib/RT/Action/ExtractCustomFieldValues.pm
+lib/RT/Action/ExtractCustomFieldValuesWithCodeInTemplate.pm
lib/RT/Extension/ExtractCustomFieldValues.pm
Makefile.PL
MANIFEST This list of files
META.yml
README
SIGNATURE
+UPGRADING
diff --git a/UPGRADING b/UPGRADING
new file mode 100644
index 0000000..92d0fd5
--- /dev/null
+++ b/UPGRADING
@@ -0,0 +1,13 @@
+Upgrading from 3.05 or earlier
+
+3.06 added a new Scrip Action that will need to be added
+to your database. You can do this with the rt-setup-database
+tool:
+
+ /opt/rt3/sbin/rt-setup-database --action insert --datadir etc/upgrade/3.06/
+
+This will prompt for your rt database password and then add a new
+scrip action that you can use to add Text::Template preprocessing to
+your ECFV templates.
+
+-kevin
diff --git a/etc/upgrade/3.06/initialdata b/etc/upgrade/3.06/initialdata
new file mode 100644
index 0000000..8519039
--- /dev/null
+++ b/etc/upgrade/3.06/initialdata
@@ -0,0 +1,8 @@
+ at ScripActions = (
+ { Name => 'Extract Custom Field Values With Code in Template', # loc
+ Description => 'extract cf-values out of a message with a Text::Template template', # loc
+ ExecModule => 'ExtractCustomFieldValuesWithCodeInTemplate' }
+
+);
+
+1;
commit 4fd65f7806a1c7fc341f1511aa0dec27775980a1
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Tue Sep 29 10:30:53 2009 -0400
Update README to talk about UPGRADING
diff --git a/README b/README
index 1f77ff4..2d6e07b 100644
--- a/README
+++ b/README
@@ -11,13 +11,17 @@ INSTALLATION
perl Makefile.PL
make
make install
- make initdb # first time only
+ make initdb # first time only, not on upgrades
When using this extension with RT 3.8, you will need to add extension to
the Plugins configuration:
Set( @Plugins, qw(... RT::Extension::ExtractCustomFieldValues) );
+ If you are upgrading this extension from 3.05 or earlier, you will need
+ to read the UPGRADING file after running make install to add the new
+ Scrip Action.
+
USAGE
To use the ScripAction, create a Template and a Scrip in RT. Your new
Scrip should use a ScripAction of 'Extract Custom Field Values'. The
@@ -71,8 +75,8 @@ AUTHOR
maintained by Best Practical Solutions.
BUGS
- Report bugs using http://rt.cpan.org service, discuss on RT's mailing
- lists, see also </SUPPORT>
+ Report bugs using <http://rt.cpan.org> service, discuss on RT's mailing
+ lists, see also "SUPPORT"
SUPPORT
Support requests should be referred to Best Practical
diff --git a/lib/RT/Extension/ExtractCustomFieldValues.pm b/lib/RT/Extension/ExtractCustomFieldValues.pm
index 48d0109..894e988 100644
--- a/lib/RT/Extension/ExtractCustomFieldValues.pm
+++ b/lib/RT/Extension/ExtractCustomFieldValues.pm
@@ -24,13 +24,17 @@ to set values of custom fields.
perl Makefile.PL
make
make install
- make initdb # first time only
+ make initdb # first time only, not on upgrades
When using this extension with RT 3.8, you will need to add
extension to the Plugins configuration:
Set( @Plugins, qw(... RT::Extension::ExtractCustomFieldValues) );
+If you are upgrading this extension from 3.05 or earlier, you will
+need to read the UPGRADING file after running make install to add
+the new Scrip Action.
+
=head1 USAGE
To use the ScripAction, create a Template and a Scrip in RT.
commit 17bb18d755109346652f9477321ff91763dbbb41
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Tue Sep 29 10:31:34 2009 -0400
Bump version and update signature for release
diff --git a/META.yml b/META.yml
index 31a7d13..39fcc55 100644
--- a/META.yml
+++ b/META.yml
@@ -17,4 +17,4 @@ no_index:
directory:
- etc
- inc
-version: 3.05
+version: 3.06_01
diff --git a/SIGNATURE b/SIGNATURE
index 1d281a8..b0cddac 100644
--- a/SIGNATURE
+++ b/SIGNATURE
@@ -14,28 +14,29 @@ not run its Makefile.PL or Build.PL.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-SHA1 c1444e5e6a2a92c49445a6f61430e582af4a59e4 Changes
-SHA1 0c6518956ed0ca1fd45328c264e6207687a30c8e MANIFEST
-SHA1 4a23cc2786c31767df3c6d848a6459f492a4c6ad META.yml
-SHA1 478a1a8f886df5109348d6c3842f48f8b748e8b4 Makefile.PL
-SHA1 c10c54df59f23e784b81830fb7c9c0d429082c03 README
-SHA1 d18839748db89f5eac89af4f81959be79ecaf8d4 etc/initialdata
+SHA1 b270760f2b81d90b1af17e288dfb3550bbd276dc Changes
+SHA1 86c436abc559a68dc644a71a248d638ab6c38402 MANIFEST
+SHA1 9997d8ccc30c39320d4cdb8a39936e49639fe275 META.yml
+SHA1 f013590b3c0a1352ed91bbf307355a1328c5bb08 Makefile.PL
+SHA1 f61f232f85c36443b6f6beed2a1b28fbf8593f90 README
+SHA1 8e4bd35b5d8065accfe7c1ae43aeae04b73cbc5d etc/initialdata
SHA1 fd5f3c4f0418efee3b9b16cf8c3902e8374909df inc/Module/Install.pm
SHA1 7cd7c349afdf3f012e475507b1017bdfa796bfbd inc/Module/Install/Base.pm
SHA1 ba186541bbf6439111f01fc70769cf24d22869bf inc/Module/Install/Can.pm
SHA1 aaa50eca0d7751db7a4d953fac9bc72c6294e238 inc/Module/Install/Fetch.pm
SHA1 3e83972921d54198d1246f7278f08664006cd65d inc/Module/Install/Makefile.pm
SHA1 12bf1867955480d47d5171a9e9c6a96fabe0b58f inc/Module/Install/Metadata.pm
-SHA1 4c845c66385929c9d080228ddf2e730066b310d3 inc/Module/Install/RTx.pm
-SHA1 449e998bb26b566ce352948ae08906f3448ebcba inc/Module/Install/RTx/Factory.pm
+SHA1 0fbbabdeee1a0f7481ebb4cf7c4931d1036fbe0d inc/Module/Install/RTx.pm
+SHA1 d79505362d28a6e284f9365fbdaaa9198117eb97 inc/Module/Install/RTx/Factory.pm
+SHA1 a615bb050ca0b2d79bfa0224addcb83019a53b09 inc/Module/Install/ReadmeFromPod.pm
SHA1 f7ee667e878bd2faf22ee9358a7b5a2cc8e91ba4 inc/Module/Install/Win32.pm
SHA1 8ed29d6cf217e0977469575d788599cbfb53a5ca inc/Module/Install/WriteAll.pm
-SHA1 30871e53335259263fe2e55dd86761f8be845062 lib/RT/Action/ExtractCustomFieldValues.pm
-SHA1 d8ae330918315482546c932ad2b2eae49caab193 lib/RT/Extension/ExtractCustomFieldValues.pm
+SHA1 51d7e1d8195ac55b41a327a53410b607c9e8e9b9 lib/RT/Action/ExtractCustomFieldValues.pm
+SHA1 a5fff526030542489f78015b345364f34e41ee25 lib/RT/Extension/ExtractCustomFieldValues.pm
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.9 (Darwin)
+Version: GnuPG v1.4.10 (Darwin)
-iEYEARECAAYFAkp7kZQACgkQ0+gKWp5CJQrP4wCgh7abWFY3E/7/EXPhxaxfSAjo
-3EAAnA6pLJ31X1zWFNk7G8VmM5LGUknv
-=c7jS
+iEYEARECAAYFAkrCGbsACgkQ0+gKWp5CJQpIqgCghILniDopG6AYLT8qYmcd1bTZ
+OSEAoOY5jnHp59oWiNycLwKlgy0hU0Pt
+=Awbv
-----END PGP SIGNATURE-----
diff --git a/lib/RT/Extension/ExtractCustomFieldValues.pm b/lib/RT/Extension/ExtractCustomFieldValues.pm
index 894e988..6387366 100644
--- a/lib/RT/Extension/ExtractCustomFieldValues.pm
+++ b/lib/RT/Extension/ExtractCustomFieldValues.pm
@@ -9,7 +9,7 @@ RT::Extension::ExtractCustomFieldValues - extract CF values from email headers o
=cut
-our $VERSION = '3.05';
+our $VERSION = '3.06_01';
1;
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list