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

Y2logs analyzer #149

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft

Y2logs analyzer #149

wants to merge 7 commits into from

Conversation

jreidinger
Copy link
Member

No description provided.

elsif RAR_REGEXPS.any? { |r| archive =~ r }
Cheetah.run("unrar", "x", archive, file)
else
raise "Should not happen :)"
Copy link
Member

Choose a reason for hiding this comment

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

Do not be that sure 😉

result
ensure
if temp_dir
Cheetah.run("rm", "-rf", file)
Copy link
Member

Choose a reason for hiding this comment

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

Why not FileUtils.rm_rf ?

Copy link
Member Author

Choose a reason for hiding this comment

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

well, original intention was logging, but probably not so important. So FileUtils can be used.

@dgdavid
Copy link
Member

dgdavid commented Sep 11, 2023

@jreidinger

Do you feel this still needed? If not, I'd close it and maybe move the idea to the new tool for Agama (internal link)

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.

None yet

3 participants