Giter Site home page Giter Site logo

baleen-cli's Introduction

Hi there ๐Ÿ‘‹, my name is Gabriel

I'm a Ecommerce Solution Architect based in Belgium. I enjoy staying up-to-date with the latest web and Ecommerce development best practices, such as domain-driven design (DDD), event sourcing, continuous integration & deployment (CI/CD), automated testing, and more.

I'm also a proficient developer, with knowledge and hands-on experience in most layers of the web stack: from DevOps, all the way to the front-end, and numerous contributions to open-source projects in the Zend Framework & Magento ecosystems.

Skills: Ecommerce Solution Architecture, Engineering Management & Coaching, Magento 2 & almost everything PHP, DevOps, Public Speaking

github linkedin twitter website

Github stats

baleen-cli's People

Contributors

gsomoza avatar scrutinizer-auto-fixer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

mattlk13 bonomali

baleen-cli's Issues

StatusHandler Diff Issue

On StatusHandler::handle() line 67 we're assuming that by finding the difference between the count of available migrations vs migrated versions we'll know if there are migrations pending. That doesn't consider the following use-case:

  1. Two branches "featureA" and "featureB" exist. They branch off the same commit in "master", which already has migration "1".
  2. A user without migrations in the database is on branch "featureA" which has migration "1" "2". The migration is executed UP. Baleen records that "1" and "2" were migrated.
  3. The user goes to branch "featureB" which has migrations "1" and "3".
  4. At this point, running "git status" will say that the database is at version "2" and is up-to-date, which is incorrect because version 3 hasn't been executed yet.

The issue in the example above is because StatusHandler::handle() counts that there are two migrations in the database and two migrations available in the repository (filesystem), and therefore assumes there's nothing new to migrate.

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.