powerman / narada Goto Github PK
View Code? Open in Web Editor NEWFramework for ease deploy and support microservice projects
Home Page: https://metacpan.org/pod/Narada
License: Other
Framework for ease deploy and support microservice projects
Home Page: https://metacpan.org/pod/Narada
License: Other
Because of this commands in migrate
like:
mysql .release/newtable.sql
rollback_mysql .release/newtable.undo.sql
do not interrupt migration.
At the moment narada-restore keeps only .release/
, .backup/
and .lock*
, but it will be useful to keep some user-defined files too.
Maybe keep files in var/run/
or run/
(but this will require changes in narada conventions)?
It may make sense to make it possible to run something after RESTORE - like narada-start-services &
to not wait for 1 minute after narada-install
until services will be started again from cron.
@nsavin Is there any reasons why we should include .release/ in backups?
32 Configuring Narada-v2.2.0 ... OK
33 ==> Found dependencies: Path::Tiny, Test::MockModule, Perl6::Export::Attrs, App::migrate, Test::CheckManifest, DBI, Test::Differences, Test::Exception, DBD::mysql, Pod::Coverage, App::powerdiff, Test::Outpu t, Test::Pod::Coverage, Test::Perl::Critic, Test::Pod, Log::Fast, File::Copy::Recursive
Narada requires DBD::mysql which in turn requires MySQL binaries ("sudo apt-get install libmysqlclient-dev" in Debian). Could we remove this dependency?
My project does not use MySQL so it is needless to have it installed in the system. Maybe we could move it beyond an eval, e.g. eval { require DBD::mysql; }
…because they're full of bugs like https://bugs.gentoo.org/show_bug.cgi?id=546294
Try to create incr.tar, but then, after releasing exclusive lock, just repack in temporary directory:
Maybe this can be optimized by keeping temporary directory which match current full.tar?
@nsavin How about a pull request for this feature? 😄
Like using GitHub releases to upload/download releases from .release/
and avoid adding this directory to repo. This should help for languages like Go which releases contains large binaries and this significantly increase size of repo.
Probably it should be configurable/plugin feature, to let user decide where releases should be stored.
cc: @nsavin
Useful doc: https://wiki.ubuntu.com/DashAsBinSh
Backuping to .backup/full-0.5.1.tar
/bin/tar: ./var/log/current: file changed as we read it
BACKUP failed
YOU NEED TO MANUALLY FIX THIS ISSUE RIGHT NOW
tar x … --exclude './.lock*'
will remove .lock*
files which wasn't exists while backup
tar x … --exclude './tmp/*'
will remove tmp/*
files which wasn't exists while backup
tar x … --exclude './tmp'
will not create tmp/
if it isn't existsIs there any good enough alternatives for tar?
It both require but not mention in Makefile.PL PadWalker (bug filed), and also result in this error:
t/build/migrate.t .. 1/1 # Narada::Lock does not export: exclusive_lock unlock_new shared_lock unlock
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.