11 years agoremove unix-style directory separator from regex (DOH!)
Karen Etheridge [Mon, 7 Oct 2013 17:06:20 +0000]
remove unix-style directory separator from regex (DOH!)

11 years agobump version to 1.008021 1.008021
Karen Etheridge [Fri, 4 Oct 2013 21:07:48 +0000]
bump version to 1.008021

11 years agoyet more fixing escaping of backslashes in win32 paths in test
Karen Etheridge [Fri, 4 Oct 2013 21:06:45 +0000]
yet more fixing escaping of backslashes in win32 paths in test

11 years agoadd a LICENSE file, and update the license text in pod
Karen Etheridge [Fri, 4 Oct 2013 17:05:44 +0000]
add a LICENSE file, and update the license text in pod

11 years agobump version to 1.008020 1.008020
Karen Etheridge [Thu, 3 Oct 2013 19:57:48 +0000]
bump version to 1.008020

11 years agowhitespace cleanup
Karen Etheridge [Thu, 3 Oct 2013 19:56:40 +0000]
whitespace cleanup

11 years agoenable warnings locally, rather than globally
Karen Etheridge [Thu, 3 Oct 2013 19:56:32 +0000]
enable warnings locally, rather than globally

11 years agoensure all tests have a plan
Karen Etheridge [Thu, 3 Oct 2013 19:54:40 +0000]
ensure all tests have a plan

11 years agomore diagnostics to help debug the *occasional* failures of this test on win32
Karen Etheridge [Thu, 3 Oct 2013 19:48:19 +0000]
more diagnostics to help debug the *occasional* failures of this test on win32

11 years agofix escaping of backslashes in win32 paths in test
Karen Etheridge [Thu, 3 Oct 2013 19:37:58 +0000]
fix escaping of backslashes in win32 paths in test

11 years agobump version to 1.008019 1.008019
Karen Etheridge [Sun, 29 Sep 2013 20:49:57 +0000]
bump version to 1.008019

11 years agomore cleanup
Karen Etheridge [Sun, 29 Sep 2013 21:03:56 +0000]
more cleanup

11 years agochangelog for trial release with test fixes
Karen Etheridge [Sun, 29 Sep 2013 20:48:19 +0000]
changelog for trial release with test fixes

11 years agouse normalized path on win32 in this test too
Karen Etheridge [Sun, 29 Sep 2013 20:46:58 +0000]
use normalized path on win32 in this test too

this hopefully addresses cpantesters failure reports, e.g.:
http://www.cpantesters.org/cpan/report/c8a7c865-6d66-1014-b964-310d2901c822
http://www.cpantesters.org/cpan/report/ca4b52de-6bf3-1014-810b-761a736704e8
http://www.cpantesters.org/cpan/report/77c604d8-6cdc-1014-ad93-a84555012b15

11 years agowork around backslash issues with Win32 paths in taint test
Karen Etheridge [Sun, 29 Sep 2013 20:44:40 +0000]
work around backslash issues with Win32 paths in taint test

this hopefully addresses cpantesters failure reports, e.g.:
http://www.cpantesters.org/cpan/report/0c37f68f-6d57-1014-a7ec-a16b5be8bcae
http://www.cpantesters.org/cpan/report/f7b20263-6da8-1014-ab0b-a16a5be8bcae
http://www.cpantesters.org/cpan/report/0c37f68f-6d57-1014-a7ec-a16b5be8bcae
http://www.cpantesters.org/cpan/report/5486eef0-6c1a-1014-b801-4f72db05e747
http://www.cpantesters.org/cpan/report/bd043c85-6bf8-1014-9fed-19f2c69cc7be
http://www.cpantesters.org/cpan/report/c8a7c865-6d66-1014-b964-310d2901c822
http://www.cpantesters.org/cpan/report/2fbf0826-1fac-11e3-8778-8bb49a6ffe4e
http://www.cpantesters.org/cpan/report/a7b22cee-1f90-11e3-8778-8bb49a6ffe4e
http://www.cpantesters.org/cpan/report/1add08c4-6bf9-1014-a3b9-f229e79c0688
http://www.cpantesters.org/cpan/report/809a1d6d-6cca-1014-9c8f-bf33ec4105d1
http://www.cpantesters.org/cpan/report/cf8e9f51-6c0f-1014-b1c8-f0a75dd0450a
http://www.cpantesters.org/cpan/report/ca4b52de-6bf3-1014-810b-761a736704e8
http://www.cpantesters.org/cpan/report/77c604d8-6cdc-1014-ad93-a84555012b15

11 years agobump version again 1.008018
Karen Etheridge [Sun, 15 Sep 2013 19:47:48 +0000]
bump version again

