- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 435
 
          Optimize core operations, improving on the user input
          #1574
        
          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
Conversation
        
          
                cli/arguments/reference.go
              
                Outdated
          
        
      | func ParseReferences(args []string, parseArch bool) ([]*Reference, error) { | ||
| func ParseReferences(args []string, inst *rpc.Instance) ([]*Reference, error) { | 
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
0bdd20b    to
    2ea50f3      
    Compare
  
    2ea50f3    to
    ed0f442      
    Compare
  
    ed0f442    to
    821d048      
    Compare
  
    0f82574    to
    f28f0d3      
    Compare
  
    core operations, improving on the user input
      f28f0d3    to
    375aa2c      
    Compare
  
    cbaed7f    to
    96b8f31      
    Compare
  
    using the `core.GetPlatform()` approach
…y use the same piece of logic (`ParseReference()`)
Co-authored-by: per1234 <accounts@perglass.com>
…ring the user is trying to operate matches perfectly one of the available platforms, optimize the code
96b8f31    to
    3849a27      
    Compare
  
    
Please check if the PR fulfills these requirements
before creating one)
our contributing guidelines
UPGRADING.mdhas been updated with a migration guide (for breaking changes)Feature
installing / uninstalling / upgrading / downloading cores is not case insesitive
now it is's case-insensitive, so it works if you try to
core install Arduino:samdtitled accordingly?
no
See how to contribute