`
banner
  • 浏览: 52602 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

由一个team内的code merge问题引发的思考

阅读更多
  stand up meeting上,几个做同一模块的同事都说到merger代码很头疼,花费了很多effort,有同事重构了sub module依赖的base code, 有多位同事修改了相同的文件。SCM为CC,每个人有自己的sub-stream 和view。
  简单看一下,问题很common,每个人闷头做自己的task, code merge的频率小,UT滞后于source code。比较忙,不详细分析了:
  1、估story时、拆task时就应看到多个story或task有共同frame的倾向,coding之前或前期就应有简单的沟通,讨论framework,这时当然不宜在framework上花费太多时间,后续的沟通是必须的,pair-programing哪里去了?
  2、后续的重构当然需要,但有相应的UT保证重构的正确性吗,先run GUI测试功能后补UT的做法目的是什么,只为了clover生成的覆盖率?
  3、base code 重构,也要对依赖它们的code做相应的修改,code merge的情况在team中很正常,尽快提交,尽早merge,小步前进,对于多人更改频繁的code,pair-programming不正减少了更改code的“人”数吗,对于framework code,改时在team里说一声并不是难事。
分享到:
评论

相关推荐

    Araxis Merge Professional 2012.4162 (x86/x64).part1

    Use it to compare and merge source code, web pages, XML and other text files with native application performance. Directly open and compare the text from Microsoft Office (Word and Excel), ...

    Araxis Merge Professional 2012.4162 (x86/x64).part2

    Use it to compare and merge source code, web pages, XML and other text files with native application performance. Directly open and compare the text from Microsoft Office (Word and Excel), ...

    Infrastructure.as.Code.Managing.Servers.in.the.Cloud.1491924357

    "Infrastructure as Code" has emerged alongside the DevOps movement as a label for approaches that merge concepts like source control systems, Test Driven Development (TDD) and Continuous Integration ...

    Infrastructure as Code

    'Infrastructure as Code' has emerged alongside the DevOps movement as a label for approaches that merge concepts like source control systems, Test Driven Development (TDD) and Continuous Integration ...

    EGit用户指南

    3.9.1.2 Starting merge from the Team menu 3.9.1.3 Starting merge from the Git Repositories View 3.9.1.4 Merge options 3.9.1.5 Possible merge results 3.9.1.5.1 Merge Result dialog 3.9.2 ...

    Infrastructure.as.Code.Managing.Servers.in.the.Cloud

    "Infrastructure as Code" has emerged alongside the DevOps movement as a label for approaches that merge concepts like source control systems, Test Driven Development (TDD) and Continuous Integration ...

    a project model for the FreeBSD Project.7z

    These are usually the most active developers who are willing to spend their time not only integrating their own code but integrating code submitted by the developers who do not have this privilege....

    Inside Microsoft SQL Server 2008 - TSQL Querying

    Tackle the toughest set-based querying and query tuning problems—guided by an author team with in-depth, inside knowledge of T-SQL. Deepen your understanding of architecture and internals—and gain ...

    Inside Microsoft SQL Server 2008 T-SQL Querying

    SQL—and unveil the power of set-based querying—with comprehensive reference and advice from a highly regarded T-SQL expert and members of Microsoft's SQL Server development team. Database developers...

    Study_Algorithm_Team_2:Study_Algorithm_Team_2

    :pencil: YAPP 18기알고리즘스터디2팀 成员 ...merge : 내 레포에서 올린 pull request를 현재 organization의 alogorithm-study 레포에 합치기 폴더구조 름기이름/周(주차)/문제번호이및 公关 标题

    painless_git.pdf

    Merge conflicts pop up and litter your code with random rows of equal signs and angle brackets. You get great advice about rebasing instead of merging, which is a good idea except for those times ...

    GitLab Cookbook

    and configure your project visibility Secure your code with the correct GitLab configuration Make the most of the built-in issue tracker, including merge requests Manage your projects through the ...

    UE(官方下载)

    The benefit of a column maker is that it can help you to format your text/code, or in some cases to make it easier to read in complex nested logic. Quick Open UltraEdit and UEStudio provide multiple ...

    WPTools.v6.29.1.Pro

    This will create merge fields for ALL fields. - NL sign was not shown right after CTRL+ENTER was pressed (requires ShowNL) - fix for rangecheck exception with paintpages array - fix for footer and ...

    Java 9 Data Structures and Algorithms

    functional, and reactive data structures, giving you the ability to understand computational complexity, solve problems, and write efficient code. This book is based on the Zero Bug Bounce milestone ...

Global site tag (gtag.js) - Google Analytics