Skip to content

Make the Download page agree with the repository - #153

Merged
guanzhousongmicrosoft merged 1 commit into
documentdb:mainfrom
GuanzhouSong:fix/packages-catalog-pg16
Aug 24, 2026
Merged

Make the Download page agree with the repository#153
guanzhousongmicrosoft merged 1 commit into
documentdb:mainfrom
GuanzhouSong:fix/packages-catalog-pg16

Conversation

@GuanzhouSong

Copy link
Copy Markdown
Contributor

Why

A confirmation round of cold installs (terminal-only testers, live site, real repository, Docker) found the docs guide now matches reality exactly:

  • One tester wrote down what it expected for PostgreSQL 16 before installing and hit it verbatim — package name, 0.114-0, the absent documentdb-setup, and even the literal has no installation candidate error for documentdb-16.
  • Another installed on Ubuntu 22.04, Debian 11, Debian 12 and Rocky 8 and reported "Nothing was guessed" — every value traced to a site string. The Debian 11 / PostgreSQL 18 prediction matched to the exact dependency error.

The remaining gap is that /packages — the page people land on — disagreed with the guide.

What was wrong

1. The catalog said PostgreSQL 16 was unavailable on the paved road. It listed 16 only under the extension-only distributions, so Ubuntu 24.04 and RHEL 9 appeared to be 17/18-only. In reality postgresql-16-documentdb installs there fine — as the extension alone, at 0.114 rather than 0.116. A reader of only this page would conclude they had to leave Ubuntu 24.04 to use PostgreSQL 16.

2. No version was shown, while every example string on the page reads 0.116 — so the 0.114 tiers were invisible.

3. Only the deb13 component was named. A terminal user who never reached the guide had no component for their distribution and no JavaScript to generate one.

Changes

  • Added the two missing PostgreSQL 16 rows (Ubuntu 24.04, RHEL 9), marked extension-only.
  • Added a Version served column: 0.116 for the full-stack tiers, 0.114 for the rest.
  • Carried the no-documentdb-16 warning onto the page, with both package managers' error text.
  • Put the repository component on every row (ubuntu24, ubuntu22, deb11/deb12/deb13, rpm/rhel9, rpm/rhel8).
  • Footnote now links to the Linux Packages Quick Start for the full commands.

Validation

130 tests, tsc --noEmit, eslint and next build all pass. Every added string verified present in the rendered page, including all seven component names.

A confirmation round of cold installs found the docs guide now matches reality
exactly -- one tester predicted the PostgreSQL 16 outcome from the page and hit
it verbatim, including the literal `has no installation candidate` error, and
another installed on four distributions without guessing a single value. The
remaining gap is that /packages, the page people actually land on, disagreed
with the guide.

Its catalog omitted PostgreSQL 16 on Ubuntu 24.04 and RHEL 9 entirely, listing
16 only under the extension-only distributions. That reads as ""PostgreSQL 16 is
not available on Ubuntu 24.04"", when in fact `postgresql-16-documentdb`
installs there quite happily -- as the extension alone, at 0.114 rather than
0.116. A reader of only that page would conclude they had to leave Ubuntu 24.04
to use PostgreSQL 16. Add the rows, add a version-served column so the 0.114 and
0.116 tiers are visible at a glance, and carry the no-`documentdb-16` warning
onto the page instead of leaving it in the guide.

The catalog also named only the `deb13` repository component, so a terminal
user who never reached the guide had no way to know the component for their
distribution and no JavaScript to generate it. Each row now carries its
component, and the footnote links to the guide for the full commands.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 8df9084a-ccaf-432c-b015-2ccd8893a9d8

@guanzhousongmicrosoft guanzhousongmicrosoft 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.

Confirmed by two cold terminal-only install runs: the docs guide now matches reality exactly, and this brings the Download page into agreement with it. Adds the missing PostgreSQL 16 rows, the version-served column, the documentdb-16 warning, and every repository component. CI green.

@guanzhousongmicrosoft
guanzhousongmicrosoft merged commit c587e3a into documentdb:main Aug 24, 2026
2 checks passed
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