Code Monkey home page Code Monkey logo

app-migratemodules's People

Contributors

grinnz avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

app-migratemodules's Issues

Handling of some single-letter options appears to be broken

Some single-letter options do not seem to be handled correctly. See examples below.


# 
# Option --version works as expected:
#
$ perl-migrate-modules  --version
/xxxx/xxx/locperl/bin/perl-migrate-modules version 0.004
(Getopt::Long::GetOptions version 2.52; Perl version 5.36.0)

# 
# Option --help works as expected:
#
GC$> perl-migrate-modules  --help
Usage:
      perl-migrate-modules [OPTIONS] [<src-perl>] <dest-perl>

        perl-migrate-modules /path/to/perl-5.28.0 /path/to/perl-5.28.1
        perl-migrate-modules -nq -Ilib /usr/bin/perl ~/bin/perl
        perl-migrate-modules --from ~/perl5/lib/perl5 ~/perls/5.20.0

      Options:
        -c, --include-core           Install core modules from source Perl
        -h, --help                   Show this message
        -f <path>, --from=<path>     Search only these path(s) for source modules
        -I <path>, --lib=<path>      Additional search path(s) for source modules
        -n, --notest                 Skip testing and test dependencies
        -q, --quiet                  Show only installation successes and failures
        -v, --version                Show the version of this script



#
# But invoking the same options via  -v or -h results in a diagnostic:
#
$ perl-migrate-modules  -v
Unknown option: v
Invalid options passed

$ perl-migrate-modules  -h
Unknown option: h
Invalid options passed

#
# Otoh, option -q seems to work:
# 
$ perl-migrate-modules  -q   /foo /bar
Could not find perl executable at /foo

Ability to migrate "to" a local::lib ?

I'm trying to migrate a bunch of local::libs after an upgrade, so I was a bit surprised when this tool didnt default to "put the updated modules in the 'from' path" .. any reason why not?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.