返回文章列表文章索引阅读全文
STARBLOG / 阅读手记
团队

Coding Standards and Version Control

https://www.zhihu.com/question/393040445 For merge and release, you can refer to Git Flow. However, if you do Trunk-based Development, this can also be omitted. Author: Jacky Link: https://www.zhihu.com/question/393040445/answer/1215427425 Source: Zhihu Copyright belongs to the author. For commercial reprints please contact the aut

曦远 (DealiAxy)约 6 分钟

For merge and release, you can refer to Git Flow. However, if you do Trunk-based Development, this can also be omitted.

Author: Jacky Link: https://www.zhihu.com/question/393040445/answer/1215427425 Source: Zhihu Copyright belongs to the author. For commercial reprints please contact the author for authorization; for non-commercial reprints please indicate the source.

The main problem our team encountered in development was that when there was a lot of work on the project, the branches became a complete mess. Because we previously used Microsoft’s TFS for management, it was even messier. Later we referred to some open-source project management methods and created a GIT management method: mainly two branches, master and dev. master is always the production environment, dev is always the test environment. After testing on dev is complete, it is merged into master for release. When we need to do new features or bugfixes, we create some milestones and tasks, and branch off from dev, with the naming method “internal number/main”. Programmers then branch their own feature branches from main. After programmers finish their features, they send a pull request to a reviewer, and only then can it be merged into the main branch. When all features are done, we PR-merge main into dev and run automated tests. Then when releasing to the test environment, we put a TAG on it as the version number, for example 1.1.0, then Jenkins automatically tests and builds in the background. This can avoid the tested program not being 100% equal to the version that will be released, because too many programmers built it themselves and then delivered it, causing all kinds of problems. Manual testing; if there are no problems, schedule a date to go live; if bugs appear, run the process again and TAG a new version, for example 1.1.1. Before going live to production, merge dev into master.

_EOF_

Coding Standards and Version Control

本文作者:
程序设计实验室
版权声明:
本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!

相关文章

软件工程课程思维导图

结构如下 软件工程 什么是软件工程 方法 系统的 规范的 可量化的 过程 软件开发 运行 维护 构成的主要要素 人 项目 过程 方法 工具 软件制品 影响软件工程进步的动力 硬件能力 软件技术 社会需求 科学技术水平 软件的8个质量要素 正确性 软件满足需求规约的程度 完成用户目标的程度 可用性 学习、使用成本 操作软件 输入数据 解释软件输出结果 可靠性 完成预期功能概率 成功运行概率 有效性

2022-06-17 · 计科基础 · 约 1 分钟

Asp-Net-Core学习笔记:WebApi开发实践

前言 用AspNetCore做Api开发也有一段时间了,正好年底在做总结,做一个WebApi开发实践笔记。 暂时想到的一些技术关键词,同时也作为本文的大纲,现在对这套技术体系的了解还不够深入,以后会持续更新这个Api开发实践~ 身份认证:JwtBearer 分页:X.PagedList 缓存 ResponseCache Redis:StackExchange.Redis 数据持久化 / ORM F

2022-07-04 · Asp-Net-Core学习笔记 · 约 1 分钟

python实现解析markdown文档中的图片,并且保存到本地~

背景 前阵子简书好像说是凉了,搞得我有点小慌,毕竟我的大部分博客都是放在简书上面的,虽然简书提供了打包导出功能,但是只能导出文字,图片的话还是存在简书服务器上面,再加上我一直想要重新做一个个人博客,于是就有了这篇文章。 思路 首先是要解析markdown文档,然后获取到其中的所有图片,再把图片按md文件分好目录保存。 解析markdown文档 这里我用了misaka模块,据说是python的mar

2021-12-18 · Python · 约 1 分钟

讨论

共 0 条

良言一句三冬暖,恶语伤人六月寒。

加载评论中…