{"id":21044854,"url":"https://github.com/opusvl/opusvl-sysparams","last_synced_at":"2026-04-22T12:42:16.491Z","repository":{"id":148072110,"uuid":"52592102","full_name":"OpusVL/OpusVL-SysParams","owner":"OpusVL","description":"OpusVL::SysParams - Module to handle system wide parameters","archived":false,"fork":false,"pushed_at":"2018-05-08T15:34:36.000Z","size":71,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-01-20T17:34:39.398Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpusVL.png","metadata":{"files":{"readme":"README","changelog":"Changes","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-02-26T09:04:20.000Z","updated_at":"2016-02-26T09:04:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"103e38ce-f521-4f1d-80e9-917f68c230b3","html_url":"https://github.com/OpusVL/OpusVL-SysParams","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpusVL%2FOpusVL-SysParams","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpusVL%2FOpusVL-SysParams/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpusVL%2FOpusVL-SysParams/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpusVL%2FOpusVL-SysParams/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpusVL","download_url":"https://codeload.github.com/OpusVL/OpusVL-SysParams/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243489898,"owners_count":20299001,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T14:18:54.114Z","updated_at":"2025-12-29T12:14:49.870Z","avatar_url":"https://github.com/OpusVL.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"OpusVL::SysParams - Module to handle system wide parameters\n\nThe idea is to allow the storage and retrieval of system wide parameters.  The OpusVL::SysParams is the \nmain interface onto this storage and provides simple get/set methods.  This uses a DBIx::Class::Schema\nto store the data.  \n\nIf you want to integrate this into an existing DBIx::Class Schema you can use a Role to apply to your\nschema to inject the necessary tables and a schema level sys_params object.\n\n    # in your schema class.\n    with 'OpusVL::SysParams::RolesFor::Schema';\n    OpusVL::SysParams::RolesFor::Schema-\u003esetup_sysparams(__PACKAGE__);\n\n    # now anywhere that has access to the schema can access the \n    # sys_params object.\n    $schema-\u003esys_params-\u003eget('param.name'); \n\nTo use it stand alone you can use a regular Catalyst style config file to initialise the schema. \nIf the constructor is called without a schema specified it will attempt to load up a schema based\non a config file in the catalyst style for the name 'OpusVL::SysParams'.  This config file should\nhave a Model::SysParams section containing the config.\n\n    \u003cModel::SysParams\u003e\n        connect_info dbi:Pg:dbname=test1\n        connect_info user\n        connect_info password\n    \u003c/Model::SysParams\u003e\n\nNote that you must specify at least 2 connect_info parameters even if you are using SQLite otherwise\nthe code will crash.\n\nSet the environment variable OPUSVL_SYSPARAMS_CONFIG if you want to make sure you know where it will \npull it's config from.\n\n    $ENV{OPUSVL_SYSPARAMS_CONFIG} = $filename;\n\n\nINSTALLATION\n\nTo install this module, run the following commands:\n\n\tperl Makefile.PL\n\tmake\n\tmake test\n\tmake install\n\nLICENSE AND COPYRIGHT\n\nCopyright (C) 2011 OpusVL\n\nThis library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.\n\nIf you require assistance, support, or further development of this software, please contact OpusVL using the details below:\n\n    Telephone: +44 (0)1788 298 410\n    Email: community@opusvl.com\n    Web: http://opusvl.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopusvl%2Fopusvl-sysparams","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopusvl%2Fopusvl-sysparams","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopusvl%2Fopusvl-sysparams/lists"}