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

refactoring and simplifying #6

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Heus-Sueh
Copy link

I made the script more portable using env bash and added colors to the echos. This PR will be in draft for now to analyze if it is good or needs some changes

Improvements have been made to avoid code duplication, improve readability and simplify logic:
@boredsquirrel
Copy link
Owner

boredsquirrel commented Aug 20, 2024

thanks for your work! I have the feeling this script already is kind of messy, and has quite some edge cases not solved, like wrong input args.

@Heus-Sueh
Copy link
Author

thanks for your work! I have the feeling this script already is kind of messy, and has quite some edge cases not solved, like wrong input args.

Bash gets messy as the code grows, maybe we can port it to Python or leave it as it is. It seems like upstream won't solve this COPR problem in Ostree anytime soon, unfortunately

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.

2 participants