Replica: Automação da Reprodução de Ambientes Flatpak por meio da Geração de Artefatos IaC
Resumo
Este trabalho apresenta o Replica, uma aplicação gráfica desenvolvida em Python com GTK 4 e libadwaita que automatiza a geração de artefatos IaC a partir do estado atual de um sistema Flatpak. A ferramenta realiza a leitura dos aplicativos instalados, seus repositórios de origem e suas permissões (overrides), produzindo artefatos capazes de reproduzir o ambiente em uma nova instalação, suportando os formatos Ansible Playbook e Shell Script. Experimentos realizados em ambiente virtualizado demonstram que os artefatos gerados são capazes de restaurar fielmente o conjunto de aplicações e suas configurações de permissão em cenários homogêneos e heterogêneos de distribuição Linux, com exceção de repositórios remotos customizados não catalogados.Referências
boredsquirrel (2026). Flatpak-remotes: A list of public flatpak repositories. [link]. Acessado em: junho de 2026.
Chiari, M., De Pascalis, M., and Pradella, M. (2022). Static analysis of infrastructure as code: a survey. In 2022 IEEE 19th International Conference on Software Architecture Companion (ICSA-C), pages 218–225.
Flathub (2025). Flathub 2025 year in review. [link]. Acessado em: junho de 2026.
Flatpak (2026). Repositories — flatpak documentation. [link]. Acessado em: junho de 2026.
Flatpak Team (2026). Flatpak – the future of application distribution. [link].
GNOME Project (2026). Gnome human interface guidelines. [link]. Acessado em: junho de 2026.
GoogleCloudPlatform (2026). Terraformer: CLI tool to generate terraform files from existing infrastructure. [link]. Acessado em: junho de 2026.
Hevner, A. R., March, S. T., Park, J., and Ram, S. (2004). Design science in information systems research1. MIS quarterly, 28(1):75–106.
Hochstein, L. and Moser, R. (2017). Ansible: Up and Running – Automating Configuration Management and Deployment the Easy Way. O’Reilly Media.
in-a-dil-emma (2026). declarative-flatpak: Declaratively manage flatpak installations in nixos and your $home. [link]. Acessado em: junho de 2026.
Kumara, I., Garriga, M., Romeu, A. U., Di Nucci, D., Palomba, F., Tamburri, D. A., and van den Heuvel, W.-J. (2021). The do’s and don’ts of infrastructure code: A systematic gray literature review. Information and Software Technology, 137:106593.
Modena, G. (2026). nix-flatpak: Install flatpaks declaratively. [link]. Versão 0.7.0. Acessado em: junho de 2026.
NixOS Foundation (2026). Nix & NixOS: Reproducible builds and deployments. [link].
Red Hat (2026a). Ansible documentation. [link].
Red Hat (2026b). community.general.flatpak – manages flatpak applications. Ansible Documentation.
Chiari, M., De Pascalis, M., and Pradella, M. (2022). Static analysis of infrastructure as code: a survey. In 2022 IEEE 19th International Conference on Software Architecture Companion (ICSA-C), pages 218–225.
Flathub (2025). Flathub 2025 year in review. [link]. Acessado em: junho de 2026.
Flatpak (2026). Repositories — flatpak documentation. [link]. Acessado em: junho de 2026.
Flatpak Team (2026). Flatpak – the future of application distribution. [link].
GNOME Project (2026). Gnome human interface guidelines. [link]. Acessado em: junho de 2026.
GoogleCloudPlatform (2026). Terraformer: CLI tool to generate terraform files from existing infrastructure. [link]. Acessado em: junho de 2026.
Hevner, A. R., March, S. T., Park, J., and Ram, S. (2004). Design science in information systems research1. MIS quarterly, 28(1):75–106.
Hochstein, L. and Moser, R. (2017). Ansible: Up and Running – Automating Configuration Management and Deployment the Easy Way. O’Reilly Media.
in-a-dil-emma (2026). declarative-flatpak: Declaratively manage flatpak installations in nixos and your $home. [link]. Acessado em: junho de 2026.
Kumara, I., Garriga, M., Romeu, A. U., Di Nucci, D., Palomba, F., Tamburri, D. A., and van den Heuvel, W.-J. (2021). The do’s and don’ts of infrastructure code: A systematic gray literature review. Information and Software Technology, 137:106593.
Modena, G. (2026). nix-flatpak: Install flatpaks declaratively. [link]. Versão 0.7.0. Acessado em: junho de 2026.
NixOS Foundation (2026). Nix & NixOS: Reproducible builds and deployments. [link].
Red Hat (2026a). Ansible documentation. [link].
Red Hat (2026b). community.general.flatpak – manages flatpak applications. Ansible Documentation.
Publicado
23/09/2026
Como Citar
REIS, Adryan N.; LIMA, Yulle G. S. de.
Replica: Automação da Reprodução de Ambientes Flatpak por meio da Geração de Artefatos IaC. In: ESCOLA REGIONAL DE COMPUTAÇÃO BAHIA, ALAGOAS E SERGIPE (ERBASE), 26. , 2026, Maragogi/AL.
Anais [...].
Porto Alegre: Sociedade Brasileira de Computação,
2026
.
p. 394-399.
DOI: https://doi.org/10.5753/erbase.2026.32264.
