1. 26 Feb, 2021 3 commits
    • per1234's avatar
      [skip changelog] Improve wording of docs introduction (#1200) · bf364db7
      per1234 authored
      The introductory sentence of the documentation homepage is the first thing the user may see when discovering Arduino
      CLI. For this reason, it's important for it to quickly and clearly convey what Arduino CLI is. Toward that goal, the
      following changes are made:
      
      - Use more understandable terms
      - Rearrange features list in the order of typical usage (install dependencies, compile, upload)
      bf364db7
    • per1234's avatar
      [skip changelog] Correct library+sketch specifications re: spaces in folder name (#1194) · 33067500
      per1234 authored
      The previous mention of spaces as one of the characters allowed in library and sketch folder names was a copy/paste
      error originating in the allowed characters in library.properties `name` properties. This specific part of the `name`
      property specification doesn't apply to folder names. The reason it is allowed in the `name` property is because that
      value is "sanitized" before being used by Library Manager for the library installation folder name by replacing all
      spaces with underscores.
      33067500
    • per1234's avatar
      [skip changelog] Update Platform Specification link in warning (#1199) · 33242988
      per1234 authored
      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.
      33242988
  2. 25 Feb, 2021 2 commits
  3. 24 Feb, 2021 1 commit
  4. 23 Feb, 2021 2 commits
  5. 18 Feb, 2021 1 commit
  6. 16 Feb, 2021 1 commit
  7. 12 Feb, 2021 3 commits
  8. 11 Feb, 2021 6 commits
  9. 09 Feb, 2021 1 commit
  10. 05 Feb, 2021 1 commit
  11. 04 Feb, 2021 1 commit
  12. 02 Feb, 2021 2 commits
    • Silvano Cerza's avatar
      Fix gRPC interface function to merge configs (#1164) · fa478dd9
      Silvano Cerza authored
      * Fix gRPC interface function to merge configs
      
      This fix adds the possibility to set empty values with the Merge gRPC
      function, previously they would have been ignored.
      
      Because of this change I had also to modify the GetValue() function
      since it would first check if the value was set using the
      Viper.InConfig() function that wouldn't check for values set with
      Viper.Set().
      
      * [skip changelog] Add clearer example to client_example
      
      * [skip changelog] Simplified some code and enhance a test
      fa478dd9
    • Silvano Cerza's avatar
  13. 01 Feb, 2021 1 commit
    • Silvano Cerza's avatar
      [skip changelog] Fix release process (#1163) · c40f1e55
      Silvano Cerza authored
      The current release process uses git to get the tag at the current
      commit. It might happen that are are multiple tags when calling that
      command, in cases the rc and the final release are done on the same
      commit, that would make the build process to fail.
      
      This fixes that issue by taking only one tag.
      c40f1e55
  14. 29 Jan, 2021 5 commits
  15. 26 Jan, 2021 1 commit
  16. 22 Jan, 2021 3 commits
  17. 20 Jan, 2021 3 commits
    • Silvano Cerza's avatar
      Add gRPC interface function to write settings to file (#1144) · 6328430d
      Silvano Cerza authored
      * Add gRPC interface function to write settings to file
      
      * Add example of gRPC config write
      6328430d
    • Silvano Cerza's avatar
      Enhance lib install from git url and zip file (#1145) · c8f9efba
      Silvano Cerza authored
      Previously installing from a zip file would extract the content directly
      into the user library folder, this could have caused problem if the zip
      file wasn't structured correctly.
      
      To handle this we now extract to a temp directory to verify that the zip
      is structured correctly and to infer the name of the library being
      installed. If everything is fine we then copy it over to the user
      library folder to finalize the installation.
      
      Installing from a git repository has been enhanced too, after
      cloning the repository to the user library folder we delete the .git
      folder to make it a plain folder. Cloning should be faster too since we
      now clone using depth of one commit to avoid downloading useless files.
      
      Both when installing from a zip file or from a git repository we delete
      the installed library folder if one with the same name is already
      installed.
      c8f9efba
    • Silvano Cerza's avatar
      Fix lib install with git url (#1143) · ee076dd1
      Silvano Cerza authored
      * Fix lib install with git url
      
      * Better git url handling
      ee076dd1
  18. 18 Jan, 2021 2 commits
  19. 15 Jan, 2021 1 commit