Repository navigation
docs: start the quickstart from a release tag - #423
Merged
Merged
Conversation
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)
7 of 9 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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'sdocker-compose.quickstart.ymlnames the previous release's images while the files beside it may have moved on. Both now clone thev2.0.0tag. The release guide adds the two clone commands to what every release pull request bumps.Changes
README.mdanddocs/tutorials/quickstart.md(1bb6dd3d): a "Get the code" step that runsgit clone --branch v2.0.0, with one sentence on why a tag and notmain. 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: runsgit fetch --tagsandgit checkout v2.0.0instead ofgit pull, which followsmainand fails on a checkout of a tag.34993d3e: says to remove aD2S_VERSIONsetting first, such as theedgeone the v2.0.0 release notes offer for followingmain. 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 inREADME.mdanddocs/tutorials/quickstart.md, and say theImagesworkflow does not check them. A missed bump sends new users to the previous release, which still works.Testing
mkdocs build --stricton this branch merged intomainatca5bb5f0, before and after34993d3e— builds with no warnings.git ls-remote https://github.com/gdslab/data-to-science refs/tags/v2.0.0— the tag is public, at6d6c5a16. Itsdocker-compose.quickstart.ymldefaults all six D2S image lines to2.0.0.git clone --branch v2.0.0 https://github.com/gdslab/data-to-science d2s-v2.0.0, thenquickstart init,quickstart up, andcreatesuperuser— 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.versioninCITATION.cff:images.yml, lines 124 to 143.Backend(lint, test) andPR titlepass.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
docker compose exec backend pytestdocker compose exec backend ruff check . && docker compose exec backend ruff format --check .docker compose exec frontend npx tsc --noEmitdocker compose exec frontend yarn lintAssisted-bytrailer, or no AI assistance was used🤖 Generated with Claude Code