Skip to content

Add Linux package repository migration guide (DEVPROD-4222)#1755

Open
JakeSCahill wants to merge 5 commits into
mainfrom
devprod-4222-repo-migration-guide
Open

Add Linux package repository migration guide (DEVPROD-4222)#1755
JakeSCahill wants to merge 5 commits into
mainfrom
devprod-4222-repo-migration-guide

Conversation

@JakeSCahill

@JakeSCahill JakeSCahill commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Description

The setup-script URL PRs (#1709 and the per-version backports #1747#1753) update the fresh-install snippets to linux.pkg.redpanda.com. They don't cover the customer migration described in TSB-2026-38 — re-pointing an existing apt/yum/zypper install, the new GPG signing key, the manual (non-piped) configuration path, the deprecation timeline, or SUSE/zypper. This PR adds that durable content.

What's added

  • New page migrate:linux-package-repository.adocMigrate the Linux Package Repository (in the Migrate section, alongside Console v3 / Helm-to-Operator / Strimzi):
    • Check whether you're affected (grep dl.redpanda.com)
    • Re-point via the setup script or manual configuration (GPG key import + explicit repo definition) for Debian/Ubuntu and Fedora/RHEL/SUSE
    • Disable the legacy repo, verify (apt-cache policy / yum info), validate-before-cutover, and config-management guidance
  • New partial linux/repo-migration-note.adoc — a single deprecation/deadline IMPORTANT note, included from the Linux install, FIPS install, Console (Linux) install, and rolling-upgrade pages so the callout isn't duplicated.
  • nav — new page under the Migrate section.

Verification

  • All four new URLs return HTTP 200 and serve valid setup scripts.
  • Manual repo definitions, key URLs, repo names, and the SUSE path were taken from the live setup-redpanda.{deb,rpm}.sh scripts (not just the TSB text), so they match what the scripts actually write.

Notes for reviewers

Checks

  • New feature
  • Content gap
  • Support Follow-up
  • Small fix (typos, links, copyedits, etc)

🤖 Generated with Claude Code

The setup-script URL PRs only update fresh-install snippets. This adds the
durable migration content the TSB describes but the docs lacked:

- New page: Migrate the Linux Package Repository — re-point apt/yum/zypper to
  linux.pkg.redpanda.com, import the new GPG key, disable the legacy repo,
  verify, validate before cutover, and config-management guidance. Includes a
  manual configuration path for environments that cannot pipe a script to bash.
- New partial: repo-migration-note.adoc — a single deprecation/deadline note,
  included from the Linux install, FIPS install, Console install, and rolling
  upgrade pages so the callout is not duplicated.
- nav: add the new page under Deploy > Redpanda > Linux.

Manual repo definitions and key URLs were verified against the live
setup-redpanda.{deb,rpm}.sh scripts.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@netlify

netlify Bot commented Jun 16, 2026

Copy link
Copy Markdown

Deploy Preview for redpanda-docs-preview ready!

Name Link
🔨 Latest commit f175814
🔍 Latest deploy log https://app.netlify.com/projects/redpanda-docs-preview/deploys/6a319694ab956a000820dbee
😎 Deploy Preview https://deploy-preview-1755--redpanda-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

The PR adds documentation for migrating Redpanda Linux package repositories from dl.redpanda.com to linux.pkg.redpanda.com. Two new Antora attributes are defined in antora.yml for the legacy repository shutdown date and dual-publish start date. A new reusable partial (repo-migration-note.adoc) is created and included in the Linux install, FIPS install, Console Linux deploy, and rolling upgrade pages. A full migration guide page (linux-package-repository.adoc) is added under the Migrate module, covering distro-specific steps, verification commands, and configuration management updates. A navigation entry is added under the Migrate section.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • redpanda-data/docs#1108: Both PRs modify the Migrate section navigation in modules/ROOT/nav.adoc, with the earlier PR reorganizing that hierarchy and this PR adding a new Linux package repository migration entry.

Suggested reviewers

  • Feediver1
  • micheleRP
  • KavyaShivashankar
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately and concisely summarizes the main change: adding a Linux package repository migration guide, and includes the ticket reference for traceability.
Description check ✅ Passed The description provides detailed context, explicitly marks the 'Content gap' checkbox, includes verification steps, and notes potential conflicts. However, it lacks the Jira link and page preview URLs required by the template.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch devprod-4222-repo-migration-guide

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

JakeSCahill and others added 3 commits June 16, 2026 14:49
The page is fundamentally a one-time host migration (dl.redpanda.com ->
linux.pkg.redpanda.com), matching the Migrate section's existing 'X to Y'
guides (Console v3, Helm-to-Operator, Strimzi) better than Deploy. Update
the nav entry, the cross-reference in the shared note, and the page category.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- Add :page-topic-type: how-to and three learning objectives with the
  standard 'After reading this page...' checkbox block (required for how-to
  pages).
- Active voice: 'no Redpanda version is removed', 'shuts down on'.
- Imperative section heading: 'Update configuration management'.
- Partial wording: 'currently install' over 'already install'.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The shutdown date was hardcoded in four places across two files. Define
legacy-repo-shutdown-date and repo-dual-publish-start in antora.yml and
reference them with {attribute} so a date change is a single edit.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@JakeSCahill JakeSCahill marked this pull request as ready for review June 16, 2026 16:15
@JakeSCahill JakeSCahill requested a review from a team as a code owner June 16, 2026 16:15

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
modules/deploy/partials/linux/repo-migration-note.adoc (1)

3-3: ⚡ Quick win

Use empty bracket xref syntax in hardcoded link references to support automatic title updates.

Both the migration note partial and the navigation entry use hardcoded link text in xref references, but per the repository's learning guidelines, AsciiDoc xref links should use empty brackets to allow Antora to automatically pull the page title from the target document. This approach reduces maintenance burden if the page title changes in the future.

  • modules/deploy/partials/linux/repo-migration-note.adoc#L3: Replace xref:migrate:linux-package-repository.adoc[Migrate the Linux Package Repository] with xref:migrate:linux-package-repository.adoc[]
  • modules/ROOT/nav.adoc#L259: Replace xref:migrate:linux-package-repository.adoc[Migrate the Linux Package Repository] with xref:migrate:linux-package-repository.adoc[]
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@modules/deploy/partials/linux/repo-migration-note.adoc` at line 3, Replace
hardcoded link text in xref references with empty brackets to allow Antora to
automatically pull page titles from target documents. In
modules/deploy/partials/linux/repo-migration-note.adoc at line 3, change the
xref reference from using `xref:migrate:linux-package-repository.adoc[Migrate
the Linux Package Repository]` to
`xref:migrate:linux-package-repository.adoc[]`. Apply the same change in
modules/ROOT/nav.adoc at line 259, replacing
`xref:migrate:linux-package-repository.adoc[Migrate the Linux Package
Repository]` with `xref:migrate:linux-package-repository.adoc[]`. This approach
allows automatic title updates if the page title changes in the future, reducing
maintenance burden.

Source: Learnings

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In `@modules/deploy/partials/linux/repo-migration-note.adoc`:
- Line 3: Replace hardcoded link text in xref references with empty brackets to
allow Antora to automatically pull page titles from target documents. In
modules/deploy/partials/linux/repo-migration-note.adoc at line 3, change the
xref reference from using `xref:migrate:linux-package-repository.adoc[Migrate
the Linux Package Repository]` to
`xref:migrate:linux-package-repository.adoc[]`. Apply the same change in
modules/ROOT/nav.adoc at line 259, replacing
`xref:migrate:linux-package-repository.adoc[Migrate the Linux Package
Repository]` with `xref:migrate:linux-package-repository.adoc[]`. This approach
allows automatic title updates if the page title changes in the future, reducing
maintenance burden.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 398e9476-abb7-415a-b10b-edf169ef25c6

📥 Commits

Reviewing files that changed from the base of the PR and between b6e8fa5 and f175814.

📒 Files selected for processing (8)
  • antora.yml
  • modules/ROOT/nav.adoc
  • modules/deploy/pages/console/linux/deploy.adoc
  • modules/deploy/partials/linux/install-fips.adoc
  • modules/deploy/partials/linux/install-redpanda.adoc
  • modules/deploy/partials/linux/repo-migration-note.adoc
  • modules/migrate/pages/linux-package-repository.adoc
  • modules/upgrade/pages/rolling-upgrade.adoc

@kbatuigas kbatuigas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good. Just one thing to flag from pr-review but not a blocker.


[,bash]
----
grep -r dl.redpanda.com /etc/yum.repos.d/

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

From pr-review:

The SUSE grep command only checks /etc/yum.repos.d/, but SUSE uses /etc/zypp/repos.d/. A SUSE user running only this command would see no match even if affected.

  • Current: grep -r dl.redpanda.com /etc/yum.repos.d/
  • Suggested: Add a second line or a note, e.g.: grep -r dl.redpanda.com /etc/yum.repos.d/ /etc/zypp/repos.d/ 2>/dev/null

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.

2 participants