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

协作实时的编码或如何避免可怕的合并

Collaborative Real Time Coding or How to Avoid the Dreaded Merge

Stanislav Levin, Amiram Yehudai

摘要:

在团队中合作开发软件的软件工程师通常必须手动合并他们对模块(例如类)所做的更改,因为更改与另一个工程师对同一个或另一个模块(例如供应商类)所做的更改相冲突。这是由于工程师单独编辑代码,并通过源代码控制或软件配置管理系统(SCM)松散地协调他们的工作。这项工作提出,以消除几乎所有的需要,手动合并最近的变化,提出了一个协作的实时的编码方法。在这种方法中,其他人可以实时的看到对代码的有效更改,但是中间更改(导致代码无法编译)会阻止其他工程师进行与被修改的实体(例如方法)相关的更改,同时允许他们在系统的大部分工作。协同实时的编辑系统的研究已经有20多年的历史。在这一领域的研究主要集中在协同文本和图形编辑。在这项工作中,我们解决了设计一个协作的实时的编码系统所面临的挑战,以及目前的主要差异相比,纯文本的协作编辑。然后,我们提出了一个原型插件的Eclipse集成开发环境(IDE),允许进行协作编码。

英文摘要:

Software engineers who collaborate to develop software in teams often have to manually merge changes they made to a module (e.g. a class), because the change conflicts with one that has just been made by another engineer to the same or another module (e.g. a supplier class). This is due to the fact that engineers edit code separately, and loosely coordinate their work via a source control or a software configuration management system (SCM). This work proposes to eliminate almost all the need to manually merge a recent change, by proposing a Collaborative Real Time Coding approach. In this approach, valid changes to the code are seen by others in real time, but intermediate changes (that cause the code not to compile) result in blocking other engineers from making changes related to the entity (e.g. method) being modified, while allowing them to work on most of the system. The subject of collaborative real time editing systems has been studied for the past 20 years. Research in this field has mostly concentrated on collaborative textual and graphical editing. In this work we address the challenges involved in designing a collaborative real time coding system, as well as present the major differences when compared to collaborative editing of plain text. We then present a prototype plug in for the Eclipse Integrated Development Environment (IDE) that allows for a collaborative coding to take place.

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

↑