From a7941bb92df67686b018fbb601cbf413ea909d14 Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Tue, 25 Aug 2026 15:58:38 +0200 Subject: privacy: use Krakow in examples, tests and fixtures A recorded GUGiK fixture was a reverse address lookup for the author's home: it carried a house number, a postal code and coordinates to about a metre, and it was published. The place name in the README was the lesser half of the problem. Fixtures are re-recorded against Rynek Glowny in Krakow, a public square, and the tests, spec example and README follow. The README example is regenerated from the binary. warnings.json is left as recorded: it is a verbatim national bulletin whose teryt array lists roughly two hundred powiats, so no single entry says anything about anyone. NOTE: this removes the address from the tip, not from history. Commit e14a7db and its successors still contain it, and remain reachable on any clone or mirror. --- docs/superpowers/specs/2026-08-10-go-rewrite-design.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'docs/superpowers') diff --git a/docs/superpowers/specs/2026-08-10-go-rewrite-design.md b/docs/superpowers/specs/2026-08-10-go-rewrite-design.md index f592412..b0596be 100644 --- a/docs/superpowers/specs/2026-08-10-go-rewrite-design.md +++ b/docs/superpowers/specs/2026-08-10-go-rewrite-design.md @@ -52,7 +52,7 @@ documents itself — the same trick wego's `ingo` uses, without the library. ``` # ~/.config/prognosis/config -location=Krakow # falls back to location= in ~/.wegorc when unset +location=Krakow # required (see the note below) hours=12 # default span; -n / -d override units=metric # metric | imperial | si @@ -77,6 +77,12 @@ Precedence: **flags > config file > built-in defaults**. Location additionally falls back to `~/.wegorc` so the two weather tools never disagree about where you are. +> **Superseded in v0.1.1.** The `~/.wegorc` fallback was removed: reading +> another program's configuration made prognosis useless without wego installed +> and hid the fact that it has no way to know where you are. `location=` is now +> required in prognosis' own config. This document is kept as the record of the +> original design, not as current documentation. + `units` is passed to Open-Meteo as `temperature_unit` / `wind_speed_unit` / `precipitation_unit` rather than converted locally, so rounding matches the provider: `metric` = °C, km/h, mm; `imperial` = °F, mph, inch; `si` = °C, m/s, -- cgit v1.3