This repository was archived by the owner on Nov 24, 2025. It is now read-only.
Update module version to v7#7374
Closed
zrhoffman wants to merge 5 commits intoapache:masterfrom
Closed
Conversation
git ls-files | grep -vE '^CHANGELOG|^vendor|\.go$' | xargs grep -lE '[^/]github\.com/apache/trafficcontrol/' | xargs sed -Ei 's|([^/]github\.com/apache/trafficcontrol/)|\1v7/|g'
git ls-files '**.go' | grep -vE ^vendor | xargs grep -lE '[^/]github\.com/apache/trafficcontrol/' | xargs sed -Ei 's|([^/]github\.com/apache/trafficcontrol/)|\1v7/|g'
Codecov Report
@@ Coverage Diff @@
## master #7374 +/- ##
============================================
- Coverage 65.64% 65.62% -0.02%
Complexity 98 98
============================================
Files 323 323
Lines 12827 12825 -2
Branches 965 965
============================================
- Hits 8420 8417 -3
Misses 4048 4048
- Partials 359 360 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 2 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
da52e80 to
f5061d8
Compare
Member
Author
|
Closing in favor of #7814 |
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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 fixes #4380 and fixes #6304 by updating the ATC module path from
trafficcontrol/go.mod
Line 1 in 75c3769
to
trafficcontrol/go.mod
Line 1 in da52e80
and updates references to the latest ATC Go module around the repo to reference the
v7version. See the git history for the commands used to update files and #4380 (comment) for the motivation for this PR.Note that this PR does not move any files.
Once this PR is merged, a message will appear at the top of https://pkg.go.dev/github.com/apache/trafficcontrol lik this:
because the latest module will be at https://pkg.go.dev/github.com/apache/trafficcontrol/v7.
Which Traffic Control components are affected by this PR?
What is the best way to verify this PR?
Verify that the 8 non-URL, non-local-path instances of
github.com/apache/trafficcontrol/in the repo that did not havev7/appended to them. They should stay as-is:PR submission checklist