Skip to content

docs: start the quickstart from a release tag - #423

Merged
hancocb merged 3 commits into
gdslab:mainfrom
hancocb:docs/quickstart-release-tag
Dec 4, 2026
Merged

hancocb merged 3 commits into
gdslab:mainfrom
hancocb:docs/quickstart-release-tag

Conversation

@hancocb

@hancocb hancocb commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

The README Quick Start and the Getting Started tutorial began "from the root directory of the repository" without saying how to get it, so readers cloned main. Between releases, main's docker-compose.quickstart.yml names the previous release's images while the files beside it may have moved on. Both now clone the v2.0.0 tag. The release guide adds the two clone commands to what every release pull request bumps.

Changes

  • Docs:
    • README.md and docs/tutorials/quickstart.md (1bb6dd3d): a "Get the code" step that runs git clone --branch v2.0.0, with one sentence on why a tag and not main. Git joins the prerequisites and the version checks. The tutorial's later steps are renumbered; nothing links to their anchors.
    • docs/how-to/deployment.md, the quickstart part of "Upgrading from v1.1.0":
      • 1bb6dd3d: runs git fetch --tags and git checkout v2.0.0 instead of git pull, which follows main and fails on a checkout of a tag.
      • 34993d3e: says to remove a D2S_VERSION setting first, such as the edge one the v2.0.0 release notes offer for following main. It overrides the images the tag names.
    • docs/how-to/release.md (6102033f): "Where the version is written" and step 3 list the clone commands in README.md and docs/tutorials/quickstart.md, and say the Images workflow does not check them. A missed bump sends new users to the previous release, which still works.

Testing

  • mkdocs build --strict on this branch merged into main at ca5bb5f0, before and after 34993d3e — builds with no warnings.
  • git ls-remote https://github.com/gdslab/data-to-science refs/tags/v2.0.0 — the tag is public, at 6d6c5a16. Its docker-compose.quickstart.yml defaults all six D2S image lines to 2.0.0.
  • git clone --branch v2.0.0 https://github.com/gdslab/data-to-science d2s-v2.0.0, then quickstart init, quickstart up, and createsuperuser — run by the maintainer for step 7 of the v2.0.0 release: login, a GeoTIFF upload, and raster and vector tiles worked. The command in this change differs only in the target directory.
  • The statement that the workflow checks only the quickstart file and version in CITATION.cff: images.yml, lines 124 to 143.
  • On the fork's pull request: Backend (lint, test) and PR title pass.

AI Assistance

Claude Code (Claude Opus 5.5) wrote this change and ran the checks listed under Testing. CodeRabbit CLI reviewed it.

Related Issues

No tracking issue exists. Follow-up to the v2.0.0 release (#421).

Checklist

  • Backend tests pass: docker compose exec backend pytest
  • Backend lint passes: docker compose exec backend ruff check . && docker compose exec backend ruff format --check .
  • Frontend type check passes: docker compose exec frontend npx tsc --noEmit
  • Frontend lint adds no new findings: docker compose exec frontend yarn lint
  • I have self-reviewed the diff
  • I can explain every change in this pull request
  • Documentation (docs/, README) is updated, or no updates are needed
  • Schema/migration changes are called out above, or there are none
  • AI-assisted commits carry the Assisted-by trailer, or no AI assistance was used

🤖 Generated with Claude Code

The README and the Getting Started tutorial started from "the root
directory of the repository" without saying how to get it, so readers
cloned main. Between releases, main's docker-compose.quickstart.yml still
names the previous release's images while the files beside it may have
moved on. Both now clone the v2.0.0 tag and list Git as a prerequisite.

The quickstart upgrade in the v1.1.0 upgrade guide checks out the v2.0.0
tag instead of running git pull, which follows main and fails on a
checkout of a tag.

Assisted-by: Claude Code (Claude Opus 5.5)
The clone commands in README.md and docs/tutorials/quickstart.md name the
latest release, so the release pull request has to move them with the
other version lines. The Images workflow does not check them: a missed
one sends new users to the previous release, which still works.

Assisted-by: Claude Code (Claude Opus 5.5)
A quickstart stack started with D2S_VERSION set, such as the edge setting
the v2.0.0 release notes offer for following main, keeps running those
images after git checkout v2.0.0, because the variable overrides the
version the tag's compose file names. A reader of the upgrade guide means
to run v2.0.0, so the guide now says to remove it first.

Raised by CodeRabbit on the fork's pull request.

Assisted-by: Claude Code (Claude Opus 5.5)
@hancocb hancocb changed the title Docs/quickstart release tag docs: start the quickstart from a release tag Dec 4, 2026
@hancocb
hancocb merged commit f626ada into gdslab:main Dec 4, 2026
4 of 5 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.

1 participant