1. 20 Jan, 2021 2 commits
    • 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
  2. 18 Jan, 2021 2 commits
  3. 15 Jan, 2021 2 commits
  4. 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
  5. 13 Jan, 2021 2 commits
  6. 08 Jan, 2021 1 commit
  7. 15 Dec, 2020 5 commits
  8. 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
  9. 09 Dec, 2020 3 commits
  10. 07 Dec, 2020 1 commit
  11. 03 Dec, 2020 2 commits
  12. 02 Dec, 2020 3 commits
  13. 01 Dec, 2020 2 commits
  14. 30 Nov, 2020 2 commits
  15. 26 Nov, 2020 1 commit
  16. 24 Nov, 2020 1 commit
    • Roberto Sora's avatar
      Bump workflows actions versions (#1078) · 8d026edd
      Roberto Sora authored
      * Bump actions/cache to v2
      
      * Bump actions/checkout to v2
      
      * Pin actions/create-release to v1
      
      * Bump actions/download-artifact to v2 and maitain compatibility
      
      * Bump actions/github-scripts to v3
      
      * Bump actions/upload-artifact to v2
      
      * Bump peter-evans/create-pull-request to v3
      
      * Bump svenstaro/upload-release-action to v2
      
      * Fix issue with actions/checkout@v2
      
      In certain workflows we use a custom Docker image for cross-compilation,
      this image is old and unmaintained so it has an old version of git and
      the latest version actions/checkout doesn't support it.
      This causes the action to fallback to the Github API to download the
      files but that doesn't create a git repository, thus the history is lost
      but goreleaser needs it to generate the changelog so it fails.
      
      So we use the older version of the action in certain cases to avoid
      this failures.
      Co-authored-by: default avatarSilvano Cerza <silvanocerza@gmail.com>
      8d026edd
  17. 18 Nov, 2020 2 commits
  18. 17 Nov, 2020 1 commit
  19. 16 Nov, 2020 3 commits
  20. 13 Nov, 2020 1 commit