11 years agochangelog
Karen Etheridge [Sun, 15 Sep 2013 19:47:17 +0000]
changelog

11 years agomore diagnostics here too
Karen Etheridge [Sun, 15 Sep 2013 19:46:36 +0000]
more diagnostics here too

11 years agoescape the backslashes in win32 paths; print the lib dir for diagnosing mysterious...
Karen Etheridge [Sun, 15 Sep 2013 19:40:05 +0000]
escape the backslashes in win32 paths; print the lib dir for diagnosing mysterious failures

11 years agoinclude the expected location in the test name, for diagnosing mysterious failures
Karen Etheridge [Sun, 15 Sep 2013 19:38:51 +0000]
include the expected location in the test name, for diagnosing mysterious failures

11 years agobump version for release 1.008017
Karen Etheridge [Sat, 14 Sep 2013 16:50:37 +0000]
bump version for release

11 years agosome testers are still ending up with bad lib lists
Karen Etheridge [Sat, 14 Sep 2013 16:49:27 +0000]
some testers are still ending up with bad lib lists

e.g.  http://www.cpantesters.org/cpan/report/85472df4-1d3c-11e3-a7cb-ca49e0cbff33
even though we screen out empty paths before joining with : !

11 years agoavoid interpolation of backslashed chars in windows paths
Karen Etheridge [Sat, 14 Sep 2013 16:48:45 +0000]
avoid interpolation of backslashed chars in windows paths

11 years agobump version for release 1.008016
Karen Etheridge [Fri, 13 Sep 2013 16:33:22 +0000]
bump version for release

11 years agoignore temp dirs left behind by testing
Karen Etheridge [Fri, 13 Sep 2013 16:32:48 +0000]
ignore temp dirs left behind by testing

11 years agoquotemeta the path to avoid "Unrecognized escape \s passed through" on win32
Karen Etheridge [Fri, 13 Sep 2013 16:29:28 +0000]
quotemeta the path to avoid "Unrecognized escape \s passed through" on win32

11 years agouse our wrapper for creating a local::lib dir, normalizing for win32 paths
Karen Etheridge [Fri, 13 Sep 2013 16:28:08 +0000]
use our wrapper for creating a local::lib dir, normalizing for win32 paths

11 years agobump release to fix missing t/lib/TempDir.pm from MANIFEST 1.008015
Karen Etheridge [Thu, 12 Sep 2013 22:10:46 +0000]
bump release to fix missing t/lib/TempDir.pm from MANIFEST

11 years agoARGH use a blacklist, not a whitelist
Karen Etheridge [Thu, 12 Sep 2013 22:12:18 +0000]
ARGH use a blacklist, not a whitelist

and oh look! some other files get added to the MANIFEST that have existed in
the repo for a very long time...
sigh, I hate you Module::Install.

11 years agobump version for release 1.008014
Karen Etheridge [Thu, 12 Sep 2013 16:27:11 +0000]
bump version for release

11 years agomove mk_temp_dir into a lib so we can reuse it
Karen Etheridge [Thu, 12 Sep 2013 16:23:10 +0000]
move mk_temp_dir into a lib so we can reuse it

this hopefully resolves cpantesters issues with 1.008013 on win32:
http://www.cpantesters.org/cpan/report/34414d0f-6bfd-1014-9cd9-6654736704e8

11 years agouse $Config{path_sep} in tests, not :
Karen Etheridge [Thu, 12 Sep 2013 16:20:23 +0000]
use $Config{path_sep} in tests, not :

11 years agobump version for release 1.008013
Karen Etheridge [Thu, 12 Sep 2013 03:23:28 +0000]
bump version for release

11 years agooops, some of these variables aren't always initialized
Karen Etheridge [Thu, 12 Sep 2013 03:22:18 +0000]
oops, some of these variables aren't always initialized

11 years agominor doc tweak, requested by sjohnson, #van.pm 1.008012
Karen Etheridge [Wed, 11 Sep 2013 23:05:36 +0000]
minor doc tweak, requested by sjohnson, #van.pm

11 years agobump version for release
Karen Etheridge [Wed, 11 Sep 2013 23:04:41 +0000]
bump version for release

11 years agoMerge branch 'topic/taint'
Karen Etheridge [Wed, 11 Sep 2013 23:03:21 +0000]
Merge branch 'topic/taint'

11 years agotest that random junk in PERL_LOCAL_LIB_ROOT is ignored
Karen Etheridge [Wed, 11 Sep 2013 21:04:27 +0000]
test that random junk in PERL_LOCAL_LIB_ROOT is ignored

