Git Product home page Git Product logo

narada's Issues

Keep some files while restoring backup

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)?

hook "after RESTORE"

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.

Removing DBD::mysql from (immediate) dependencies

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; }

Implement alternative storages for releases

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.

_restore hook in narada-install is a mess

cc: @nsavin

  • если проект не был активен (narada-setup-* не вызывали), то при
    восстановлении бэкапа вызывать narada-setup-* нельзя
    • насчёт narada-shutdown|start-services не ясно
  • если проект был активен, то вызывать narada-setup-* нужно, причём
    примерно так, как реализовано сейчас (избегая промежуточного --clean
    чтобы не пропустить какие-нить события вроде писем)
  • что делать если проект был активен частично: cron да, mysql нет?
    • и что делать, если текущая версия активна, но не использует mysql, а
      предыдущая, восстанавливаемая из бэкапа, использовала mysql?

non-fatal tar error breaks migration

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 --exclude is unable to do what we need

  • tar x … --exclude './.lock*' will remove .lock* files which wasn't exists while backup
    • this means there is no way to protect new lock files in project root directory from being removed while restoring 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 exists

Is there any good enough alternatives for tar?

Perl6::Export::Attrs-0.0.4 breaking change

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

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.