Skip to content

feat(glossary): add upload and export commands - #1533

Merged
HugoHSun merged 8 commits into
nextfrom
hugo/cx-3830-glossary-api
Oct 19, 2026
Merged

HugoHSun merged 8 commits into
nextfrom
hugo/cx-3830-glossary-api

Conversation

@HugoHSun

Copy link
Copy Markdown
Member
🚥 Resolves CX-3830

🧰 Changes

Adds JSON upload and export for glossary terms using the endpoints in readme#21051.

  • rdme glossary upload glossary.json merges project terms by default. --replace replaces them, and --dry-run previews the result without saving. Group terms in the file are ignored.
  • rdme glossary export glossary.json exports project terms. --include-group also includes inherited Enterprise group terms in a separate list.

Both commands use the existing project API key authentication. The API changes need to be deployed before these commands can be used.

🧬 QA & Testing

  • Upload a glossary, preview changes with --dry-run, and replace it with --replace. Invalid input should fail before uploading.
  • Export with and without --include-group. Null group terms are omitted, while an empty group list is preserved.
  • Upload an exported file and confirm only project terms are sent.

@greptile-apps

greptile-apps Bot commented Sep 17, 2026 •

Copy link
Copy Markdown

RetriggerConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no blocking bug was established.

Reviews (4) · Last reviewed commit: "Merge branch 'next' into hugo/cx-3830-gl..." · Reviewed by Greptile

@erunion

erunion commented Oct 5, 2026

Copy link
Copy Markdown
Member

@HugoHSun What's left to go on this before it's ready for review?

@HugoHSun

HugoHSun commented Oct 5, 2026

Copy link
Copy Markdown
Member Author

@HugoHSun What's left to go on this before it's ready for review?

Still waiting for the readme api https://github.com/readmeio/readme/pull/21051 approval and release

@HugoHSun
HugoHSun marked this pull request as ready for review October 8, 2026 21:52
@HugoHSun
HugoHSun requested a review from erunion as a code owner October 8, 2026 21:52
@HugoHSun

HugoHSun commented Oct 8, 2026

Copy link
Copy Markdown
Member Author

APIs released and ready to go! @erunion

greptile-apps[bot]
greptile-apps Bot previously approved these changes Oct 8, 2026
Comment thread src/lib/glossary.ts Resolved
@greptile-apps
greptile-apps Bot dismissed their stale review October 18, 2026 22:01

Dismissed because a newer commit was pushed; Greptile will re-review the current head.

@HugoHSun
HugoHSun requested a review from erunion October 18, 2026 22:03
Comment thread src/commands/glossary/export.ts Resolved
Co-authored-by: Jon Ursenbach <erunion@users.noreply.github.com>
@HugoHSun
HugoHSun merged commit 2b49b61 into next Oct 19, 2026
9 checks passed
@HugoHSun
HugoHSun deleted the hugo/cx-3830-glossary-api branch October 19, 2026 20:43
erunion pushed a commit that referenced this pull request Oct 31, 2026
# [10.10.0-next.5](v10.10.0-next.4...v10.10.0-next.5) (2026-10-31)

### Features

* **glossary:** add upload and export commands ([#1533](#1533)) ([2b49b61](2b49b61))

[skip ci]
@erunion

erunion commented Oct 31, 2026

Copy link
Copy Markdown
Member

🎉 This PR is included in version 10.10.0-next.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

erunion pushed a commit that referenced this pull request Nov 1, 2026
# [10.10.0](v10.9.6...v10.10.0) (2026-11-01)

### Bug Fixes

* Disable javascript execution in 2nd frontmatter ([#1518](#1518)) ([922cbde](922cbde))
* empty commit to force a release ([779c812](779c812))
* **export:** honor --docs-only when skipping empty pages ([#1523](#1523)) ([2c89dec](2c89dec))
* issue where child pages could be uploaded before their parents ([#1554](#1554)) ([8ad0fd2](8ad0fd2))
* **openapi:** treat pending uploads as accepted ([#1515](#1515)) ([757950c](757950c))

### Features

* **glossary:** add upload and export commands ([#1533](#1533)) ([2b49b61](2b49b61))
* **openapi:** add configurable upload timeout ([#1516](#1516)) ([8c44efe](8c44efe))
* **openapi:** surface target project in upload output ([#1520](#1520)) ([53579cc](53579cc))

[skip ci]
@erunion

erunion commented Nov 1, 2026

Copy link
Copy Markdown
Member

🎉 This PR is included in version 10.10.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants