长时间运行的多版本软件中代码提交的Cherry-Picking
Cherry-Picking of Code Commits in Long-Running, Multi-release Software
摘要:
本文介绍了Tartarian,一个工具,支持维护软件的长期运行,多发布分支的分布式版本控制系统。当新的维护代码(如错误修复和代码改进)提交到分支中时,这些代码可能会应用于其他分支或与其他分支重用。要做到这一点,开发人员可以手动识别一个提交并进行挑选。Tartarian可以通过提供提交主题标签来支持此活动,开发人员在提交代码时将其用作元数据来指定他们的意图。有了这些标签,Tartarian使用依赖关系图(dependency graph)和分支标识符(Branch Identifier)来识别提交的适用分支,依赖关系图表示分支的依赖关系约束,分支标识符将提交主题标签与依赖关系图匹配。使用Tartarian,开发人员可以更有效地维护多个版本的软件。
英文摘要:
This paper presents Tartarian, a tool that supports maintenance of software with long-running, multi-release branches in distributed version control systems. When new maintenance code, such as bug fixes and code improvement, is committed into a branch, it is likely that such code can be applied or reused with some other branches. To do so, a developer may manually identify a commit and cherry pick it. Tartarian can support this activity by providing commit hashtags, which the developer uses as metadata to specify their intentions when committing the code. With these tags, Tartarian uses dependency graph, that represents the dependency constraints of the branches, and Branch Identifier, which matches the commit hashtags with the dependency graph, to identify the applicable branches for the commits. Using Tartarian, developers may be able to maintain software with multiple releases more efficiently.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。