Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions src/usage_reporting.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 "
Expand Down
2 changes: 1 addition & 1 deletion tests/test_usage_reporting.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
Loading