diff --git a/README.md b/README.md index f817798..26833fd 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ full run of the program with a 15-line fixture on stdin. Usage reporting is on by default: Collide sends its name (`Collide`), its version and the events `startup` (when the program starts) and `ideas-written` (when a session's ideas have been saved) to -[trace](https://github.com/Stephenson-Software/trace) at `https://trace.danielstephenson.dev`. +[trace](https://danielstephenson.dev/usage-reporting) at `https://trace.danielstephenson.dev`. Every event also carries a random installation ID (the tag `install`) so installations can be counted rather than events. Nothing about you, your machine, your IP address, the keywords or the ideas is sent. The report is made from a background thread, never blocks the program, and is @@ -120,7 +120,7 @@ vendored from [trace-client-python](https://github.com/Stephenson-Software/trace the settings handling is in `src/usage_reporting.py`. Only a command-line run reports; the test suite's direct `main()` calls do not, and the CI run sets `TRACE_USAGE_REPORTING=off`. -Details: https://github.com/Stephenson-Software/trace#usage-reporting +Details: https://danielstephenson.dev/usage-reporting ## License diff --git a/src/usage_reporting.py b/src/usage_reporting.py index 5df84fb..db6d241 100644 --- a/src/usage_reporting.py +++ b/src/usage_reporting.py @@ -12,7 +12,7 @@ which every trace client honours and which win over the settings file because the client checks them first. Every call returns immediately and never raises: the network happens on a daemon thread owned by the vendored client in -``trace_client.py``. Details: https://github.com/Stephenson-Software/trace#usage-reporting +``trace_client.py``. Details: https://danielstephenson.dev/usage-reporting """ import atexit import json @@ -35,7 +35,7 @@ _HERE = os.path.dirname(os.path.abspath(__file__)) SETTINGS_FILE = os.path.normpath(os.path.join(_HERE, "..", "settings.json")) -DETAILS_URL = "https://github.com/Stephenson-Software/trace#usage-reporting" +DETAILS_URL = "https://danielstephenson.dev/usage-reporting" FIRST_RUN_NOTICE = ( "Usage reporting is on: Collide sends its name and version at startup and an ideas-written event when a session is saved to " diff --git a/tests/test_usage_reporting.py b/tests/test_usage_reporting.py index d7d4649..5e71e98 100644 --- a/tests/test_usage_reporting.py +++ b/tests/test_usage_reporting.py @@ -108,7 +108,7 @@ def test_notice_says_it_is_on_and_names_every_opt_out(self): self.assertIn('"enabled": false', FIRST_RUN_NOTICE) self.assertIn("TRACE_USAGE_REPORTING=off", FIRST_RUN_NOTICE) self.assertIn(DETAILS_URL, FIRST_RUN_NOTICE) - self.assertEqual("https://github.com/Stephenson-Software/trace#usage-reporting", DETAILS_URL) + self.assertEqual("https://danielstephenson.dev/usage-reporting", DETAILS_URL) self.assertNotIn("\n", FIRST_RUN_NOTICE) def test_first_run_under_an_environment_opt_out_says_reporting_is_off(self):