Concurrent development requires the ability of reconciling conflicting updates to the code made independently. A specific case occurs when long living feature branches are integrated to a rapid changing code base. In this scenario, every integration test will require to manually resolve the same conflicts at every iteration. In this paper we propose a framework for automating the detection and resolution of conflicts in the code updated by distinct developers, one of which may be a code generator. The tool learns how to solve conflicts from past experience and applies resolutions, encoded as replacement regular expressions, to conflicts not seen before. Experiments show that the number of automatically resolved conflicts and the quality of the solution increase as the system acquires experience.

Almost Rerere: An Approach for Automating Conflict Resolution from Similar Resolved Conflicts

Fraternali, Piero;Herrera Gonzalez, Sergio Luis;Tariq, Mohammad Manan
2020-01-01

Abstract

Concurrent development requires the ability of reconciling conflicting updates to the code made independently. A specific case occurs when long living feature branches are integrated to a rapid changing code base. In this scenario, every integration test will require to manually resolve the same conflicts at every iteration. In this paper we propose a framework for automating the detection and resolution of conflicts in the code updated by distinct developers, one of which may be a code generator. The tool learns how to solve conflicts from past experience and applies resolutions, encoded as replacement regular expressions, to conflicts not seen before. Experiments show that the number of automatically resolved conflicts and the quality of the solution increase as the system acquires experience.
2020
Web Engineering 20th International Conference, ICWE 2020, Helsinki, Finland, June 9–12, 2020, Proceedings
978-3-030-50578-3
Automatic Conflict Resolution, GIT, Code integration
File in questo prodotto:
File Dimensione Formato  
Almost_RERERE.pdf

accesso aperto

Descrizione: Almost Rerere: an approach for automatingconflict resolution from similar resolved conflicts
: Post-Print (DRAFT o Author’s Accepted Manuscript-AAM)
Dimensione 454.34 kB
Formato Adobe PDF
454.34 kB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11311/1146285
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 2
  • ???jsp.display-item.citation.isi??? 2
social impact