Commit Graph
251 Commits
Author SHA1 Message Date
swaitsandClaude Fable 5.2 4d136f562e Extend Eli Boschetto's author entry from the back cover of Backpacking Oregon
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-22 10:27:59 -07:00
swaitsandClaude Fable 5.2 d30c56a163 Rewrite the About page's opening for hikers, name the maintainer swaits, and stop typing counts by hand
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
The About page now opens with what the site is for: finding long trails,
including ones the reader has not heard of. The maintainer is shown as swaits,
linked to swaits.com. SOURCES.md no longer carries hand-typed trail counts, and
tests derive the trail and route totals from the records.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-22 10:01:32 -07:00
swaitsandClaude Fable 5.2 ba3e7dfd33 Add the Three Sisters Loop from Eli Boschetto's Backpacking Oregon
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
A 46 mile loop in the Three Sisters Wilderness, Oregon, from the Devils Lake
Trailhead, listed under the 50 mile floor because it is very well known and
popular. No track is included; the facts are the book's page 138 as the owner
read it, and the permit is from the Forest Service.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-22 09:46:14 -07:00
swaitsandClaude Fable 5.2 013ddbefc3 Add place plus list pages, and retitle the lists to match how people search
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Mirror to forge / mirror (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-20 18:51:53 -07:00
swaits d1711ec91a Rewrite the changelog entries for the list titles and the place lists so every example is a page that is built, with its title as built, and every count is read from the build 2026-11-20 18:47:50 -07:00
swaits 6ce23ff2bb Make four list titles say what their lists hold: the longest list names the US and Canada, the week list says a week or less, the weekend list says a long weekend because every trail in it takes 3 or 4 days, and the cross-country list says its trails have cross-country stretches, since 38 of its 54 are not mostly cross-country 2026-11-20 18:45:45 -07:00
swaits e3cb071968 Give every place-plus-list page one title pattern, the list's short noun then the place's preposition and name then the count, with the heading in the same words, and pin it with a test in place of the one that allowed 25 titles over 2026-11-20 18:43:20 -07:00
swaits a4632260e8 Build one page where a park, a range and a wilderness area hold exactly the same trails for a list, preferring the park, then the range, then the wilderness area and then the place with fewer trails, and pin the 75 percent cap on place pages with a test 2026-11-20 18:42:50 -07:00
swaits c2245d14b8 Do not count a trail of 1,000 miles or more toward the 3 trails a place's list page needs, though the page still shows it, and build no 500 to 1,000 mile page for a park or a wilderness area 2026-11-20 18:42:19 -07:00
swaitsandClaude Sonnet 5.5 b2931b4ab8 Decide whether the two bulk zips are up to date by the content of what goes into them, not by file modification times, with a test
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 18:19:59 -07:00
swaitsandClaude Sonnet 5.5 4c72fd705e Reword the lists in the words people search with: the longest names its longest trail first, short thru-hikes and loops under 100 and 200 miles, week-long and other backpacking trips, backpacking loops; the week list gains pages for states and places
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 18:19:39 -07:00
swaitsandClaude Sonnet 5.5 b75d39c7b6 Add a page for each kind of trail in each park, mountain range and wilderness area that has three or more of them, built by the same rules as the state pages, and link each from its place page
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 18:15:24 -07:00
swaitsandClaude Fable 5.2 4a89833162 Build the site and run its tests several times faster, with the output unchanged
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-20 18:02:25 -07:00
swaitsandClaude Sonnet 5.5 d0782b0d58 Write archive members as regular files again (mode 0o100644, as main did) and check a stored archive with testzip before restoring it, building it again when it is damaged
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 17:53:38 -07:00
swaitsandClaude Sonnet 5.5 622ffc74be Make the test of the store key's code files follow every kind of import, plain, absolute and inside functions, starting from build.py too, and add the three modules build.py imports that it left out: fingerprint, redirects and site
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 17:52:37 -07:00
swaitsandClaude Sonnet 5.5 0bb20c60dd Run build.py itself on the copy in the second-build thumbnail test, without removing it first, and check that a thumbnail taken away is put back and that no trail was worked out again
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 17:52:34 -07:00
swaitsandClaude Sonnet 5.5 2be6693a94 Decide whether a trail's files are up to date by its content key, kept in the trail's cache entry, instead of modification times, so a changed track put back to an older time is built again into the same directory
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 17:49:37 -07:00
swaits 9c7cc55cc5 Add the changelog entry for the faster build and tests and the reproducible bulk downloads 2026-11-20 16:44:32 -07:00
swaits 3193a674d2 Run the trail workers in a process pool so a worker that raises or dies fails the build, count the cores the process may use, and test both 2026-11-20 16:35:19 -07:00
swaits 5d86a42ad1 Build the shared test site into a directory that is made new, with a test, and give the zip archives fixed member times so equal files make equal bytes 2026-11-20 16:33:34 -07:00
swaits c645159ae7 Read the place pages from the shared build in the filter bar and views tests instead of rendering each one again 2026-11-20 16:32:17 -07:00
swaits 69871fc764 Merge branch 'main' into fast-tests-2 2026-11-20 16:28:12 -07:00
swaitsandClaude Sonnet 5.5 c382484506 Start the test module that builds the site itself once the shared build has filled the store
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 16:25:24 -07:00
swaitsandClaude Fable 5.2 17f480a7a5 Give every trail a season with its provenance, put the filter bar on every page, and link the place pages from the hub and the home page
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-20 16:14:14 -07:00
swaitsandClaude Sonnet 5.5 d9480ffe73 Run the site job's tests side by side, and keep the build's store between runs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 16:07:33 -07:00
swaitsandClaude Sonnet 5.5 7c321c6e15 Build the site once per test run, and split every page into tags once, for all the tests that read built pages
Twelve test modules each ran the whole build, and each of them walked every page with its own
parser. They now share one build (web/tests/builtsite.py), made in a directory of the run's own,
and one recording of each page, made on all the cores. test_thumbs's second build and
test_google_tag's two builds still build, on their own, as before; the google tag builds run
side by side. web/tests/run.py runs the modules side by side. test_extra's elevation tile check
now compares with the last entry of connect-src, which is where the tile path is since the Google
tag added three before it. New tests keep the build's shortcuts honest (test_build_store.py).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 16:07:33 -07:00
swaitsandClaude Sonnet 5.5 84d5770e13 Join a track's parts once, not on every page that draws it
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 16:07:33 -07:00
swaitsandClaude Sonnet 5.5 d1e74f3e76 Stop parsing a whole page to read its breadcrumb, and work out the shown lists once per render
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 15:52:34 -07:00
swaitsandClaude Sonnet 5.5 3bd6da1b19 Build the trails in worker processes and keep each trail's derived files by content
A trail's GPX, map line and overview line are worked out in forked workers, and kept in
web/.cache/store under a hash of the trail's files, the code that makes them and the site's name, so
a later build, in any directory, copies them instead of simplifying the tracks again. The two bulk
archives are made alongside the pages and kept the same way. The output is the same, file for file.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 15:52:34 -07:00
swaitsandClaude Sonnet 5.5 1126208666 Simplify a track once for both tolerances: one walk of the splits serves the 5 m and the 30 m line, and gives the same points
Douglas-Peucker splits a segment at the same point whatever the tolerance; only whether it splits
depends on it, and a larger tolerance splits a subset of what a smaller one does. This took about
half the build's time; the points kept are identical on all 124 tracks.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 15:52:34 -07:00
swaits 8caeb14218 Fix the elevation tile test to compare with the last connect-src entry, the tile path, now that the Google tag added entries before it 2026-11-20 15:51:41 -07:00
swaitsandClaude Fable 5.2 5a58440fda Point the elevation tile test at the right entry of the policy
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-20 15:36:01 -07:00
swaits 34c6ebd1d3 Merge the filter bar and navigation work: keep the seasons work's result wherever both resolved the same conflict 2026-11-20 15:23:32 -07:00
swaits 9a8aa49318 Merge main into the seasons work: keep the Google tag entry under the seasons entry 2026-11-20 15:23:04 -07:00
swaitsandClaude Fable 5.2 99588ce306 Let the tests that forbid inline and outside scripts allow the Google tag, and nothing else
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-20 15:18:55 -07:00
swaitsandClaude Fable 5.2 0d6197bedd Load the owner's Google tag on every page
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-20 15:07:10 -07:00
swaitsandClaude Fable 5.2 164497a256 Load the owner's Google tag on every page, and drop the About page's no-tracking claim
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-20 15:07:02 -07:00
swaits f91c7dbc20 Make the monthly season check offline: it compares each estimate's recorded track and location with the trail's current one and downloads nothing; fix the audit so every command runs as written (packets needs --out, the places tool runs in its venv), with places and seasons steps under their own headings 2026-11-20 14:45:42 -07:00
swaits e6c2f371fc Say what each season is: the note on an estimate ends that this is the usual window, not a closure; month lists and the figures notes tell estimated from the climate and similar trails from set by judgement from pages that differ; the changelog no longer says the glossary gives the test figures 2026-11-20 14:38:44 -07:00
swaits c3d43f41a7 Judged seasons need pages from two publishers and a confidence; finger-lakes, ice-age and ozark-trail become estimates, and ouachita, batona, sea-to-sea-route and california-coastal get the seasons the reviewer gave; sierra-high-route's page is Skurka's own site, not the route author's 2026-11-20 14:34:46 -07:00
swaits ed744d0585 Keep the twelve month lists whatever share of the trails each holds, so Hiking in September stays: the cap on a list's share no longer applies to them 2026-11-20 14:34:46 -07:00
swaits c5f883ace6 Keep the jump row's first anchor outside the Places page's grid so the first group is not pushed right on a wide screen 2026-11-20 14:21:57 -07:00
swaits e8ca8e862e Give the blind test by two measures, first and last months and also no wrong gap in the middle: 114 of 148 and 105 of 148, stored, scored and stated together 2026-11-20 14:16:26 -07:00
swaits 535d2bebaa Merge main into seasons-ship-3: places pages from main kept alongside the seasons; places precede history in records, this ship's changelog entry first 2026-11-20 14:14:01 -07:00
swaits fc66f541a3 Let a set with no trails build its filter bar, and pin the Places page's new jump-link anchor in the state-pages golden file
In the golden file only the hash of /regions/ changed, by the anchor the jump row's first link goes to.
2026-11-20 14:08:34 -07:00
swaits f669a6695a Mark the places checklist's sub-steps with asterisks so the audit document keeps the house wording the seasons check reads 2026-11-20 13:54:27 -07:00
swaits 742f5da4f1 Say in the changelog what the filter bar and the new ways in to the place pages change for a visitor 2026-11-20 13:51:50 -07:00
swaits 228f1cd2f7 End the home page with a line to the pages for parks, mountain ranges and wilderness areas
"Browse by park, by mountain range or by wilderness area" sits with the notes under the rows and the map, so the first screen and the rows are as they were, and each link goes to its section of the Places page.
2026-11-20 13:49:40 -07:00
swaits 3997c7286e Put a row of jump links at the very top of the Places page: States and provinces, Parks, Mountain ranges and Wilderness areas, each with its number of pages
The row shows at every screen size on one compact line that wraps on a phone, and a kind with no pages is left out. The strip of regional groups below the heading no longer repeats the three kinds.
2026-11-20 13:49:40 -07:00
swaits a806522ee1 Give every page that lists trails the search box and the filters that have something to offer, however few trails it holds
The cutoff of ten trails is gone, so 48 of the 60 state and province pages, the small lists and each route author's page now have the bar. A set that nothing can narrow gets the search box alone, and an option no trail has is not written. In the state-pages golden file only the hashes of the ten pages that differ changed, each by the added bar and nothing else.
2026-11-20 13:48:07 -07:00