Giter Site home page Giter Site logo

master_delivery's Issues

Option to carefully trace delivery commands one by one

Now in dryrun mode, you can understand what commands are executed and in what order. Even if you actually run it instead of dryrun mode, such a display makes it easier to trace where the problem occurred.

-v, --verbose

v1.0.6 release

  • Verbose mode has been introduced to trace delivery commands!

v1.0.1 release

  • First release
  • All methods are implemented
  • Tested by hand.

Test code should be prepared

Now master_delivery and MasterDelivery doesn't have test code. This is not an appropriate development. Test code should be prepared immediately

Avoid slash duplication of delivery_root when -d '/'

(-m) MASTER_DIR:   -m /Users/shinya.ohtani/unix/cloned/work-public/unix-conf (2 master files)
(-d) DELIVER_ROOT: -d /
(-t) DELIVER_TYPE: -t symbolic_link
(-b) BACKUP_ROOT:  -b /Users/shinya.ohtani/unix/cloned/work-public/tmp
(-D) DRYRUN:       --no-dryrun

Sample (from 2 master files):
master:            /Users/shinya.ohtani/unix/cloned/work-public/unix-conf/opt/brew/etc/logrotate.d/screenlog.conf
will be delivered: //opt/brew/etc/logrotate.d/screenlog.conf
 and backup:       /Users/shinya.ohtani/unix/cloned/work-public/tmp/unix-conf-original-XXXX/opt/brew/etc/logrotate.d/screenlog.conf
done!

v1.0.3 release

  • Option to suppress non-error message
  • Described the difference with rsync on README.md

Option to suppress messages

master_delivery carefully displays the parameters before execution, and also displays the execution image using a sample. In many cases, such kind of support makes it possible to execute commands with peace of mind and feels convenient. However, when it's used by other scripts with the same argument every time, it feels inconvenient because there is too much information.

-q, --quiet

Option to skip confirmation

Checking is tedious if master_delivery is called from another script. There should be an option to skip.

-y, --yes

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.