[libdancer2-plugin-database-perl] 03/03: control
gregor herrmann
gregoa at debian.org
Sun Sep 22 12:30:27 UTC 2013
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libdancer2-plugin-database-perl.
commit 08249e98844662512e565e41706c39a5d6d80fef
Author: gregor herrmann <gregoa at debian.org>
Date: Sun Sep 22 14:29:33 2013 +0200
control
---
debian/control | 42 +++++++++++++++++++++++++++++++-----------
1 file changed, 31 insertions(+), 11 deletions(-)
diff --git a/debian/control b/debian/control
index 4b10f3e..c460586 100644
--- a/debian/control
+++ b/debian/control
@@ -1,12 +1,15 @@
Source: libdancer2-plugin-database-perl
-Section: perl
-Priority: optional
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: gregor herrmann <gregoa at debian.org>
+Section: perl
+Priority: optional
Build-Depends: debhelper (>= 8)
-Build-Depends-Indep: libdancer-plugin-database-core-perl (>= 0.04),
- libdancer2-perl (>= 0.09),
- perl
+Build-Depends-Indep: libdancer-plugin-database-core-perl,
+ libdancer2-perl,
+ libdbd-sqlite3-perl,
+ libtest-pod-perl,
+ libtest-pod-coverage-perl,
+ perl
Standards-Version: 3.9.4
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libdancer2-plugin-database-perl.git
Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libdancer2-plugin-database-perl.git
@@ -14,10 +17,27 @@ Homepage: https://metacpan.org/release/Dancer2-Plugin-Database
Package: libdancer2-plugin-database-perl
Architecture: all
-Depends: ${misc:Depends}, ${perl:Depends},
- libdancer-plugin-database-core-perl (>= 0.04),
- libdancer2-perl (>= 0.09)
-Description: easy database connections for Dancer2 applications
- (no description was found)
+Depends: ${misc:Depends},
+ ${perl:Depends},
+ libdancer-plugin-database-core-perl,
+ libdancer2-perl
+Description: module for easy database connections for Dancer2 applications
+ Dancer2::Plugin::Database Provides an easy way to obtain a connected DBI
+ database handle by simply calling the database keyword within your Dancer2
+ application
+ .
+ The module returns a Dancer::Plugin::Database::Core::Handle object, which is
+ a subclass of DBI's `DBI::db' connection handle object, so it does everything
+ you'd expect to do with DBI, but also adds a few convenience methods.
+ .
+ It takes care of ensuring that the database handle is still connected and
+ valid. If the handle was last asked for more than
+ `connection_check_threshold' seconds ago, it will check that the connection
+ is still alive, using either the `$dbh->ping' method if the DBD driver
+ supports it, or performing a simple no-op query against the database if not.
+ If the connection has gone away, a new connection will be obtained and
+ returned. This avoids any problems for a long-running script where the
+ connection to the database might go away.
.
- This description was automagically extracted from the module by dh-make-perl.
+ Care is taken that handles are not shared across processes/threads, so this
+ should be thread-safe with no issues with transactions etc.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdancer2-plugin-database-perl.git
More information about the Pkg-perl-cvs-commits
mailing list