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

Major cleanup #17

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

Major cleanup #17

wants to merge 9 commits into from

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Nov 17, 2019

This PR aims to remove a lot of unused code or rewrite methods to an equivalent but easier implementation. There should be no difference for the end user.

6b4c116 Close file descriptors when possible
5b051f7 Implement katello-ssl-tool via console_scripts
0966426 Simplify value assignment
9f047a7 Drop unique and setIntersection functions
428d38d Remove unused functions
a4be37b Rewrite RPM version comparison code
f082f49 Remove checksum.py by checking file contents

@ekohl
Copy link
Member Author

ekohl commented May 19, 2020

I started to split off some:

While I realize we will likely move away from the tool, I think it still makes sense to clean it up.

@ekohl ekohl marked this pull request as draft May 19, 2020 14:25
@ekohl ekohl force-pushed the remove-compat branch 2 times, most recently from 036e654 to 6027aa3 Compare May 29, 2020 18:47
@ekohl ekohl force-pushed the remove-compat branch 2 times, most recently from a4b1497 to 64dc9a3 Compare September 14, 2020 17:44
@ekohl ekohl force-pushed the remove-compat branch 2 times, most recently from f817bfb to b422ed0 Compare November 18, 2021 19:13
This can easily be checked in the function itself without duplicating
all the variables.
This was always called twice. It now does the checking as part of the
function itself which reduces duplication.
By moving this all into genServerCert, a lot of variable duplication is
avoided.
This method allows to fail fast
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