Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Config-GitLike | Distribution: openSUSE Tumbleweed |
Version: 1.18 | Vendor: openSUSE |
Release: 1.20 | Build date: Sat Mar 14 04:07:42 2020 |
Group: Development/Libraries/Perl | Build host: reproducible |
Size: 81942 | Source RPM: perl-Config-GitLike-1.18-1.20.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://metacpan.org/release/Config-GitLike | |
Summary: Git-compatible config file parsing |
This module handles interaction with configuration files of the style used by the version control system Git. It can both parse and modify these files, as well as create entirely new ones. You only need to know a few things about the configuration format in order to use this module. First, a configuration file is made up of key/value pairs. Every key must be contained in a section. Sections can have subsections, but they don't have to. For the purposes of setting and getting configuration variables, we join the section name, subsection name, and variable name together with dots to get a key name that looks like "section.subsection.variable". These are the strings that you'll be passing in to 'key' arguments. Configuration files inherit from each other. By default, 'Config::GitLike' loads data from a system-wide configuration file, a per-user configuration file, and a per-directory configuration file, but by subclassing and overriding methods you can obtain any combination of configuration files. By default, configuration files that don't exist are just skipped. See http://www.kernel.org/pub/software/scm/git/docs/git-config.html#_configurat ion_file for details on the syntax of git configuration files. We won't waste pixels on the nitty gritty here. While the behavior of a couple of this module's methods differ slightly from the 'git config' equivalents, this module can read any config file written by git. The converse is usually true, but only if you don't take advantage of this module's increased permissiveness when it comes to key names. (See DIFFERENCES FROM GIT-CONFIG for details.) This is an object-oriented module using Moo. All subroutines are object method calls. A few methods have parameters that are always used for the same purpose:
Artistic-1.0 OR GPL-1.0-or-later
* Sat Mar 14 2020 <timueller+perl@suse.de> - updated to 1.18 see /usr/share/doc/packages/perl-Config-GitLike/Changes 1.18 2020-03-12 - Return a more correct `dir_file` for Config::GitLike::Git; this change is not backwards-compatible, but matches behavior to existing documentation and expectation. * Wed Jul 19 2017 coolo@suse.com - updated to 1.17 see /usr/share/doc/packages/perl-Config-GitLike/Changes 1.17 2017-07-16 - Read and write files with non-UNIX-newlines - Filter multiple values correctly when using `get_regexp` - Throw an error when `get` is passed no section - Perl 5.28.0 compatibility, by pushing '.' into @INC in Makefile.PL for Module::Install * Thu Apr 16 2015 coolo@suse.com - updated to 1.16 see /usr/share/doc/packages/perl-Config-GitLike/Changes * Tue Aug 06 2013 coolo@suse.com - updated to 1.12 - Reformat Changes file to follow CPAN::Changes::Spec; no functional changes. - Switch from the deprecated Any::Moose to Moo * Mon Jun 03 2013 coolo@suse.com - updated to 1.10 * Provide and API got accessing the original key that a value was set with, in a case-preserving way. If the case of the key in a file matters, it is now possible to determine. * The 'name' value passed to the 'callback' parameter is now no longer forced to lower-case, as a consequence. * Multiple bug fixes concerning filters, including empty filters, valueless keys, and applying filters to single values. * Add "human" argument to get_all and get_regexp, to match get * Add an add_comment method * Add an encoding attribute, which adds the appropriate layer on file I/O * Enforce that all keys must have sections, as git 1.7.4.4 began doing * Mon Feb 27 2012 coolo@suse.com - updated to 1.08 * Fix loading of user_file, broken in dcdd01f, due to unexpanded ~ (alexmv, clkao@clkao.org) * Wed Dec 21 2011 coolo@suse.com - update to 1.07 * Fix a spelling mistake in Config::GitLike::Cascaded (gregoa@debian.org, forwarded by carnil@debian.org) * Allow calling ->load_file as a class method, for simple use cases (alexmv) * Fix a parsing bug when quoted strings directly adjoined to unquoted strings (alexmv) * Calling ->load_file on a nonexistant file no longer sets ->is_loaded (alexmv) * Document that getters implicitly call ->load (alexmv) * Make ->dump implicitly call ->load as well (alexmv) * Minor POD fixes (alexmv, spang) * support Module::Install::ExtraTests 0.007 (sunnavy) * properly set is => 'rw' in inherited classes (trs, alexmv) * silence lc warnings on undef under perl 5.12 (iarnell@gmail.com) * Wed Dec 01 2010 coolo@novell.com - switch to perl_requires macro * Fri Nov 26 2010 pascal.bleser@opensuse.org - initial package (1.04)
/usr/lib/perl5/vendor_perl/5.40.0/Config /usr/lib/perl5/vendor_perl/5.40.0/Config/GitLike /usr/lib/perl5/vendor_perl/5.40.0/Config/GitLike.pm /usr/lib/perl5/vendor_perl/5.40.0/Config/GitLike/Cascaded.pm /usr/lib/perl5/vendor_perl/5.40.0/Config/GitLike/Git.pm /usr/share/doc/packages/perl-Config-GitLike /usr/share/doc/packages/perl-Config-GitLike/Changes /usr/share/man/man3/Config::GitLike.3pm.gz /usr/share/man/man3/Config::GitLike::Cascaded.3pm.gz /usr/share/man/man3/Config::GitLike::Git.3pm.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Wed Sep 11 23:45:42 2024