diff --git a/CHANGELOG.md b/CHANGELOG.md index 37ecc1c..9718bd8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 2026-11-22 - An About page that speaks to hikers, and the maintainer's name + +- The "What this is" part of the About page is rewritten for hikers. It says the site is a place to find long trails, gives the trail count (read from the data at build time), says the point is discovery by place and by list with every list searchable and filterable, says the site is free with no ads or accounts and is not a planning tool, and moves how it is made (the open dataset, one text file per trail, in a public repository) into its own short paragraph. The links under About say the same in their summary. +- The maintainer is now named by the handle swaits, linking to swaits.com, on the About page and in the site's structured data. +- For readers of the Sources page: the "Used by" lines in SOURCES.md no longer state counts of trails typed by hand, since the counts by licence and by track source above them are computed from the records. Every count a page shows is now computed from the data at build time. +- For contributors: the tests no longer pin the number of trails, routes or tracks, so adding a trail needs no test change. + ## 2026-11-21 - The Three Sisters Loop from Eli Boschetto's Backpacking Oregon - One route is new: the Three Sisters Loop (46 miles, 7,440 feet of elevation gain, July to October), a trip on page 138 of Eli Boschetto's guidebook Backpacking Oregon: Overnight and Multiday Routes (Mountaineers Books, 1st edition 2026, ISBN 978-1-68051-626-5). It is under the 50 mile floor and is listed as an exception because it is very well known and popular. diff --git a/SOURCES.md b/SOURCES.md index b257f39..62e61bc 100644 --- a/SOURCES.md +++ b/SOURCES.md @@ -6,7 +6,7 @@ A track is included in this repository only when its source's terms allow redist ## OpenStreetMap (ODbL-1.0) -Used by: 105 trails with an included track, among them the Colorado Trail, whose track is also about 95% United States Forest Service data and is labelled ODbL as a whole. Also named as the recorded source for 1 record-only trail, where no track was downloaded or none was usable. One of the person-defined routes has a track from OpenStreetMap (the Big SEKI Loop, relation 11628437); the other 72 name no source licence for a track. +Used by: the trails with an included track from this source, among them the Colorado Trail, whose track is also about 95% United States Forest Service data and is labelled ODbL as a whole. Also named as the recorded source for a record-only trail where no track was downloaded or none was usable. One of the person-defined routes has a track from OpenStreetMap (the Big SEKI Loop, relation 11628437); the other person-defined routes name no source licence for a track. Quoted terms: "You are free to copy, distribute, transmit and adapt our data, as long as you credit OpenStreetMap and its contributors." @@ -14,7 +14,7 @@ Page: https://www.openstreetmap.org/copyright (read 2026-11-09). Full text: LICE ## United States federal agencies (public domain) -Publishers: National Park Service, USDA Forest Service and Bureau of Land Management services named in each record. Used by: 17 trails with an included track and the Colorado Trail in part (Alpine Trail #7, Appalachian, Bartram, Black Canyon, Colorado Trail in part, Fremont, General George Crook, High Sierra Trail, Middle Fork Trail, New England, North Umpqua, Pacific Northwest, Rae Lakes Loop, Selway River Trail, Solitude Loop, Teton Crest Trail, Thorofare and South Boundary Trail, Toiyabe Crest). +Publishers: National Park Service, USDA Forest Service and Bureau of Land Management services named in each record. Used by: these trails with an included track, and the Colorado Trail in part (Alpine Trail #7, Appalachian, Bartram, Black Canyon, Colorado Trail in part, Fremont, General George Crook, High Sierra Trail, Middle Fork Trail, New England, North Umpqua, Pacific Northwest, Rae Lakes Loop, Selway River Trail, Solitude Loop, Teton Crest Trail, Thorofare and South Boundary Trail, Toiyabe Crest). Quoted terms: "Data and content created by government employees within the scope of their employment are not subject to domestic copyright protection under 17 U.S.C. 105." @@ -22,7 +22,7 @@ Page: https://irma.nps.gov/DataStore/Reference/Profile/2311077 (read 2026-11-09) ## Pacific Crest Trail Association (CC-BY-4.0) -Used by: 1 trail (Pacific Crest). +Used by: the Pacific Crest Trail. Quoted terms: "All of the data accessed through this page are licensed under the Creative Commons Attribution 4.0 International License." @@ -30,7 +30,7 @@ Page: https://www.pcta.org/discover-the-trail/maps/pct-data/ (read 2026-11-09). ## Continental Divide Trail Coalition (CC-BY, version not stated) -Used by: 1 trail (Continental Divide). +Used by: the Continental Divide Trail. Quoted terms: the source item's licence field reads "CC BY" (no version stated). @@ -38,7 +38,7 @@ Page: https://services8.arcgis.com/WyuHwdftppQLa5KO/arcgis/rest/services/Contine ## A hiker who shares a track under CC BY 4.0 (CC-BY-4.0) -Used by: 2 trails (California Coastal Trail, Washington Coast Trail). The hiker's own GPX files, attached to this dataset's issue 1 on 2026-11-17, one of a walk of the whole California coast in eight section hikes and one of the Washington coast route the hiker worked out. +Used by: the California Coastal Trail and the Washington Coast Trail. The hiker's own GPX files, attached to this dataset's issue 1 on 2026-11-17, one of a walk of the whole California coast in eight section hikes and one of the Washington coast route the hiker worked out. Quoted terms: for California, "CC BY 4.0 sounds good, and your idea for the source and link work for me." (https://github.com/swaits/longhikes/issues/1#issuecomment-6928214012, 2026-11-16); for Washington, "CC BY 4.0 is fine for this as well." (https://github.com/swaits/longhikes/issues/1#issuecomment-6935950983, 2026-11-17). @@ -46,7 +46,7 @@ Credit required: Lauren Lake, PacificCoastalTrail blog (https://pacificcoastaltr ## Holders who state permission in writing (stated-permission) -Used by: 1 trail with an included track (Hoosier Heritage Trail). The holder of the trail, the route's author or the person who recorded the track has stated in writing that the track may be shared, without naming a licence. Each record gives the statement in `source.permission_quote`, who made it by role in `source.permission_by`, when in `source.permission_date` and where in `source.permission_url`; the trail page shows them as a quotation with a link. This is not public domain and not a Creative Commons licence. +Used by: the Hoosier Heritage Trail, with an included track. The holder of the trail, the route's author or the person who recorded the track has stated in writing that the track may be shared, without naming a licence. Each record gives the statement in `source.permission_quote`, who made it by role in `source.permission_by`, when in `source.permission_date` and where in `source.permission_url`; the trail page shows them as a quotation with a link. This is not public domain and not a Creative Commons licence. ## Publishers with no stated licence (no track included) diff --git a/tools/tests/test_season_audit.py b/tools/tests/test_season_audit.py index f1f22e3..017baed 100644 --- a/tools/tests/test_season_audit.py +++ b/tools/tests/test_season_audit.py @@ -75,7 +75,10 @@ class AuditChecklistTest(unittest.TestCase): def test_the_estimates_command_prints_one_id_a_line(self): ids = E.estimates(ROOT) - self.assertEqual(len(ids), 72) + expected = [tid for tid, rec in E._records(ROOT) + if (rec.get("hike") or {}).get("season_basis") == "estimate"] + self.assertEqual(len(ids), len(expected)) + self.assertGreater(len(ids), 0) self.assertEqual(ids, sorted(ids)) def test_house_wording_in_the_audit_doc_and_workflow(self): diff --git a/tools/tests/test_season_records.py b/tools/tests/test_season_records.py index 70d70bc..86ed6a7 100644 --- a/tools/tests/test_season_records.py +++ b/tools/tests/test_season_records.py @@ -71,7 +71,7 @@ class EveryTrailHasASeasonTest(unittest.TestCase): def test_a_season_with_a_method_has_its_confidence_in_the_method(self): judged = [t for t, h in hikes() if h.get("season_method")] - self.assertEqual(len(judged), 75) + self.assertGreater(len(judged), 0) for tid in judged: self.assertTrue(season.confidence_of(RECORDS[tid]["hike"]["season_method"]), tid) diff --git a/web/olt/docs.py b/web/olt/docs.py index 0af785b..380fc59 100644 --- a/web/olt/docs.py +++ b/web/olt/docs.py @@ -267,7 +267,7 @@ BREAD = Markup('