Giter Club home page Giter Club logo

idempotent-bash's People

Contributors

davidfetter avatar luolong avatar metaist avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

idempotent-bash's Issues

add: global variables for error-handling behaviors

Currently, whenever there is an error, we dump the log and exit. When running in parallel, however, this tends to create an annoying cascade of log dumps.

Although we should add more features to handle parallelism, one thing that would be help would be to simply turn off the default behavior of dumping the log and exiting.

fix: grep with PCRE

Most of the time grep should be called: grep -qsPe $pattern so that only an return code is produced and no errors for missing files are generated.

add: ib-pushd / ib-popd

These would be utility functions that quietly change directories. Technically, these aren't idempotent (although we could check to see if we are already in the correct directory and not move).

fix: stat of non-file in ib-apt.sh

If /var/cache/apt/pkgcache.bin doesn't exist, tests fail:

stat: cannot stat ‘/var/cache/apt/pkgcache.bin’: No such file or directory
../src/ib-apt.sh: line 34: 1459306405 -  : syntax error: operand expected (error token is "-  ")

fix: ib-os-link relative targets

To check if a link is correct, determine the real path for both the source and the target. Currently, we're only checking the target's real path.

add: ib-parse-args

It is a little confusing to call ib module-function instead of ib-module-function.

Instead of using ib to parse args before calling the ib-module-function, we could add a little overhead to each function call that would parse and rearrange args into an array.

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.