[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1034775: ITP: libdbix-class-journal-perl -- auditing for tables managed by DBIx::Class



Package: wnpp
Owner: Mason James <mtj@kohaaloha.com>
Severity: wishlist
X-Debbugs-CC: debian-devel@lists.debian.org, debian-perl@lists.debian.org

* Package name    : libdbix-class-journal-perl
  Version         : 0.900201
  Upstream Author : Jess Robinson <castaway@desert-island.me.uk>
* URL             : https://metacpan.org/release/DBIx-Class-Journal
* License         : Artistic or GPL-1+
  Programming Lang: Perl
  Description     : auditing for tables managed by DBIx::Class

DBIx::Class::Journal provides the basic utilities to write tests against
DBIx::Class.

The purpose of this DBIx::Class component module is to create an
audit-trail for all changes made to the data in your database (via a
DBIx::Class schema). It creates *changesets* and assigns each
create/update/delete operation an *id*. The creation and deletion date
of each row is stored, as well as the historical contents of any row
that gets changed.

All queries which need auditing must be called using "txn_do" in
DBIx::Class::Schema, which is used to create changesets for each
transaction.

To track who did which changes, the "user_id" (an integer) of the
current user can be set, and a "session_id" can also be set; both are
optional. To access the auditing schema to look at the auditdata or
revert a change, use "$schema->_journal_schema".

The package will be maintained under the umbrella of the Debian Perl Group.

--
Generated with the help of dpt-gen-itp(1) from pkg-perl-tools.


Reply to: