From 5a6758d93ddd51bc8326d3696412cfe856c64c75 Mon Sep 17 00:00:00 2001 From: Daniel McCoy Stephenson Date: Mon, 5 Oct 2026 21:26:46 -0600 Subject: [PATCH] Point the usage-reporting link at danielstephenson.dev/usage-reporting The old link went to a section of a private repository and 404'd for everyone following it from a program's startup notice. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01BZQMN1M5hQKfUpPwDkMjqd --- README.md | 4 ++-- src/main/java/software/stephenson/trace/TraceClient.java | 2 +- src/test/java/software/stephenson/trace/TraceClientTest.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 54f5fcb..6f07a06 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ if (trace.isEnabled()) { + "nothing that identifies the server's owner or address. " + "Turn it off with usage-reporting.enabled: false in this plugin's config.yml, " + "or for every plugin with enabled: false in plugins/trace/config.yml. " - + "Details: https://github.com/Stephenson-Software/trace#usage-reporting"); + + "Details: https://danielstephenson.dev/usage-reporting"); } else { getLogger().info("Usage reporting is off (" + trace.disabledReason() + ")."); } @@ -155,7 +155,7 @@ last word. `build()` checks these in order; the first match wins and is what nothing and costs nothing. A program that runs on other people's machines should expose its own switch in its configuration and print, on every startup, whether reporting is on and how to turn it off — see the example -above and the [usage reporting](https://github.com/Stephenson-Software/trace#usage-reporting) +above and the [usage reporting](https://danielstephenson.dev/usage-reporting) page for the wording the fleet uses. ## Server-wide tags diff --git a/src/main/java/software/stephenson/trace/TraceClient.java b/src/main/java/software/stephenson/trace/TraceClient.java index 348c20b..7f68b00 100644 --- a/src/main/java/software/stephenson/trace/TraceClient.java +++ b/src/main/java/software/stephenson/trace/TraceClient.java @@ -162,7 +162,7 @@ public final class TraceClient { /** Exactly what a missing server-wide switch file is created with. */ static final String SERVER_WIDE_CONFIG_CONTENT = "# Server-wide switch for usage reporting by plugins that report to trace\n" - + "# (https://github.com/Stephenson-Software/trace#usage-reporting).\n" + + "# (https://danielstephenson.dev/usage-reporting).\n" + "# Set enabled to false and every such plugin on this server stops reporting,\n" + "# regardless of its own usage-reporting.enabled setting. Plugins never turn\n" + "# this back on.\n" diff --git a/src/test/java/software/stephenson/trace/TraceClientTest.java b/src/test/java/software/stephenson/trace/TraceClientTest.java index 9b30939..7a57132 100644 --- a/src/test/java/software/stephenson/trace/TraceClientTest.java +++ b/src/test/java/software/stephenson/trace/TraceClientTest.java @@ -580,7 +580,7 @@ void serverWideConfig_isCreatedWithTheExactContentWhenMissing(@TempDir Path plug // Assert assertTrue(Files.exists(file), "plugins/trace/config.yml should have been created"); String expected = "# Server-wide switch for usage reporting by plugins that report to trace\n" - + "# (https://github.com/Stephenson-Software/trace#usage-reporting).\n" + + "# (https://danielstephenson.dev/usage-reporting).\n" + "# Set enabled to false and every such plugin on this server stops reporting,\n" + "# regardless of its own usage-reporting.enabled setting. Plugins never turn\n" + "# this back on.\n"