[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch master updated. 50c39d81e9f9404b2d9835c1c24e3f6ea22556f9

Evergreen Git git at git.evergreen-ils.org
Thu Aug 7 17:39:40 EDT 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  50c39d81e9f9404b2d9835c1c24e3f6ea22556f9 (commit)
       via  af29ca42e869a66d214261c194e25848b8d585b1 (commit)
       via  e19d29a330c2231dd3d10ab3652f55bef4a0aaea (commit)
      from  949660309b5e2496a126ab8464df30656ebb7dfe (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 50c39d81e9f9404b2d9835c1c24e3f6ea22556f9
Author: Ben Shum <bshum at biblio.org>
Date:   Thu Aug 7 17:37:13 2014 -0400

    LP#1351355: Add release note on change to XLSX format for Excel report output
    
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/docs/RELEASE_NOTES_NEXT/Administration/bigger_report_outputs.txt b/docs/RELEASE_NOTES_NEXT/Administration/bigger_report_outputs.txt
new file mode 100644
index 0000000..35bb1cc
--- /dev/null
+++ b/docs/RELEASE_NOTES_NEXT/Administration/bigger_report_outputs.txt
@@ -0,0 +1,7 @@
+Switch to XLSX format for Excel report output
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+With previous versions of Evergreen, reports generated in the Excel output
+were limited to a maximum of 64,000 rows.  This was a limitation due to the 
+Excel format ".xls". Now, new report outputs for Excel will use format ".xlsx"
+which allows for much larger report output rows.
+

commit af29ca42e869a66d214261c194e25848b8d585b1
Author: Ben Shum <bshum at biblio.org>
Date:   Thu Aug 7 17:31:41 2014 -0400

    LP#1351355: Use libexcel-writer-xlsx-perl package for Ubuntu Trusty
    
    Since Ubuntu 14.04 Trusty has a more recent packaged version of
    libexcel-writer-xlsx-perl, use that instead of installing from CPAN
    for Excel::Writer::XLSX.
    
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/src/extras/install/Makefile.ubuntu-trusty b/Open-ILS/src/extras/install/Makefile.ubuntu-trusty
index 1b5e0db..6bc611a 100644
--- a/Open-ILS/src/extras/install/Makefile.ubuntu-trusty
+++ b/Open-ILS/src/extras/install/Makefile.ubuntu-trusty
@@ -24,6 +24,7 @@ export DEBS = \
 	libdbi-dev \
 	libemail-send-perl\
 	libemail-simple-perl\
+	libexcel-writer-xlsx-perl\
 	libgd-graph3d-perl\
 	liblibrary-callnumber-lc-perl \
 	liblocale-maketext-lexicon-perl\
@@ -77,7 +78,6 @@ export DEB_APACHE_DISCONF = \
     serve-cgi-bin
 
 export CPAN_MODULES = \
-	Excel::Writer::XLSX \
 	Business::CreditCard::Object \
 	Business::OnlinePayment::PayPal \
 	Safe

commit e19d29a330c2231dd3d10ab3652f55bef4a0aaea
Author: Mike Rylander <mrylander at gmail.com>
Date:   Fri Aug 1 11:26:38 2014 -0400

    LP#1351355: Switch to XLSX format for Excel report output
    
    We've always used Spreadsheet::WriteExcel::Big to generate Excel output
    from reports. That module has a limitation of 64k rows, imposed by the
    binary Excel format. Recently, the Excel::Writer::XLSX module has become
    feature-complete enough that we can use that instead, and the XML format
    files that it writes are now supported by the majority of installed
    versions of Excel (and OpenOffice) -- the format arrived with Excel 2007,
    released in 2006 (8 years ago). So, let's switch to that!
    
    Signed-off-by: Mike Rylander <mrylander at gmail.com>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/src/extras/install/Makefile.debian-squeeze b/Open-ILS/src/extras/install/Makefile.debian-squeeze
index a61cc37..2d6bdfa 100644
--- a/Open-ILS/src/extras/install/Makefile.debian-squeeze
+++ b/Open-ILS/src/extras/install/Makefile.debian-squeeze
@@ -42,7 +42,6 @@ export DEBS = \
 	libnspr4-dev\
 	libole-storage-lite-perl\
 	libparent-perl\
-	libspreadsheet-writeexcel-perl\
 	libssh2-1-dev\
 	libtest-warn-perl\
 	libtest-output-perl\
@@ -67,6 +66,7 @@ export DEB_APACHE_DISMODS = \
     deflate
 
 export CPAN_MODULES = \
+	Excel::Writer::XLSX \
 	Business::OnlinePayment::PayPal \
 	Library::CallNumber::LC \
 	Net::Z3950::Simple2ZOOM \
diff --git a/Open-ILS/src/extras/install/Makefile.debian-wheezy b/Open-ILS/src/extras/install/Makefile.debian-wheezy
index fce9205..a73be1e 100644
--- a/Open-ILS/src/extras/install/Makefile.debian-wheezy
+++ b/Open-ILS/src/extras/install/Makefile.debian-wheezy
@@ -43,7 +43,6 @@ export DEBS = \
 	libpq-dev\
 	librose-uri-perl\
 	librpc-xml-perl\
-	libspreadsheet-writeexcel-perl\
 	libsru-perl\
 	libssh2-1-dev\
 	libtest-warn-perl\
@@ -70,6 +69,7 @@ export DEB_APACHE_DISMODS = \
     deflate
 
 export CPAN_MODULES = \
+	Excel::Writer::XLSX \
 	Business::OnlinePayment::PayPal \
 	Template::Plugin::POSIX \
 	Safe
diff --git a/Open-ILS/src/extras/install/Makefile.fedora b/Open-ILS/src/extras/install/Makefile.fedora
index 3a97af4..b178c3b 100644
--- a/Open-ILS/src/extras/install/Makefile.fedora
+++ b/Open-ILS/src/extras/install/Makefile.fedora
@@ -47,7 +47,6 @@ FEDORA_RPMS = \
 	perl-OLE-Storage_Lite \
 	perl-RPC-XML \
 	perl-SOAP-Lite \
-	perl-Spreadsheet-WriteExcel \
 	perl-Test-Warn \
 	perl-Test-Output \
 	perl-Text-Aspell \
@@ -62,6 +61,7 @@ FEDORA_RPMS = \
 	yaz
 
 export CPAN_MODULES = \
+	Excel::Writer::XLSX \
 	Business::ISSN \
 	Net::Z3950::ZOOM \
 	Net::Z3950::Simple2ZOOM \
diff --git a/Open-ILS/src/extras/install/Makefile.ubuntu-precise b/Open-ILS/src/extras/install/Makefile.ubuntu-precise
index f7c9f82..20c00ff 100644
--- a/Open-ILS/src/extras/install/Makefile.ubuntu-precise
+++ b/Open-ILS/src/extras/install/Makefile.ubuntu-precise
@@ -46,7 +46,6 @@ export DEBS = \
 	libpq5\
 	libpq-dev\
 	librpc-xml-perl\
-	libspreadsheet-writeexcel-perl\
 	libsru-perl\
 	libssh2-1-dev\
 	libtext-aspell-perl\
@@ -72,6 +71,7 @@ export DEB_APACHE_DISMODS = \
     deflate
 
 export CPAN_MODULES = \
+	Excel::Writer::XLSX \
 	Business::CreditCard::Object \
 	Business::OnlinePayment::PayPal \
 	Template::Plugin::POSIX \
diff --git a/Open-ILS/src/extras/install/Makefile.ubuntu-trusty b/Open-ILS/src/extras/install/Makefile.ubuntu-trusty
index 5e6e307..1b5e0db 100644
--- a/Open-ILS/src/extras/install/Makefile.ubuntu-trusty
+++ b/Open-ILS/src/extras/install/Makefile.ubuntu-trusty
@@ -47,7 +47,6 @@ export DEBS = \
 	libpq-dev\
 	librose-uri-perl\
 	librpc-xml-perl\
-	libspreadsheet-writeexcel-perl\
 	libsru-perl\
 	libssh2-1-dev\
 	libtemplate-plugin-posix-perl\
@@ -78,6 +77,7 @@ export DEB_APACHE_DISCONF = \
     serve-cgi-bin
 
 export CPAN_MODULES = \
+	Excel::Writer::XLSX \
 	Business::CreditCard::Object \
 	Business::OnlinePayment::PayPal \
 	Safe
diff --git a/Open-ILS/src/reporter/clark-kent.pl b/Open-ILS/src/reporter/clark-kent.pl
index 29b067d..9030825 100755
--- a/Open-ILS/src/reporter/clark-kent.pl
+++ b/Open-ILS/src/reporter/clark-kent.pl
@@ -10,7 +10,7 @@ use DateTime;
 use DateTime::Format::ISO8601;
 use Data::Dumper;
 use Text::CSV_XS;
-use Spreadsheet::WriteExcel::Big;
+use Excel::Writer::XLSX;
 use OpenSRF::EX qw/:try/;
 use OpenSRF::Utils qw/:daemon/;
 use OpenSRF::Utils::JSON;
@@ -251,7 +251,7 @@ for my $r ( @reports ) {
 		}
 
 		if ( $r->{excel_format} ) {
-			build_excel("$output_dir/report-data.xls", $r);
+			build_excel("$output_dir/report-data.xlsx", $r);
 		}
 
 		build_html("$output_dir/report-data.html", $r);
@@ -417,7 +417,7 @@ sub build_csv {
 sub build_excel {
 	my $file = shift;
 	my $r = shift;
-	my $xls = Spreadsheet::WriteExcel::Big->new($file);
+	my $xls = Excel::Writer::XLSX->new($file);
 
 	my $sheetname = substr($r->{report}->{name},0,30);
 	$sheetname =~ s/\W/_/gos;
@@ -466,7 +466,7 @@ sub build_html {
 	push @links, "<a href='report-data.html.raw.html'>Tabular Output</a>" if ($r->{html_format});
 
 	# add a link to the CSV output
-	push @links, "<a href='report-data.xls'>Excel Output</a>" if ($r->{excel_format});
+	push @links, "<a href='report-data.xlsx'>Excel Output</a>" if ($r->{excel_format});
 
 	# add a link to the CSV output
 	push @links, "<a href='report-data.csv'>CSV Output</a>" if ($r->{csv_format});
diff --git a/Open-ILS/src/support-scripts/settings-tester.pl b/Open-ILS/src/support-scripts/settings-tester.pl
index 8f21b14..030ef05 100755
--- a/Open-ILS/src/support-scripts/settings-tester.pl
+++ b/Open-ILS/src/support-scripts/settings-tester.pl
@@ -457,7 +457,7 @@ Log::Log4perl
 Email::Send
 Text::CSV
 Text::CSV_XS
-Spreadsheet::WriteExcel::Big
+Excel::Writer::XLSX
 Tie::IxHash
 Parse::RecDescent
 SRU

-----------------------------------------------------------------------

Summary of changes:
 .../src/extras/install/Makefile.debian-squeeze     |    2 +-
 Open-ILS/src/extras/install/Makefile.debian-wheezy |    2 +-
 Open-ILS/src/extras/install/Makefile.fedora        |    2 +-
 .../src/extras/install/Makefile.ubuntu-precise     |    2 +-
 Open-ILS/src/extras/install/Makefile.ubuntu-trusty |    2 +-
 Open-ILS/src/reporter/clark-kent.pl                |    8 ++++----
 Open-ILS/src/support-scripts/settings-tester.pl    |    2 +-
 .../Administration/bigger_report_outputs.txt       |    7 +++++++
 8 files changed, 17 insertions(+), 10 deletions(-)
 create mode 100644 docs/RELEASE_NOTES_NEXT/Administration/bigger_report_outputs.txt


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list