-
Notifications
You must be signed in to change notification settings - Fork 343
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
Remove Perl postinstall script #7841
Merged
zrhoffman
merged 19 commits into
apache:master
from
ocket8888:tools/postinstall/remove-perl
Feb 12, 2024
Merged
Remove Perl postinstall script #7841
zrhoffman
merged 19 commits into
apache:master
from
ocket8888:tools/postinstall/remove-perl
Feb 12, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ocket8888
added
Traffic Ops
related to Traffic Ops
documentation
related to documentation
low impact
affects only a small portion of a CDN, and cannot itself break one
tech debt
rework due to choosing easy/limited solution
install
related to the installation process
python
Pull requests that update Python or Python-related code
medium impact
impacts a significant portion of a CDN, or has the potential to do so
and removed
low impact
affects only a small portion of a CDN, and cannot itself break one
labels
Oct 18, 2023
ocket8888
force-pushed
the
tools/postinstall/remove-perl
branch
from
October 19, 2023 17:14
b3cc7db
to
ffc3b68
Compare
zrhoffman
requested changes
Oct 20, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CDN in a Box fails to build trafficops
because the python3
dependency is not installed in advance
> [trafficops 4/5] RUN rpm -Uvh /traffic_ops.rpm && rm /traffic_ops.rpm:
Failed dependencies:
0.619 python3 is needed by traffic_ops-8.1.0-9.03f1cf92.el8.x86_64
ocket8888
force-pushed
the
tools/postinstall/remove-perl
branch
from
November 1, 2023 17:18
ffc3b68
to
5fea7b9
Compare
ocket8888
force-pushed
the
tools/postinstall/remove-perl
branch
from
January 10, 2024 18:14
5fea7b9
to
ca5955c
Compare
Yes, you read that right. No, it's not a typo. Traffic Ops will refuse to load a configuration file that gives the Traffic Ops Golang port as an integer instead of a string.
ocket8888
force-pushed
the
tools/postinstall/remove-perl
branch
from
January 11, 2024 22:42
ca5955c
to
9a08095
Compare
zrhoffman
approved these changes
Feb 12, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
documentation
related to documentation
install
related to the installation process
medium impact
impacts a significant portion of a CDN, or has the potential to do so
python
Pull requests that update Python or Python-related code
tech debt
rework due to choosing easy/limited solution
Traffic Ops
related to Traffic Ops
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR removes the Perl implementation of the Postinstall script and updates documentation accordingly. It also removes support for Python 2, including a code-level compatibility; this won't just not try to run with Python 2 by default, it is now syntactically incompatible with that dead language. Also, as Python3.6 is already end-of-life, the requirement is now Python 3.8+ (EOL November 2024, I believe).
Which Traffic Control components are affected by this PR?
What is the best way to verify this PR?
Make sure the postinstall tests pass.
PR submission checklist