Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Feb 17, 2015
  1. @alexmv

    Version 1.16 releng

    alexmv authored
  2. @alexmv

    Further canonicalize after resolvin relative paths

    alexmv authored
    On Windows, Cwd::abs_path() returns a path that uses / as its directory
    separator.  This means that after loading from a fully-qualified
    \-separated path, that same path does not appear in the origins hash.
    
    Canonicalize the path using File::Spec->canonpath(), which does not
    inspect the filesystem, but does normalize path separators.
Commits on Jun 24, 2014
  1. @alexmv

    Version 1.15 releng

    alexmv authored
  2. @alexmv
Commits on May 20, 2014
  1. @alexmv

    Version 1.14 releng

    alexmv authored
  2. @alexmv

    Fix for t/casing.t failure on mac os

    Stephen Thirlwall authored alexmv committed
    The following test fails on mac os, where /var is a symlink to /private/var
    
     t/casing.t ............. 1/?
     #   Failed test 'Found definition from second file'
     #   at t/casing.t line 53.
     #          got: '/private/var/folders/zz/zyxvpxvq6csfxvn_n00026dc000jlb/T/5fRT_POw_o/other'
     #     expected: '/var/folders/zz/zyxvpxvq6csfxvn_n00026dc000jlb/T/5fRT_POw_o/other'
     # Looks like you failed 1 test of 19.
     t/casing.t ............. Dubious, test returned 1 (wstat 256, 0x100)
     Failed 1/19 subtests
    
    The config filename is converted to an absolute path inside load_file, but the test
    checks the original path. This changes the test to use the same call to Cwd::abs_path.
Commits on Apr 23, 2014
  1. @alexmv

    Version 1.13 releng

    alexmv authored
Commits on Sep 16, 2013
  1. @alexmv
  2. @alexmv

    Make dependency test happy

    alexmv authored
  3. @alexmv
  4. @alexmv
  5. @alexmv

    Store the cleaned-up filename path, with ../s resolved

    alexmv authored
    Cwd::abs_path examines the filesystem to resolve /foo/../bar/ to /bar --
    while taking into account symlinks and other complicating factors.  Use
    it to store the simplest form of the filename loaded.
    
    As Cwd::abs_path returns undef if it cannot resolve the path, default
    back to the passed-in value, for error messages and the like.
  6. @alexmv
Commits on Aug 5, 2013
  1. @alexmv

    Version 1.12 releng

    alexmv authored
  2. @alexmv

    Merge branch 'changes-spec'

    alexmv authored
Commits on Aug 4, 2013
  1. @neilbowers
  2. @alexmv

    Version 1.11 releng

    alexmv authored
Commits on Aug 3, 2013
  1. @alexmv

    Merge branch 'moo'

    alexmv authored
Commits on Feb 7, 2013
  1. @tokuhirom

    Switch to Moo.

    tokuhirom authored
Commits on Nov 7, 2012
  1. @alexmv

    Version 1.10 releng

    alexmv authored
  2. @alexmv
  3. @alexmv

    Change method name from original_case to original_key

    alexmv authored
    original_case is and overly and unhelpfully-specific name for the
    method.  Name and document it a bit more generally.
  4. @alexmv

    Track and allow lookup of the case that keys were defined in

    alexmv authored
    Git canonicalizes the section and key name into lower case for all
    lookups; subsection names are case-sensitive.  However, there are times
    when is is useful to be able to determine the original case used to set
    the key.
    
    Store the original case, and provide a 'original_case' method to
    retrieve the kase used for a given key.  This also alters the 'name'
    argument to the 'callback' of 'parse_content' to be the original case,
    and not the canonical lower case.
  5. @alexmv
  6. @alexmv

    Move $key assignment until after all parts of it have been checked

    alexmv authored
    This avoids warnings (such as were generated by t/t1300-repo-config!)
    when ->set was called with an invalid key.
  7. @alexmv
Commits on Aug 10, 2012
  1. @alexmv

    Version 1.09 releng

    alexmv authored
  2. @alexmv

    Ignore generated MYMETA files

    alexmv authored
  3. @alexmv
  4. @alexmv

    Enforce that all keys must have sections

    alexmv authored
    Previously, git correctly parsed configuration variables before the
    first section marker, although it coult not set or unset such keys.  In
    git 1.7.4.4 and later, the code was modified to match the documentation,
    and this misfeature was removed.
    
    Alter the parsing code and methods to enforce this restriction in the
    module as well, for consistency with git.
Commits on Aug 4, 2012
  1. @alexmv
  2. @theory @alexmv

    Add the "encoding" attribute and use it.

    theory authored alexmv committed
    To encode and decode config files. Necessary because, if no encoding is
    specified, and a UTF-8 string is saved to a config file, when it is read back
    in, it will not be properly read as UTF-8. The same would go for any coding
    other than Latin-1 (maybe).
Commits on May 8, 2012
  1. @alexmv
  2. @theory @alexmv

    Add `add_comment()`.

    theory authored alexmv committed
    Allows coments to be appended to the end of a configuration file.
  3. @alexmv
Something went wrong with that request. Please try again.