11 years agoRT#76661: work properly in a taintperl environment
Karen Etheridge [Tue, 10 Sep 2013 23:00:30 +0000]
RT#76661: work properly in a taintperl environment

active_paths() now checks each entry in PERL_LOCAL_LIB_ROOT against @INC to be
sure that everything in PERL5LIB really did make it into @INC (taintperl
doesn't add to @INC automatically), so using perl -T -Mlocal::lib=dir
actually adds dir to @INC in all cases.

11 years agoadd bullets to LIMITATIONS section
Karen Etheridge [Wed, 4 Sep 2013 23:22:22 +0000]
add bullets to LIMITATIONS section

11 years agotest for basic kwalitee metrics (which now pass, with a README)
Karen Etheridge [Wed, 4 Sep 2013 22:21:05 +0000]
test for basic kwalitee metrics (which now pass, with a README)

11 years agoadd a simple README
Karen Etheridge [Wed, 4 Sep 2013 22:20:16 +0000]
add a simple README

11 years agotest for whitespace, tabs
Karen Etheridge [Wed, 4 Sep 2013 22:17:25 +0000]
test for whitespace, tabs

11 years agowhitespace cleanup
Karen Etheridge [Wed, 4 Sep 2013 22:11:01 +0000]
whitespace cleanup

11 years agospelling
Karen Etheridge [Wed, 4 Sep 2013 22:09:07 +0000]
spelling

11 years agosome release tests (that all pass)
Karen Etheridge [Wed, 4 Sep 2013 22:06:41 +0000]
some release tests (that all pass)

11 years agomore whitespace in Changes for readability
Karen Etheridge [Wed, 4 Sep 2013 20:52:27 +0000]
more whitespace in Changes for readability

11 years agolook for fancy dashes byte-wise, rather than literally
Karen Etheridge [Wed, 4 Sep 2013 20:47:26 +0000]
look for fancy dashes byte-wise, rather than literally

If someone (e.g. me!) slaps in a 'use utf8;' into the old version of the
document, then the check would always fail.  This way we will catch the
character even if 'use utf8' is added later.

11 years agoignore MANIFEST.SKIP.bak
Karen Etheridge [Sat, 27 Jul 2013 02:51:55 +0000]
ignore MANIFEST.SKIP.bak

11 years agobump version for release 1.008011
Karen Etheridge [Sat, 27 Jul 2013 02:49:23 +0000]
bump version for release

11 years agochangelog
Karen Etheridge [Sat, 27 Jul 2013 02:44:20 +0000]
changelog

11 years agodon't bother fixing CPAN if running from cpanminus (RT#85731)
Tatsuhiko Miyagawa [Sun, 21 Mar 2010 13:30:31 +0000]
don't bother fixing CPAN if running from cpanminus (RT#85731)

11 years agolink to the 2011 advent article
Karen Etheridge [Fri, 5 Jul 2013 18:05:05 +0000]
link to the 2011 advent article

11 years agoskip all the default crap (this will get expanded on first build; dont panic!)
Karen Etheridge [Fri, 5 Jul 2013 18:02:53 +0000]
skip all the default crap (this will get expanded on first build; dont panic!)

11 years agosilence "Name "File::Spec::rel2abs" used only once: possible typo" 1.008010
Karen Etheridge [Mon, 27 May 2013 01:04:43 +0000]
silence "Name "File::Spec::rel2abs" used only once: possible typo"

11 years agobump version for re-release, after syncing with the *real* 1.008009 release
Karen Etheridge [Mon, 27 May 2013 00:56:25 +0000]
bump version for re-release, after syncing with the *real* 1.008009 release

11 years agoignore all the build byproducts
Karen Etheridge [Mon, 27 May 2013 00:54:12 +0000]
ignore all the build byproducts

11 years agochangelog for undef split fix
Karen Etheridge [Wed, 22 May 2013 02:31:45 +0000]
changelog for undef split fix

11 years agoFix a split on undefined value warning
David Golden [Tue, 21 May 2013 14:02:07 +0000]
Fix a split on undefined value warning

Something that perlbrew is doing seems to tickle this bug.

11 years agoRemove Carp::Always, 1.8.9 1.008009
Chris Nehren [Mon, 25 Feb 2013 03:37:19 +0000]
Remove Carp::Always, 1.8.9

11 years agoCarp::Always should not be a dep
Breno G. de Oliveira [Mon, 25 Feb 2013 03:32:36 +0000]
Carp::Always should not be a dep

11 years ago1.008008. Update the Changes file, remove some hard tabs. 1.008008
Chris Nehren [Sun, 24 Feb 2013 17:28:17 +0000]
1.008008. Update the Changes file, remove some hard tabs.

11 years agoTest for no arch in PERL5LIB
Olivier Mengué [Sun, 1 May 2011 04:20:43 +0000]
Test for no arch in PERL5LIB

RT#67871: "do not add arch path to PERL5LIB: perl does it since 5.8.0"

11 years agoDo not put arch dir in $PERL5LIB (RT#67871)
Olivier Mengué [Sun, 17 Feb 2013 22:15:38 +0000]
Do not put arch dir in $PERL5LIB (RT#67871)

Since perl 5.8.1, perl automatically adds $dir/$Config{archname} for
each directory in PERL5LIB, so we don't have to explicitely put those
directories.
Work originally partially done in May 2011. Thanks to Matt S. Trout for
diagnosing a bug.

11 years agoMove Win32 magic out of ensure_dir_structure_for()
Olivier Mengué [Sun, 17 Feb 2013 07:06:36 +0000]
Move Win32 magic out of ensure_dir_structure_for()

Note that this magic has never been documented in the POD.
t/stackable.t is fixed accordingly as it used the magic.

11 years agoFix activate_paths when PERL_LOCAL_LIB_ROOT starts with ':'
Olivier Mengué [Thu, 14 Feb 2013 22:40:06 +0000]
Fix activate_paths when PERL_LOCAL_LIB_ROOT starts with ':'

As 'perl -Mlocal::lib' now generates
"PERL_LOCAL_LIB_ROOT=$PERL_LOCAL_LIB_ROOT:~/perl5", the result of the
expansion by the shell may be ":~/perl5", so the first element of the
list created by splitting on ':' may be empty. So we have to ignore that
empty element.

11 years agoFix ~/perl5/bin missing in $PATH
Olivier Mengué [Thu, 14 Feb 2013 22:34:26 +0000]
Fix ~/perl5/bin missing in $PATH

11 years agoRemove prototype causing warnings
Chris Nehren [Tue, 12 Feb 2013 17:01:14 +0000]
Remove prototype causing warnings

... also it's a prototype.

11 years agoRefactor PERL_M[BM]_OPT value when --deactivate
Olivier Mengué [Mon, 2 May 2011 18:30:58 +0000]
Refactor PERL_M[BM]_OPT value when --deactivate

Simpler code for setting PERL_MB_OPT and PERL_MM_OPT when a directory is
deactivated.

11 years agorename %_env_list_value_defaults to %ENV_LIST_VALUE_DEFAULTS
Chris Nehren [Fri, 13 May 2011 14:00:36 +0000]
rename %_env_list_value_defaults to %ENV_LIST_VALUE_DEFAULTS

11 years agoRefactor environment values building
Olivier Mengué [Sun, 1 May 2011 00:02:28 +0000]
Refactor environment values building

Introduce sub _env_list_value() to put all join($Config{path_sep}) and
existing value preservation in a single place.
Use that function everywhere: the code for the value for each environment
variable is now clearer.
All tests pass.

11 years agoMove xt/subroutine-in-inc.t to t/
Olivier Mengué [Sun, 1 May 2011 03:14:02 +0000]
Move xt/subroutine-in-inc.t to t/

11 years agoFix xt/subroutine-in-inc.t
Olivier Mengué [Sun, 1 May 2011 03:09:40 +0000]
Fix xt/subroutine-in-inc.t

11 years agoinclude r/w repo spec as a hint for contributors
Karen Etheridge [Sat, 16 Feb 2013 17:34:02 +0000]
include r/w repo spec as a hint for contributors

11 years agoChangelog reversion to stable 1.008004 plus carp fix 1.008007
Matt S Trout [Sun, 17 Feb 2013 13:55:50 +0000]
Changelog reversion to stable 1.008004 plus carp fix

11 years agoPatch for Carp version mismatch
osfameron [Thu, 24 May 2012 13:34:58 +0000]
Patch for Carp version mismatch

13 years agoFixed typo
Torsten Raudssus [Tue, 22 Mar 2011 18:34:59 +0000]
Fixed typo

13 years agoAnd release 1.008004. 1.008004
Chris Nehren [Thu, 24 Feb 2011 21:49:37 +0000]
And release 1.008004.

13 years agoFix stackable tests on win32 by canonicalizing the path ahead of time
Andrew Rodland [Thu, 24 Feb 2011 20:58:38 +0000]
Fix stackable tests on win32 by canonicalizing the path ahead of time

13 years agoDo ensure_dir_structure_for *before* de-duping paths
Andrew Rodland [Thu, 24 Feb 2011 20:56:32 +0000]
Do ensure_dir_structure_for *before* de-duping paths

this makes the de-dup work properly on win32 with the short name transformation.

13 years ago1.008003 with fixed stacking tests
Chris Nehren [Thu, 24 Feb 2011 00:17:49 +0000]
1.008003 with fixed stacking tests

13 years agoMerge branch 'master' of git.moose.perl.org:local-lib
Chris Nehren [Thu, 24 Feb 2011 00:17:05 +0000]
Merge branch 'master' of git.moose.perl.org:local-lib

13 years agoDon't fail tests when already running under local::lib
Andrew Rodland [Thu, 24 Feb 2011 00:16:03 +0000]
Don't fail tests when already running under local::lib

13 years agorelease 1.008002.
Chris Nehren [Wed, 23 Feb 2011 22:15:33 +0000]
release 1.008002.

13 years agoAdd method docs for active_paths
Andrew Rodland [Wed, 23 Feb 2011 20:34:54 +0000]
Add method docs for active_paths

13 years agoUpdate tests for de-duplication
Andrew Rodland [Wed, 23 Feb 2011 20:29:59 +0000]
Update tests for de-duplication

13 years agoResolve RT#64208, solving the issue of duplicate paths ONCE AND FOR ALL.
Andrew Rodland [Fri, 18 Feb 2011 04:33:56 +0000]
Resolve RT#64208, solving the issue of duplicate paths ONCE AND FOR ALL.

If asked to add a path that is already the most recent path activated,
local::lib won't try to doanything. If asked to add a path that's
already been activated further down the stack, it will remove it from
its current position and re-add, thus making it the new "most recent
path" without duplication. In other cases, everything is the same.

This adds yet another variable to pass down through three layers of
method calls. Something must be done about those.

13 years agoPut splitting PERL_LOCAL_LIB_ROOT into its own method
Andrew Rodland [Fri, 18 Feb 2011 04:09:47 +0000]
Put splitting PERL_LOCAL_LIB_ROOT into its own method

we're going to be using it some more soon.

13 years agoAdd myself to CONTRIBUTORS
Andrew Rodland [Fri, 18 Feb 2011 03:30:22 +0000]
Add myself to CONTRIBUTORS

13 years agoAdd tests for adding/removing stuff to the stack
Andrew Rodland [Tue, 15 Feb 2011 23:26:12 +0000]
Add tests for adding/removing stuff to the stack

13 years agoAdd documentation for --deactivate and --deactivate-all
Andrew Rodland [Tue, 15 Feb 2011 23:10:38 +0000]
Add documentation for --deactivate and --deactivate-all

13 years agoAdd a --deactivate-all flag as well
Andrew Rodland [Tue, 15 Feb 2011 22:41:43 +0000]
Add a --deactivate-all flag as well

13 years agoAdd a --deactivate option to remove a l::l from the env
Andrew Rodland [Tue, 15 Feb 2011 22:03:55 +0000]
Add a --deactivate option to remove a l::l from the env

13 years agoIf PERL_LOCAL_LIB_ROOT is already set, add ourselves to the end
Andrew Rodland [Tue, 15 Feb 2011 21:18:44 +0000]
If PERL_LOCAL_LIB_ROOT is already set, add ourselves to the end

instead of replacing it, so that we can keep track of multiple l::ls in
effect.

13 years agoAdd repo and bugtracker links in META
Andrew Rodland [Tue, 15 Feb 2011 20:34:34 +0000]
Add repo and bugtracker links in META

13 years agobump files for 1.008001 release.
Chris Nehren [Sun, 9 Jan 2011 10:30:31 +0000]
bump files for 1.008001 release.

13 years agoBootstrap Module::Build in Makefile.PL
David Golden [Sat, 8 Jan 2011 21:19:51 +0000]
Bootstrap Module::Build in Makefile.PL

Now that Module::Build supports PERL_MB_OPT, it can be bootstrapped
just like ExtUtils::MakeMaker is.

This is a critical change to support CPAN.pm being able to bootstrap
local::lib on old Perls.  (Tested on 5.8.1)

13 years agoupdate Changes file
David Golden [Wed, 5 Jan 2011 11:51:01 +0000]
update Changes file

13 years agobump version to 1.008000
David Golden [Wed, 5 Jan 2011 11:50:45 +0000]
bump version to 1.008000

13 years agoAvoid CPAN config init when just checking values
David Golden [Wed, 5 Jan 2011 11:43:00 +0000]
Avoid CPAN config init when just checking values

This commit keeps Makefile.PL from triggering a
full CPAN configuration initialization just to see
if certain bad configurations exist.  It's sufficient
to load any exist config and check that.