Giter VIP home page Giter VIP logo

mia's Introduction

Mia Solutions system

The master repository for the mia's projects. This repo is used as the master repository for documentation and project level issues. Each component has it's own repository mia-xxxx

Overview

To be updated later

Solution Architecture

Test Framework

A Behaviour Driven Develpment (BDD) model is at the heart of the testing frameork.

System Operations

Still on discussion, there are few best options

Project Management

Is done with tickets.

Team

Zigvy Corp (HCMC - VN)

  • Hau Nguyen - @haunguyen90 Project Manager
  • Long Hoang - @longhpzigvy - Developer
  • Dat Nguyen - @DatNT96 - Developer

Methodology

Coding Workflow

This project uses the git forking workflow, https://www.atlassian.com/git/tutorials/comparing-workflows/forking-workflow And git-flow, https://bitbucket.org/zigvy/git-flow/src/master/ or https://jeffkreeftmeijer.com/git-flow/

It's OK to leave questions hanging in slack, for someone who isn't there at the moment but will be later. So each shift should start with a review of slack, "question grooming" activity, along with the usual ticket-grooming.

Clone the repo, commit frequently, make a PR for dicussion early (and if you think it's ready to merge then say so).

Try to push to your commits at least once an hour, and write commit messages "in the imperative mood". Read this if you haven't already: http://chris.beams.io/posts/git-commit/

Each commit should do one thing. It's no problem making lots of small commits, it's actualy much better than infrequent large commit because they are easier to review.

Github workflow

We use the Pull Request system of github. You first need to fork the repo.

For creating a PR please follow this :

  • Fetch the upstream master & develop : git fetch upstream/master && git fetch upstream/develop
  • Switch to develop branch.
  • Create a new clean branch : git checkout --track -b myNewBranch upstream/develop , a good practice is to following git-flow ( you should not use the master of your own remote ( origin ) as a dev branch , your master should be equal to the upstream/master )
  • Do your work, make commits, you should create directly a PR and push your work frequently.
  • If other devs push commits , you should rebase your own branch. you fetch again git fetch upstream/develop and git rebase upstream/develop ( you can also use the interactive rebase to squash your commit into one git rebase -i upstream/develop )
  • If you have conflict , you have to resolve each conflict on each commit , do it manually or add kdiff3 / Beyond Compare or anything that fit you , add these modification and do git rebase --continue until you cleared the conflicts.
  • Test your code.
  • You can now push your code , if the branch is new you just do git push origin myNewBranch , if you had rebase you need to force the push git push origin myNewBranch -f
  • Create the PR , with a new branch github detect it automatically you should see a yellow bar on main page. MOST IMPORTANT, point the PR to develop branch
  • When the PR is merged , delete you local and remote branch

More you rebase your branch often, less you get problems. So don't wait ! You should rebase each time a commit is added to the upstream/master.

DISCLAIMER : Use push -f only with Fork and PR project like here, never on a project were everyone is working on the same remote. Your rewrite commits history.

mia's People

Contributors

haunguyen90 avatar

Watchers

James Cloos avatar

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.