NOTICE: This package has been removed from pkgsrc

./databases/p5-DBICx-Sugar, Just some syntax sugar for DBIx::Class

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ]


Branch: CURRENT, Version: 0.0200, Package name: p5-DBICx-Sugar-0.0200, Maintainer: pkgsrc-users

Just some syntax sugar for your DBIx::Class applications. This was originally
created to remove code duplication between Dancer::Plugin::DBIC and
Dancer2::Plugin::DBIC.


Required to run:
[textproc/p5-YAML] [lang/perl5] [databases/p5-SQL-Translator] [databases/p5-DBIx-Class]

Required to build:
[databases/p5-DBI] [devel/p5-Test-Deep] [devel/p5-Test-Simple] [databases/p5-DBIx-Class-Schema-Loader] [devel/p5-Test-Requires] [devel/p5-MooseX-Types-LoadableClass] [devel/p5-Test-Warnings] [devel/p5-Test-API] [devel/p5-Test-Modern]

Master sites: (Expand)

SHA1: cb0f7bc773559421d5d87992491ac50adbdb9881
RMD160: b4a85be5469e3065e837e115d21ef595ee47c10b
Filesize: 19.191 KB

Version history: (Expand)


CVS history: (Expand)


   2017-10-01 08:58:56 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-DBICx-Sugar: update to 0.0200.

Update DEPENDS and test dependencies.

