Git Product home page Git Product logo

p5-app-cpanfileslipstop's Introduction

Build Status Coverage Status MetaCPAN Release

NAME

cpanfile-slipstop - write installed module versions back to cpanfile

SYNOPSIS

# update moduels & write versions from cpanfile.snapshot to cpanfile
> carton update
> cpanfile-slipstop

# write module versions as 'minimum'
> cpanfile-slipstop --stopper=minimum

# only see versions to write
> cpanfile-slipstop --dry-run

# remove current version specification from cpanfile
> cpanfile-slipstop --remove

OPTIONS

--stopper=identifier (default: exact)
    type of version constraint
        exact   : '== 1.00'
        minimum : '1.00' (same as >= 1.00)
        maximum : '<= 1.00'
--dry-run
    do not save to cpanfile
--with-core
    write core module versions
--silent
    stop to output versions
--cpanfile=path (default: ./cpanfile)
--snapshot=path (default: ./cpanfile.snapshot)
    specify cpanfile and cpanfile.snapshot location
--remove
    delete all version specifications from cpanfile
-h, --help
    show this help

DESCRIPTION

cpanfile-slipstop is a support tool for more definite and safety version bundling on cpanfile and Carton.

The carton install command checks only to satisfy version specifications in cpanfile and local/. Even if some module versions are updated in cpanfile.snapshot, the saved versions are not referred until you need to install it. This sometimes causes confusion and version discrepancy between development environment and production. This tool writes versions snapshot to cpanfile to fix module versions.

SEE ALSO

Carton, Module::CPANfile, CPAN::Meta::Requirements

LICENSE

Copyright (C) pokutuna.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

pokutuna [email protected]

p5-app-cpanfileslipstop's People

Contributors

pokutuna avatar

Watchers

James Cloos avatar  avatar

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.