-
Notifications
You must be signed in to change notification settings - Fork 227
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
docs: Fix broken link to 7.16 docs #2499
Conversation
💚 Build Succeeded
Expand to view the summary
Build stats
🤖 GitHub commentsTo re-run your PR in the CI, just comment with:
|
The (Note that earlier today we were discussing perhaps being blocked on doing a release until #2498 is discussed. @bmorelli25 What is the urgency of this? I'm guessing pretty high if builds are broken.)
The Is there something separate we can do to remove dependence on the "2.x" branch of this repo? |
Do you mean that you force push to 3.x when a release is cut? We can certainly release if that's easiest for you. Typically (in the other agents) we'd just backport and then the commit is overwritten on the next release. The choice is yours.
The only other thing would be to remove the 2.x docs from the doc build since they're EOL, but that might produce its own set of problems. For a bit more context: this kind of thing (fixing old agent links) is typical around release times. Every few releases there's an agent or two that requires us to go back in time and fix things. The problem occurs because of the versioning mismatch between agents and stack. We point to the moving target of "current" which can have negative consequences. Major releases are even worse — I'd expect us to play this game all over again when 8.0 releases. |
We reset the "3.x" branch to master via
Yah, we could do similar.
Understood. Can we create an issue to track doing that? I think eventually we want to get out of having to worry about the 2.x branch. For this issue, I'll backport the change to the 2.x branch. |
Issue opened ⬆️ . I'll merge this PR now. Would you mind taking care of the backport to 3.x as well? |
The docs PR to upgrade to 7.16 (elastic/docs#2299) is failing due to a broken link in the apm-agent-nodejs repo. This link exists in
master
,3.x
, and2.x
:This PR adds an asciidoctor
ifeval
that changes the documentation link based on the{branch}
attribute specified in this file. After the 7.16 release, this ifeval can be removed as only the{apm-overview-ref-v}/log-correlation.html#_ingest_your_logs_into_elasticsearch
link we be valid.This PR needs to be backported to the
3.x
and2.x
branches.