Uma abordagem para atualização de forks frente ao projeto original

Detalhes bibliográficos
Autor(a) principal: Marcondes, Arthur Roberto
Data de Publicação: 2021
Tipo de documento: Dissertação
Idioma: por
Título da fonte: Repositório Institucional da UFLA
Texto Completo: http://repositorio.ufla.br/jspui/handle/1/46129
Resumo: Several software projects start from an existing project. This practice, in the VCS ecosystem, is called fork. For instance, the Bootstrap project, initially developed on Twitter, has in December 2020 more than 68,000 forks, which indicates that several projects started from the Bootstrap source code at a certain moment and are being customized. The problem occurs when customized projects want to obtain updates from the original project, i.e., new features, bug fixes, etc. The merge of the source code between the original and the customized projects usually generates conflicts that need human resolution. More important, the resolution of those conflicts might not be trivial and poses an arduous task for developers. This dissertation, therefore, proposes an approach for updating forks against the original project where features are modularized, documented, traceable, and can be reused. We claim that the such task can no longer be carried out on an ad hoc basis. The approach updates those systems in a non-invasive way, which preserves the independence of the customized project does not requires direct interventions in the original project. For this purpose, it specifies features on a high level using a DSL (Domain Specific Language). In a nutshell, instead of modify the method foo from the original project, the developer implements it locally and specifies, using one of the eleven instructions of the proposed DSL, something like “replace the foo method with local implementation”. We developed a tool that automates the approach and conduced an evaluation on a real-world project that is regularly updated against your original project. Through this evaluation we found that the approach applies to real scenarios and avoids merging conflicts. We also evaluated the perspective of the developers of this project regarding the proposed approach, which proved to be positive and contributed to the planning of future work.
id UFLA_52fae468056df556d77da5542c97866b
oai_identifier_str oai:localhost:1/46129
network_acronym_str UFLA
network_name_str Repositório Institucional da UFLA
repository_id_str
spelling Uma abordagem para atualização de forks frente ao projeto originalAn approach for updating forks against the original projectEvolução de softwareAtualização de forkConflitos de mesclagemSoftware evolutionFork updateMerge conflictsCiência da ComputaçãoSeveral software projects start from an existing project. This practice, in the VCS ecosystem, is called fork. For instance, the Bootstrap project, initially developed on Twitter, has in December 2020 more than 68,000 forks, which indicates that several projects started from the Bootstrap source code at a certain moment and are being customized. The problem occurs when customized projects want to obtain updates from the original project, i.e., new features, bug fixes, etc. The merge of the source code between the original and the customized projects usually generates conflicts that need human resolution. More important, the resolution of those conflicts might not be trivial and poses an arduous task for developers. This dissertation, therefore, proposes an approach for updating forks against the original project where features are modularized, documented, traceable, and can be reused. We claim that the such task can no longer be carried out on an ad hoc basis. The approach updates those systems in a non-invasive way, which preserves the independence of the customized project does not requires direct interventions in the original project. For this purpose, it specifies features on a high level using a DSL (Domain Specific Language). In a nutshell, instead of modify the method foo from the original project, the developer implements it locally and specifies, using one of the eleven instructions of the proposed DSL, something like “replace the foo method with local implementation”. We developed a tool that automates the approach and conduced an evaluation on a real-world project that is regularly updated against your original project. Through this evaluation we found that the approach applies to real scenarios and avoids merging conflicts. We also evaluated the perspective of the developers of this project regarding the proposed approach, which proved to be positive and contributed to the planning of future work.Diversos projetos de software se iniciam a partir de um projeto já existente. Essa prática, no ecossistema de Sistemas de Controle de Versão (Version Control Systems – VCS), é denominada fork. Por exemplo, o projeto Bootstrap, inicialmente desenvolvido no Twitter, possui em dezembro de 2020 mais de 71 mil forks, o que indica que vários projetos se iniciaram a partir do código-fonte do Bootstrap em um certo instante e estão sendo customizados. O problema se dá quando tais projetos customizados querem obter as atualizações do projeto original, i.e., novas features, correção de bugs, etc. Essa mesclagem do código-fonte do projeto original com o projeto customizado normalmente gera conflitos que necessitam de intervenção humana para resolução. Mais importante, a resolução desses conflitos pode não ser trivial e representar uma tarefa árdua para desenvolvedores. Esta dissertação de mestrado, portanto, propõe uma abordagem para atualização de forks frente ao projeto original onde features são modularizadas, documentadas, rastreáveis e podem ser reutilizadas. Afirma-se que essa tarefa não pode mais ser realizada de uma forma ad hoc. A abordagem permite a atualização desses sistemas de uma forma não invasiva, preservando a independência do projeto customizado e não exigindo intervenções diretas no projeto original. Para tanto, baseia-se na descrição de features em alto nível através de uma DSL (Domain Specific Language – Linguagem de Domínio Específico). De forma sucinta, ao invés de alterar o corpo de um método foo do projeto original, o desenvolvedor o implementa localmente e especifica, por meio de uma das onze instruções da DSL proposta, algo como “substitua o método foo pela implementação local”. Uma ferramenta que automatiza a abordagem proposta foi desenvolvida para conduzir uma avaliação real em um projeto de software frequentemente atualizado frente ao seu projeto original. Por meio dessa avaliação constatou-se que a abordagem aplica-se a cenários reais e evita conflitos de mesclagem. Avaliou-se também a perspectiva de desenvolvedores desse projeto quanto à abordagem proposta, que se mostrou positiva e contribuiu no planejamento de trabalhos futuros.Universidade Federal de LavrasPrograma de Pós-Graduação em Ciência da ComputaçãoUFLAbrasilDepartamento de Ciência da ComputaçãoVillela, Ricardo Terra Nunes BuenoAndré Gustavo Duarte de AlmeidaCosta, Heitor Augustus XavierSouza, Mauricio Ronny de AlmeidaMarcondes, Arthur Roberto2021-02-22T16:49:27Z2021-02-22T16:49:27Z2021-02-222021-01-22info:eu-repo/semantics/publishedVersioninfo:eu-repo/semantics/masterThesisapplication/pdfMARCONDES, A. R. Uma abordagem para atualização de forks frente ao projeto original. 2021. 103 p. Dissertação (Mestrado em Ciência da Computação) – Universidade Federal de Lavras, Lavras, 2021.http://repositorio.ufla.br/jspui/handle/1/46129porinfo:eu-repo/semantics/openAccessreponame:Repositório Institucional da UFLAinstname:Universidade Federal de Lavras (UFLA)instacron:UFLA2021-02-22T16:49:27Zoai:localhost:1/46129Repositório InstitucionalPUBhttp://repositorio.ufla.br/oai/requestnivaldo@ufla.br || repositorio.biblioteca@ufla.bropendoar:2021-02-22T16:49:27Repositório Institucional da UFLA - Universidade Federal de Lavras (UFLA)false
dc.title.none.fl_str_mv Uma abordagem para atualização de forks frente ao projeto original
An approach for updating forks against the original project
title Uma abordagem para atualização de forks frente ao projeto original
spellingShingle Uma abordagem para atualização de forks frente ao projeto original
Marcondes, Arthur Roberto
Evolução de software
Atualização de fork
Conflitos de mesclagem
Software evolution
Fork update
Merge conflicts
Ciência da Computação
title_short Uma abordagem para atualização de forks frente ao projeto original
title_full Uma abordagem para atualização de forks frente ao projeto original
title_fullStr Uma abordagem para atualização de forks frente ao projeto original
title_full_unstemmed Uma abordagem para atualização de forks frente ao projeto original
title_sort Uma abordagem para atualização de forks frente ao projeto original
author Marcondes, Arthur Roberto
author_facet Marcondes, Arthur Roberto
author_role author
dc.contributor.none.fl_str_mv Villela, Ricardo Terra Nunes Bueno
André Gustavo Duarte de Almeida
Costa, Heitor Augustus Xavier
Souza, Mauricio Ronny de Almeida
dc.contributor.author.fl_str_mv Marcondes, Arthur Roberto
dc.subject.por.fl_str_mv Evolução de software
Atualização de fork
Conflitos de mesclagem
Software evolution
Fork update
Merge conflicts
Ciência da Computação
topic Evolução de software
Atualização de fork
Conflitos de mesclagem
Software evolution
Fork update
Merge conflicts
Ciência da Computação
description Several software projects start from an existing project. This practice, in the VCS ecosystem, is called fork. For instance, the Bootstrap project, initially developed on Twitter, has in December 2020 more than 68,000 forks, which indicates that several projects started from the Bootstrap source code at a certain moment and are being customized. The problem occurs when customized projects want to obtain updates from the original project, i.e., new features, bug fixes, etc. The merge of the source code between the original and the customized projects usually generates conflicts that need human resolution. More important, the resolution of those conflicts might not be trivial and poses an arduous task for developers. This dissertation, therefore, proposes an approach for updating forks against the original project where features are modularized, documented, traceable, and can be reused. We claim that the such task can no longer be carried out on an ad hoc basis. The approach updates those systems in a non-invasive way, which preserves the independence of the customized project does not requires direct interventions in the original project. For this purpose, it specifies features on a high level using a DSL (Domain Specific Language). In a nutshell, instead of modify the method foo from the original project, the developer implements it locally and specifies, using one of the eleven instructions of the proposed DSL, something like “replace the foo method with local implementation”. We developed a tool that automates the approach and conduced an evaluation on a real-world project that is regularly updated against your original project. Through this evaluation we found that the approach applies to real scenarios and avoids merging conflicts. We also evaluated the perspective of the developers of this project regarding the proposed approach, which proved to be positive and contributed to the planning of future work.
publishDate 2021
dc.date.none.fl_str_mv 2021-02-22T16:49:27Z
2021-02-22T16:49:27Z
2021-02-22
2021-01-22
dc.type.status.fl_str_mv info:eu-repo/semantics/publishedVersion
dc.type.driver.fl_str_mv info:eu-repo/semantics/masterThesis
format masterThesis
status_str publishedVersion
dc.identifier.uri.fl_str_mv MARCONDES, A. R. Uma abordagem para atualização de forks frente ao projeto original. 2021. 103 p. Dissertação (Mestrado em Ciência da Computação) – Universidade Federal de Lavras, Lavras, 2021.
http://repositorio.ufla.br/jspui/handle/1/46129
identifier_str_mv MARCONDES, A. R. Uma abordagem para atualização de forks frente ao projeto original. 2021. 103 p. Dissertação (Mestrado em Ciência da Computação) – Universidade Federal de Lavras, Lavras, 2021.
url http://repositorio.ufla.br/jspui/handle/1/46129
dc.language.iso.fl_str_mv por
language por
dc.rights.driver.fl_str_mv info:eu-repo/semantics/openAccess
eu_rights_str_mv openAccess
dc.format.none.fl_str_mv application/pdf
dc.publisher.none.fl_str_mv Universidade Federal de Lavras
Programa de Pós-Graduação em Ciência da Computação
UFLA
brasil
Departamento de Ciência da Computação
publisher.none.fl_str_mv Universidade Federal de Lavras
Programa de Pós-Graduação em Ciência da Computação
UFLA
brasil
Departamento de Ciência da Computação
dc.source.none.fl_str_mv reponame:Repositório Institucional da UFLA
instname:Universidade Federal de Lavras (UFLA)
instacron:UFLA
instname_str Universidade Federal de Lavras (UFLA)
instacron_str UFLA
institution UFLA
reponame_str Repositório Institucional da UFLA
collection Repositório Institucional da UFLA
repository.name.fl_str_mv Repositório Institucional da UFLA - Universidade Federal de Lavras (UFLA)
repository.mail.fl_str_mv nivaldo@ufla.br || repositorio.biblioteca@ufla.br
_version_ 1807835110638092288