daveallie / entangler Goto Github PK
View Code? Open in Web Editor NEWTwo way file syncer using platform native notify
License: MIT License
Two way file syncer using platform native notify
License: MIT License
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.
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.
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
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.