Abstract
Code cloning has been reported both on small (code fragments) and large (entire projects) scale. Cloning-in-the-large, or forking, is gaining ground as a reuse mechanism thanks to
availability of better tools for maintaining forked project variants, hereunder distributed version control systems and interactive source management platforms such as Github.
We study advantages and disadvantages of forking using the case of Marlin, an open source firmware for 3D printers. We find that many problems and advantages of cloning do translate to forking. Interestingly, the Marlin community uses both forking and integrated variability management (conditional ompilation)
to create variants and features. Thus studying it increases our understanding of the choice between integrated and clone-based
variant management. It also allows us to observe mechanisms governing source code maturation, in particular when, why and
how feature implementations are migrated from forks to the main integrated platform. We believe that this understanding will ultimately
help development of tools mixing clone-based and integrated variant management, combining the advantages of both.
availability of better tools for maintaining forked project variants, hereunder distributed version control systems and interactive source management platforms such as Github.
We study advantages and disadvantages of forking using the case of Marlin, an open source firmware for 3D printers. We find that many problems and advantages of cloning do translate to forking. Interestingly, the Marlin community uses both forking and integrated variability management (conditional ompilation)
to create variants and features. Thus studying it increases our understanding of the choice between integrated and clone-based
variant management. It also allows us to observe mechanisms governing source code maturation, in particular when, why and
how feature implementations are migrated from forks to the main integrated platform. We believe that this understanding will ultimately
help development of tools mixing clone-based and integrated variant management, combining the advantages of both.
Originalsprog | Engelsk |
---|---|
Titel | 2015 IEEE International Conference on Software Maintenance and Evolution : ICSME |
Antal sider | 10 |
Forlag | IEEE |
Publikationsdato | 25 nov. 2015 |
Sider | 151 - 160 |
ISBN (Trykt) | 978-1-4673-7532-0 |
DOI | |
Status | Udgivet - 25 nov. 2015 |
Begivenhed | 31st International Conference on Software Maintenance and Evolution - Bremen University, Bremen, Tyskland Varighed: 29 sep. 2015 → 1 okt. 2015 Konferencens nummer: 31 http://www.icsme.uni-bremen.de/ |
Konference
Konference | 31st International Conference on Software Maintenance and Evolution |
---|---|
Nummer | 31 |
Lokation | Bremen University |
Land/Område | Tyskland |
By | Bremen |
Periode | 29/09/2015 → 01/10/2015 |
Internetadresse |