The Wayback Machine - https://web.archive.org/web/20211231042948/https://github.com/arduino/arduino-cli/pull/1574
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize core operations, improving on the user input #1574

Merged
merged 10 commits into from Dec 27, 2021

Conversation

@umbynos
Copy link
Contributor

@umbynos umbynos commented Nov 26, 2021

Please check if the PR fulfills these requirements

  • The PR has no duplicates (please search among the Pull Requests
    before creating one)
  • The PR follows
    our contributing guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • UPGRADING.md has been updated with a migration guide (for breaking changes)
  • What kind of change does this PR introduce?

Feature

  • What is the current behavior?

installing / uninstalling / upgrading / downloading cores is not case insesitive

  • What is the new behavior?

now it is's case-insensitive, so it works if you try to core install Arduino:samd

no

  • Other information:

See how to contribute

cli/arguments/reference.go Outdated Show resolved Hide resolved
func ParseReferences(args []string, parseArch bool) ([]*Reference, error) {
func ParseReferences(args []string, inst *rpc.Instance) ([]*Reference, error) {
Copy link
Contributor

@per1234 per1234 Nov 29, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a breaking change to the public API, so it must be documented following the standard procedure:
https://arduino.github.io/arduino-cli/dev/CONTRIBUTING/#pull-request-checklist

Copy link
Member

@cmaglie cmaglie Nov 29, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should really start thinking about putting some of the modules under the internal package, the cli module is one that doesn't have much use outside the arduino-cli.

cli/arguments/reference.go Outdated Show resolved Hide resolved
cli/arguments/reference.go Outdated Show resolved Hide resolved
cli/arguments/reference.go Outdated Show resolved Hide resolved
cli/arguments/reference.go Outdated Show resolved Hide resolved
@umbynos umbynos force-pushed the umbynos/case_insensitive_package_platform branch 2 times, most recently from 0bdd20b to 2ea50f3 Dec 14, 2021
@umbynos umbynos force-pushed the umbynos/case_insensitive_package_platform branch from 2ea50f3 to ed0f442 Dec 15, 2021
cli/arguments/reference.go Outdated Show resolved Hide resolved
@umbynos umbynos force-pushed the umbynos/case_insensitive_package_platform branch from ed0f442 to 821d048 Dec 15, 2021
docs/UPGRADING.md Outdated Show resolved Hide resolved
docs/UPGRADING.md Outdated Show resolved Hide resolved
@umbynos umbynos force-pushed the umbynos/case_insensitive_package_platform branch from 0f82574 to f28f0d3 Dec 16, 2021
@umbynos umbynos changed the title Umbynos/case insensitive package platform Optimize core operations, improving on the user input Dec 16, 2021
@umbynos umbynos force-pushed the umbynos/case_insensitive_package_platform branch from f28f0d3 to 375aa2c Dec 16, 2021
@arduino arduino deleted a comment Dec 17, 2021
@arduino arduino deleted a comment Dec 17, 2021
@arduino arduino deleted a comment Dec 17, 2021
@umbynos umbynos force-pushed the umbynos/case_insensitive_package_platform branch 2 times, most recently from cbaed7f to 96b8f31 Dec 21, 2021
cli/arguments/reference.go Outdated Show resolved Hide resolved
docs/UPGRADING.md Outdated Show resolved Hide resolved
docs/UPGRADING.md Outdated Show resolved Hide resolved
@umbynos umbynos force-pushed the umbynos/case_insensitive_package_platform branch from 96b8f31 to 3849a27 Dec 21, 2021
@umbynos umbynos merged commit e63c798 into master Dec 27, 2021
222 checks passed
@umbynos umbynos deleted the umbynos/case_insensitive_package_platform branch Dec 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment