From bc632f50da0d85527118e2eff3fd8614bd1b73de Mon Sep 17 00:00:00 2001 From: Niv Greenstein <88280771+NivGreenstein@users.noreply.github.com> Date: Wed, 23 Sep 2026 21:41:00 +0300 Subject: [PATCH] docs: build from source without -mod vendor (MAPCO-11521) Shigola no longer commits vendor/, so the flag would fail. Say instead that a build downloads its modules against go.sum, and where the offline recipe lives. Co-Authored-By: Claude Opus 5.5 --- docs/ogc-api-tiles.md | 2 +- src/pages/download.md | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/ogc-api-tiles.md b/docs/ogc-api-tiles.md index 2365e4d..ae4ee3a 100644 --- a/docs/ogc-api-tiles.md +++ b/docs/ogc-api-tiles.md @@ -205,7 +205,7 @@ provider, so a run needs that fixture up first. To reproduce a run locally, from ```sh docker compose up -d && docker wait migration # the Athens fixture, in PostGIS -go build -mod vendor -o /tmp/shigola ./cmd/shigola +go build -o /tmp/shigola ./cmd/shigola /tmp/shigola serve --config .github/cite/config.toml --port ":8081" & .github/cite/run.sh WebMercatorQuad 14 6324 9271 .github/cite/run.sh WorldCRS84Quad 14 4740 18542 diff --git a/src/pages/download.md b/src/pages/download.md index 5a31b75..97cafe1 100644 --- a/src/pages/download.md +++ b/src/pages/download.md @@ -14,10 +14,11 @@ Prebuilt binaries: **[MapColonies/shigola releases](https://github.com/MapColoni ```sh git clone https://github.com/MapColonies/shigola.git cd shigola -go build -mod vendor ./cmd/shigola +go build ./cmd/shigola ``` -Dependencies are vendored, so `-mod vendor` builds offline and pins exactly what CI used. +The build downloads its Go modules and verifies each against `go.sum`, so it needs network access to +the Go module proxy. To build offline, see "Dependencies" in the repository's `CONTRIBUTING.md`. ## Docker