Giter Site home page Giter Site logo

trona's Introduction

trona's People

Contributors

alexandrhoroshih avatar ayakudere avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar dmorenogogoleva avatar igorkamyshev avatar stanislavsky34200 avatar uka17 avatar uncleseneca avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

trona's Issues

Check down script

Add option for rerun scripts for test down script. Like "up-down-up" in transactions.

Unify all scripts under single console command

Now we use trona-evolutions-init and trona-evolutions-run and it looks terrible.

Expected behaviour:

  • trona-evolutions init for prepare DB for trona
  • trona-evolutions run for run evolutions

Dependabot can't resolve your JavaScript dependency files

Dependabot can't resolve your JavaScript dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

Error whilst updating eslint in /yarn.lock:
Couldn't find package "@commitlint/ensure@^8.3.4" required by "@commitlint/rules@^8.3.4" on the "npm" registry.

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Confirmations

Now, trona execute command immediately after user type it into terminal. We need confirmation for any command.

Add transactions

Nice evolution you have here. It would be a shame if first half of your evolve script will run successfully and second will fail, making your db's state inconsistent

Tests

This project has no tests. It's not right way! We need some unit tests for that.

Linting

Code-styles in solid-soda projects are different. We need setup linting for this project.

Add degrade script and update-only script

Now, trona able execute up script. But, in some cases down script must be executed.

Expected behaviour:

  • evolutions abort for aborting last evolution
  • evolutions abort {{n}} for aborting last n evolutions

Remove --init flag

I guess, we must remove --init flag, and just init all tables on first run.

Add a good mistake resolution guide

If user makes some mistakes in his evolutions it could lead to inconsistent db state (e.g. invalid degrade script) in this case he need to fix his db state manually. We should have section about this in readme.

Also we should have a script which can forcibly update an evolution record (In case of situation from above happens) and user is too afraid to go to DB or mistake is relatively minor (e.g. broken DOWN script)

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.