1. 04 Feb, 2021 1 commit
    • Silvano Cerza's avatar
      Fix gRPC interface function to merge configs (#1164) · c7403ed2
      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
      c7403ed2
  2. 01 Feb, 2021 1 commit
    • Silvano Cerza's avatar
      [skip changelog] Fix release process (#1163) · 0a034d73
      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.
      0a034d73
  3. 29 Jan, 2021 5 commits
  4. 26 Jan, 2021 1 commit
  5. 22 Jan, 2021 3 commits
  6. 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
  7. 18 Jan, 2021 2 commits
  8. 15 Jan, 2021 2 commits
  9. 14 Jan, 2021 3 commits
    • per1234's avatar
      [skip changelog] Make the command documentation of cache clean more clear (#1135) · c30031ba
      per1234 authored
      The terms "cache" and "clean" might bring compilation to mind, but the `arduino-cli cache clean` command has nothing to
      do with compilation. Many users will likely not even be aware of the existence or purpose of the `directories.downloads`
      folder. For this reason, it's important to make the purpose of this command clear.
      c30031ba
    • per1234's avatar
      [skip changelog] Allow library names to start with number (#1136) · 4e4368d8
      per1234 authored
      Previously, the Arduino library specification required the library.properties `name` field value to start with a letter.
      Before Arduino IDE 1.8.4, library folder names starting with a number were not supported. Because the library folder for
      Library Manager installations is named according to the library.properties name value, it was necessary to apply the
      same restriction to the name value. It was determined that enough time has passed since the Arduino IDE 1.8.4 release to
      reflect this change in the Arduino library specification.
      4e4368d8
    • per1234's avatar
      [skip changelog] Use generally applicable name for package index specification (#1137) · 8d6dc029
      per1234 authored
      Previously the name of the specification was "package_index.json specification". Only the primary official package index
      is allowed to be named package_index.json, but this specification applies to all package indexes. So "Arduino package
      index specification" (shortened to "Package index specification" in the documentation navigaion pane) is less likely to
      cause confusion and also easier to remember and talk about.
      8d6dc029
  10. 13 Jan, 2021 2 commits
  11. 08 Jan, 2021 1 commit
  12. 15 Dec, 2020 5 commits
  13. 10 Dec, 2020 1 commit
    • per1234's avatar
      [skip changelog] Improve wording of FAQ re: boards w/o dedicated VID/PID (#1097) · bf7a3194
      per1234 authored
      * [skip changelog] Improve wording of FAQ re: boards w/o dedicated VID/PID
      
      Some minor wording improvements for readability/correct terminology.
      
      * [skip changelog] Mention Nano in FAQ re: boards w/o dedicated VID/PID
      
      The classic Nano is the sole active official board without a custom VID/PID, so it's especially important to mention it
      in this FAQ.
      bf7a3194
  14. 09 Dec, 2020 3 commits
  15. 07 Dec, 2020 1 commit
  16. 03 Dec, 2020 2 commits
  17. 02 Dec, 2020 3 commits
  18. 01 Dec, 2020 1 commit
    • giulcioffi's avatar
      Provide package indexes from file paths using "additional-paths" flag (#1093) · d67fad94
      giulcioffi authored
      * Initial commit
      
      * Bind new flag --additional-paths and add new function LoadIndexNoSign
      
      * Use absolute file path to package_index.json
      
      * Add documentation for additional-paths feature
      
      * Update comment for LoadIndexNoSign
      
      * Update variable names to pass checks + simplify code
      
      * Add new config for additional_paths
      d67fad94