Giter Site home page Giter Site logo

entangler's People

Contributors

daveallie avatar ghiculescu avatar hugokawamata avatar joshuay03 avatar nicolasjjensen avatar samodonnell89 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

entangler's Issues

Post-copy hooks

It'd be awesome to have entangler run some code on the server after files were copied across.

i.e if package.json is copied across, run yarn on the server.

Maybe via some static config file (.entanglerrc?) that contains glob->shell command mappings and entangler looks up the command and execs it.

rsync: Argument list too long

When starting entangler, the rsync excludes are manually generated and executed as arguments. If there are too many files/folders rsync crashes with sh: /usr/bin/rsync: Argument list too long.

Potentially use the –exclude-from option with a temp file instead.

Changes to verbose mode raising error

In commit 82f9eb8 26 days ago initialize in logger was changed to verbose: false from verbose = false

However when it is initialized in lib/entangler/executor/base.rb:56 it's still based off the old verbose = false

@logger ||= Entangler::Logger.new(log_outputs, @opts[:verbose])
Should be changed to something like
@logger ||= Entangler::Logger.new(log_outputs, verbose: @opts[:verbose])test.rb

Large number of files changed can mean that some aren't synced correctly

If there are a large amount of files changed, it's possible for some to go unchanged on the other side of the sync.

One way to patch this could be to do a periodic healthcheck with current state to avoid slipping out of sync. In the case that the states are different, rsync master to slave again.

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.