From 9cce54ca6a2bedcfe70fbd04fd78bda7c38cf089 Mon Sep 17 00:00:00 2001 From: per1234 Date: Thu, 25 Feb 2021 21:01:32 -0800 Subject: [PATCH] [skip changelog] Update Platform Specification link in warning When a boards platform uses an outdated `recipe.ar.pattern`, Arduino CLI displays a helpful message: Unable to cache built core, please tell foo:bar@1.2.3 maintainers to follow http://goo.gl/QdCUjo That short link points to the old Arduino Platform Specification page in the arduino/Arduino repository's wiki. The platform specification has since been moved to the arduino/arduino-cli repository. Even though the old page provides a link to the new location, this message uses an anchor to direct the developer to the relevant section of the specification. When they follow the link from the old page, they will simply end up at the top of the specification and may have a hard time finding the information that tells them how to fix the platform. Updating the link restores the intended behavior. --- legacy/builder/constants/constants.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/builder/constants/constants.go b/legacy/builder/constants/constants.go index dd9e9c39edb..5773f4d770d 100644 --- a/legacy/builder/constants/constants.go +++ b/legacy/builder/constants/constants.go @@ -83,7 +83,7 @@ const LOG_LEVEL_WARN = "warn" const MSG_ARCH_FOLDER_NOT_SUPPORTED = "'arch' folder is no longer supported! See http://goo.gl/gfFJzU for more information" const MSG_ARCHIVING_CORE_CACHE = "Archiving built core (caching) in: {0}" const MSG_ERROR_ARCHIVING_CORE_CACHE = "Error archiving built core (caching) in {0}: {1}" -const MSG_CORE_CACHE_UNAVAILABLE = "Unable to cache built core, please tell {0} maintainers to follow http://goo.gl/QdCUjo" +const MSG_CORE_CACHE_UNAVAILABLE = "Unable to cache built core, please tell {0} maintainers to follow https://arduino.github.io/arduino-cli/latest/platform-specification/#recipes-to-build-the-corea-archive-file" const MSG_BOARD_UNKNOWN = "Board {0} (platform {1}, package {2}) is unknown" const MSG_BOOTLOADER_FILE_MISSING = "Bootloader file specified but missing: {0}" const MSG_BUILD_OPTIONS_CHANGED = "Build options changed, rebuilding all"