arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.04198cs.SE
收藏

面向多版本模型的开发:检测合并冲突和检查格式良好性

Towards Development with Multi-Version Models: Detecting Merge Conflicts and Checking Well-Formedness

Matthias Barkowsky, Holger Giese

摘要:

开发复杂的软件需要软件的多个视图和版本可以并行开发,并在视图支持下合并,并由版本控制系统管理。在这种情况下,本文认为监测合并和相关的一致性问题永久的模型和抽象语法的水平,允许早期和频繁的冲突检测,同时并行开发。所提出的方法引入了基于类型化图的多版本模型,其允许以紧凑的形式在一个图中存储更改和多个版本,并且允许(1)研究所有版本的格式良好性,而不需要单独提取每个版本,(2)报告所有可能的合并冲突,而不需要合并所有版本对,以及(3)报告将导致任何两个版本的合并的格式良好性条件的所有违反,而不需要合并所有版本对,而与任何合并决策无关。本文定义了多版本模型上的相关概念和算法,证明了它们的正确性。通常采用的三路合并,并报告有关的可扩展性的初步实验。

英文摘要:

Developing complex software requires that multiple views and versions of the software can be developed in parallel and merged as supported by views and managed by version control systems. In this context, this paper considers monitoring merging and related consistency problems permanently at the level of models and abstract syntax to permit early and frequent conflict detection while developing in parallel. The presented approach introduces multi-version models based on typed graphs that permit to store changes and multiple versions in one graph in a compact form and allow (1) to study well-formedness for all versions without the need to extract each version individually, (2) to report all possible merge conflicts without the need to merge all pairs of versions, and (3) to report all violations of well-formedness conditions that will result for merges of any two versions independent of any merge decisions without the need to merge all pairs of versions. The paper defines the related concepts and algorithms operating on multi-version models, proves their correctness w.r.t.~the usually employed three-way-merge, and reports on preliminary experiments concerning the scalability.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