• GitFlow


    Environment

    https://dev.to/flippedcoding/difference-between-development-stage-and-production-d0p

    产品研发过程涉及三种环境:

    开发环境 -- 研发人员使用

    Stage -- 预发布环境,对标真实环境,做ACC测试

    Production -- 产品发布环境

    不同的环境,对版本的管理提出需求:

    开发环境需要对开发者持续提交的commit做回归测试。

    stage环境,对特性完成后提供ACC测试环境,不被开发者后续提交commit有影响。

    Production,生效的版本只来源于stage验证过的版本,不受后续的commit没有影响。

    版本管理需要应对这种前后依赖的工作流程。

    The main three environments are: development, stage, and production.

    Development

    This is the environment that's on your computer. Here is where you'll do all of your code updates. It's where all of your commits and branches live along with those of your co-workers. The development environment is usually configured differently from the environment that users work in.

    Stage

    The stage environment is as similar to the production environment as it can be. You'll have all of the code on a server this time instead of a local machine. It'll connect to as many services as it can without touching the production environment.

    Production

    Every time you talk about making your project live, this is the environment you are talking about. The production environment is where users access the final code after all of the updates and testing. Of all the environments, this one is the most important.

    GitFlow

    https://www.gitkraken.com/learn/git/git-flow

    Arguably one of the most popular Git branching strategies, Git flow was introduced by software developer Vincent Driessen in 2010 with the intent of simplifying release management.

    Fundamentally, Git flow involves isolating your work into different types of branches.

    The Git Flow Workflow

    In the Git flow workflow, there are five different branch types:

    1. Main
    2. Develop
    3. Feature
    4. Release
    5. Hotfix

    Git Flow

    https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow

    The overall flow of Gitflow is:

    1. A develop branch is created from main
    2. A release branch is created from develop
    3. Feature branches are created from develop
    4. When a feature is complete it is merged into the develop branch
    5. When the release branch is done it is merged into develop and main
    6. If an issue in main is detected a hotfix branch is created from main
    7. Once the hotfix is complete it is merged to both develop and main

    https://zhuanlan.zhihu.com/p/198066289

  • 相关阅读:
    Zookeeper全解析——Paxos作为灵魂(转)
    Zookeeper全解析——Client端(转)
    zk 04之 Zookeeper Api(java)与应用
    zk 05之:ZooKeeper的配置
    ZooKeeper典型应用场景(转)
    ZooKeeper程序员指南(转)
    zk 01之 ZooKeeper概述
    zk 02之 Windows安装和使用zookeeper
    缓存与数据库一致性之一:缓存更新设计
    Android开发学习之Intent具体解释
  • 原文地址:https://www.cnblogs.com/lightsong/p/16181230.html
Copyright © 2020-2023  润新知