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

Convert freeze_versions to Python #105

Merged
merged 3 commits into from
Nov 27, 2023
Merged

Convert freeze_versions to Python #105

merged 3 commits into from
Nov 27, 2023

Conversation

jwodder
Copy link
Collaborator

@jwodder jwodder commented Nov 13, 2023

Closes #101.

This is just a direct translation. There is various room for improvement of the code quality, but that can come later.

Copy link
Member

@yarikoptic yarikoptic left a comment

Choose a reason for hiding this comment

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

Please rf to use argparse right away for better cli

scripts/freeze_versions Outdated Show resolved Hide resolved
echo "Unknown option '$arg'" >&2
exit 5
esac
for arg in sys.argv[1:]:
Copy link
Member

Choose a reason for hiding this comment

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

Could you please right away rf it to use built in argparse

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done: 46cba7c.

@jwodder
Copy link
Collaborator Author

jwodder commented Nov 20, 2023

@yarikoptic Ping.

1 similar comment
@jwodder
Copy link
Collaborator Author

jwodder commented Nov 27, 2023

@yarikoptic Ping.

@yarikoptic
Copy link
Member

Thank you @jwodder ! Let's proceed -- I guess I will test/try/fix in the battlefield.

@yarikoptic yarikoptic merged commit 51d9592 into master Nov 27, 2023
5 checks passed
@jwodder jwodder deleted the gh-101 branch July 12, 2024 23:17
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.

rewrite freeze_versions in Python
2 participants