Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polyglot repair of configuration drifts in IaC scripts #49

Merged
merged 63 commits into from
Mar 19, 2024

Conversation

Nfsaavedra
Copy link
Member

  • Support for Ansible and Puppet
  • Support for atomic units of type file
  • Support conditional statements

glitch/parsers/cmof.py Outdated Show resolved Hide resolved
glitch/repair/interactive/compiler/compiler.py Outdated Show resolved Hide resolved
glitch/repair/interactive/compiler/labeler.py Outdated Show resolved Hide resolved
glitch/repair/interactive/compiler/labeler.py Outdated Show resolved Hide resolved
glitch/repair/interactive/delta_p.py Outdated Show resolved Hide resolved
Comment on lines +87 to +92
def __get_default_fs(self):
# Returns the current file system state for all the files affected by the script
# TODO: For now we will consider only the files defined in the script
fs = self.statement.to_filesystems()
affected_files = fs.state.keys()
return get_file_system_state(affected_files)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe fix?

glitch/repair/interactive/tracer/tracer.py Outdated Show resolved Hide resolved
glitch/repair/interactive/tracer/transform.py Outdated Show resolved Hide resolved
glitch/repair/interactive/tracer/transform.py Outdated Show resolved Hide resolved
@Nfsaavedra Nfsaavedra merged commit a4e404b into main Mar 19, 2024
1 check passed
@Nfsaavedra Nfsaavedra deleted the interactive_repair branch April 19, 2024 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant