Permalink
Commits on Mar 9, 2011
  1. version up

    committed Mar 9, 2011
  2. Merge remote-tracking branch 'melo/fix_switch_and_use' into develop

    Conflicts:
    	perlbrew
    committed Mar 9, 2011
  3. Regen standalone version

    melo committed Mar 9, 2011
  4. Make sure we export the SHELL environment

    On some sequences of commands, the perlbrew perl command didn't get the
    SHELL environment. This was noticed inside Jenkins CI jobs, for example.
    
    We suspect that the SHELL variable was set by Jenkins but not exported,
    and so external commands don't see it.
    
    But we make some decisions based on it, most notably the perlbrew env
    command.
    
    This export SHELL will make sure we always get it.
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Mar 9, 2011
Commits on Mar 8, 2011
  1. Merge remote-tracking branch 'origin/develop' into develop

    Conflicts:
    	Changes
    committed Mar 8, 2011
Commits on Mar 7, 2011
  1. Regen standalone version

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Mar 7, 2011
  2. Adjust documentation to latest features

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Mar 7, 2011
  3. Added command use to the perl version

    If its ever executed, then either you have csh/tcsh and this command is
    not supported, or you have bash and didn't complete the setup.
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Mar 7, 2011
  4. Extract env SHELL tests into a method for reuse

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Mar 7, 2011
  5. Remove implementation of symlink-executables command

    We no longer use symlink for executables.
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Mar 7, 2011
  6. Add option to name each perl executable used in perlbrew switch /path…

    …/perl
    
    Use like this:
    
        perlbrew switch /my/special/bin/perl special_perl
    
    This will create a new perl version in perls/ called special_perl and
    switch to it.
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Mar 7, 2011
  7. Make switch command with specific perl executable work without symlinks

    We create a new perl version, named custom, and create the link inside it,
    and then just use the common case to switch current to this custom
    version.
    
    This prevents symlinks in bin/ which would make the use command fail.
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Mar 7, 2011
  8. Replace system() calls with proper Perl function use

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Mar 7, 2011
  9. Don't trust the shell command path cache to find the perl executable

    With all the symlink dance, we might end up here with a bad path to the
    current perl executable, and the PATH manipulation would fail, leaving us
    with no PATH at all.
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Mar 7, 2011
  10. Don't symlink executables into bin/

    If we do, "perlbrew use" doesn't work, because when it overrides your path
    to "bin/:perls/VERSION/bin", the symlinks in bin/ will take precedence.
    
    bin/ needs to be kept clean of "perl" commands for use to work.
    
    There is one case left: "perlbrew switch /path/to/very/specific/perl"
    "perlbrew use" still fails to work with that one.
    
    We also included upgrade notes in the Changes file. We need to
    
       perlbrew init
       perlbrew off
       perlbrew switch version-you-want
    
    to clean up all the old symblinks.
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Mar 7, 2011
  11. Fix: don't reinit shell environment on "perlbrew swith", with no extr…

    …a args
    
    Without this, a simple call to "perlbrew switch" would destroy
    the current "perlbrew use" setup.
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Mar 7, 2011
  12. Add support for use without parameters: show current version in use

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Mar 7, 2011
  13. Make env cmd respect current perl symblink:

    If set, and no specific perl was asked for, we use the current symblink to
    set PERLBREW_PERL version and make sure PATH includes the current/bin
    directory.
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Mar 7, 2011
  14. Remove switch logic from shell, and back to perl:

     * switch was not permanent: the current symblink was never updated;
     * keep the __perlbrew_reinit call to make sure our bash env is updated.
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Mar 7, 2011
  15. Treat system as any other perl-DIST inside perlbrew use

    This makes sure that use system calls env system, giving perlbrew env the
    chance to adjust its behaviour for the system case.
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Mar 7, 2011
  16. Move check for .perlbrew dir to where we need it

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Mar 7, 2011
Commits on Mar 6, 2011
  1. regenerate

    committed Mar 6, 2011
  2. Trivial spelling fix

    abh committed Mar 6, 2011
Commits on Mar 1, 2011
  1. regen executable

    committed Mar 1, 2011
Commits on Feb 27, 2011
  1. don't care about system perl

    fcuny committed Feb 27, 2011
  2. add --brew-only to exec

    so it's possible to do 'perlbrew exec cpanm Moose' on all installed
    perl with perlbrew, and nothing on the one that came with the system
    fcuny committed Feb 27, 2011
Commits on Feb 19, 2011
  1. releasing 0.16

    committed Feb 19, 2011
  2. regen

    committed Feb 19, 2011
Commits on Feb 14, 2011
  1. not 0.17 quite yet.

    committed Feb 14, 2011
Commits on Feb 12, 2011
  1. Use gtar on Solaris

    Should fix RT #61042
    doherty committed Feb 12, 2011
Commits on Feb 9, 2011