-------------------------------------------
version 0.0200 at 2017-09-29 01:03:32 +0000
-------------------------------------------

  Change: b0ceabb33df843b11871a21209e5fd4bf1831fb9
  Author: Naveed Massjouni <naveed@vt.edu>
  Date : 2017-09-28 21:02:24 +0000

    v0.0200

  Change: 86a1ec89187cdd64286444448e5a3cab788859b8
  Author: Naveed Massjouni <naveedm9@gmail.com>
  Date : 2017-03-02 10:25:46 +0000

    Merge pull request #5 from PerlDancer/sawyer/feature/reentrant-schema

    Make schema() possibly reentrant

  Change: d319f5adbd6accadde265a294176b3454fc950a0
  Author: Sawyer X <xsawyerx@cpan.org>
  Date : 2017-02-16 00:52:33 +0000

    Add test for feature

  Change: 2e6d0056b2342debce14ecfd41f362e2ef9eff81
  Author: Sawyer X <xsawyerx@cpan.org>
  Date : 2017-02-16 00:52:33 +0000

    Add support for schema configuration in schema() call:

    What troubles me is that this module is not reentrant. You will
    always get the same schema object and you can only configure it once.
    Configuring it once is great, but having to argue with the code over
    at which point to do it is annoying.

    (Example: Issue #12 in Dancer2-Plugin-DBIC.)

    This now allows the schema() function to also receive parameters to
    use instead of the default configuration. It tries todo it in a
    non-intrusive way for the code with minimal code changes and without
    altering anything outside this function (like the global
    configuration).

  Change: 21a44eb576168081e0ec5793671b26b586347e2d
  Author: Sawyer X <xsawyerx@cpan.org>
  Date : 2017-02-16 00:52:33 +0000

    Retrieve the options before fetching the schema:

    The previous logic would try to look up the schema and return it, and
    if it didn't exist, it would fetch the options and try to create one.
    This makes sense.

    However, this also means that if we want to create a schema without
    rummaging in the cache, you will have to check whether to even check
    the cache.

    Instead, we simply retrieve the relevant information for creation
    before deciding what to do. Then we could either create a new one
    with this configuration or return one.

  Change: b406d522942e8596affe45f47b679d44d22e1f5a
  Author: Sawyer X <xsawyerx@cpan.org>
  Date : 2017-02-16 00:52:33 +0000

    Refactor: Move creation of schemas outside schema():

    The schema() function is in charge of finding the right plugin, but
    also creates them. Ths makes it difficult to have logic that allows
    creating without saving or retrieval. We just split the creation into
    its own function.

    I also added comments to make it a bit clearer.

  Change: bc90045822e7d3fc0f4e8f0d10a45044bcba9773
  Author: Naveed Massjouni <naveedm9@gmail.com>
  Date : 2017-02-13 10:04:52 +0000

    Merge pull request #4 from PerlDancer/sawyer/fixes

    Various fixes and cleanups

  Change: bcee651ab7580e899ad906be872c4874f333d156
  Author: Sawyer X <xsawyerx@cpan.org>
  Date : 2017-02-13 10:56:10 +0000

    Revert "Cleanup: Explicitly use DBIx::Class::Schema::Loader:"

    This reverts commit 4f80a6f9ef3c994ffda9991d7fe7839307b6abbf.

  Change: 9e527d272a25e4be0a64454d8b258211f171211e
  Author: Sawyer X <xsawyerx@cpan.org>
  Date : 2017-02-10 11:12:43 +0000

    Do not add DBIx::Class::Schema::Loader as hard prereq:

    Currently DBIx::Class::Schema::Loader is loaded optionally, but
    reported as a hard dependency. (See previous commit.)

    This makes it recommended, but optional.

  Change: 4f80a6f9ef3c994ffda9991d7fe7839307b6abbf
  Author: Sawyer X <xsawyerx@cpan.org>
  Date : 2017-02-10 11:12:39 +0000

    Cleanup: Explicitly use DBIx::Class::Schema::Loader:

    In Dancer2-Plugin-DBIC, DBIx::Class::Schema::Loader is mentioned as a
    requirement. It's a lazy optional one. It's also hard to spot because
    it's being loaded as a string using Module::Load.

    Instead, this makes it a bit clearer by using 'require' directly.

    It would be better to make this an optional requirement instead of a
    default one.

  Change: 1b545771aec22a89989c284f950526270ae272b5
  Author: Sawyer X <xsawyerx@cpan.org>
  Date : 2017-02-10 10:58:09 +0000

    Cleanup: Replace die() with croak():

    croak() is used in some places but not everywhere, so might as well
    report from the caller everywhere.

  Change: c6f2031977572bcfd4352e131eb274cbc0be14d0
  Author: Sawyer X <xsawyerx@cpan.org>
  Date : 2017-02-10 10:56:38 +0000

    Cleanup: Simply conditions code

  Change: d9042c990068eb816b21396573704012d66c2ead
  Author: Sawyer X <xsawyerx@cpan.org>
  Date : 2017-02-10 10:56:20 +0000

    Cleanup: Fix extra or missing semicolons

  Change: 30166bce0c49ca7e979c9bbd82b582850805df7d
  Author: Sawyer X <xsawyerx@cpan.org>
  Date : 2017-02-10 10:56:20 +0000

    Add provides metadata:

    The following plugin will add the provides metadata to the
    distribution, which is considered a best practice.

  Change: 35e6040f94c561ab29811fe1db8164f03492d87f
  Author: Sawyer X <xsawyerx@cpan.org>
  Date : 2017-02-10 10:56:20 +0000

    Provide META.json file in distribution:

    The following plugin adds the META.json file. This is considered the
    more modern META data format.
   2017-06-05 16:25:36 by Ryo ONODERA | Files touched by this commit (2298)
Log message:
Recursive revbump from lang/perl5 5.26.0
   2016-11-06 03:38:22 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 0.0100

Upstream changes:
version 0.0100 at 2016-10-09 04:13:59 +0000
-------------------------------------------

  Change: 1a805013fbef23417d4911ad2dae6b88d30df82a
  Author: Naveed Massjouni <naveed@vt.edu>
  Date : 2016-10-09 00:10:17 +0000

    v0.0100

  Change: 365201e343fe133a78c22e7977a6c66524d3d6e1
  Author: Naveed Massjouni <naveedm9@gmail.com>
  Date : 2016-10-08 23:48:50 +0000

    Merge pull request #3 from hvoers/master

    Add functions 'get_config' and 'add_schema_to_config'

  Change: fcabbc9f2ffc171062a428e6e4d6a1d5adccf9f3
  Author: Henk van Oers <hvo.pm@xs4all.nl>
  Date : 2016-08-20 15:12:40 +0000

    Add function 'add_schema_to_config'

    add_schema_to_config

    This function does not touch the existing config. It can be used if
    some

    other part of your app has configured DBICx::Sugar but did not know
    about

    the part that uses an extra schema.

    add_schema_to_config('schema_name', { dsn => ... });

  Change: 587923ac6bae4a7c3044286859741bd4d794d0e7
  Author: Henk van Oers <hvo.pm@xs4all.nl>
  Date : 2016-08-20 13:40:33 +0000

    Remove 'use Memoize', add function 'get_config'

    Memoize is not used, so remove.

    For introspection add function get_config.

  Change: e58f1936ccec6275aa000dd969d6ef3e9f790596
  Author: Henk van Oers <hvo.pm@xs4all.nl>
  Date : 2016-08-20 13:12:17 +0000

    Save the found config

    Save the found config like
    DBICx::Sugar::config(LoadFile($config_path)->{dbicx_sugar}); would
    do.

  Change: 48b48aac50969e76645e3c8960576bddad36097f
  Author: Naveed Massjouni <naveed@vt.edu>
  Date : 2015-03-29 06:01:49 +0000

    updated synopsis
   2016-06-08 21:25:20 by Thomas Klausner | Files touched by this commit (2236) | Package updated
Log message:
Bump PKGREVISION for perl-5.24.
   2015-11-03 02:56:36 by Alistair G. Crooks | Files touched by this commit (368)
Log message:
Add SHA512 digests for distfiles for databases category

Problems found with existing distfiles:
	distfiles/D6.data.ros.gz
	distfiles/cstore0.2.tar.gz
	distfiles/data4.tar.gz
	distfiles/sphinx-2.2.7-release.tar.gz
No changes made to the cstore or mariadb55-client distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-10-07 16:43:36 by Wen Heping | Files touched by this commit (3)
Log message:
Import DBICx-Sugar-0.0001 as databases/p5-DBICx-Sugar.

Just some syntax sugar for your DBIx::Class applications. This was originally
created to remove code duplication between Dancer::Plugin::DBIC and
Dancer2::Plugin::DBIC.