Unverified Commit 33242988 authored by per1234's avatar per1234 Committed by GitHub

[skip changelog] Update Platform Specification link in warning (#1199)

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.
parent a0b29ca3
......@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment