- 25 Feb, 2021 3 commits
-
-
Silvano Cerza authored
-
Gerald Pape authored
* Make archive validation error messages friendlier * change behaviour a little + fix tests
-
Silvano Cerza authored
* librariesindex: Fix nil pointer. Refs #1176 Let the library index return the latest known version, if a library without a version is found. Signed-off-by: Ruben Jenster <r.jenster@drachenfels.de> * Remove logging statement from FindLibraryUpdate. Signed-off-by: Ruben Jenster <r.jenster@drachenfels.de> * Add a small comment to the lib.Version nil check. Signed-off-by: Ruben Jenster <r.jenster@drachenfels.de> * Fix some commands failing when an installed library has invalid version * [skip changelog] Add integration tests Co-authored-by: Ruben Jenster <r.jenster@drachenfels.de>
-
- 12 Feb, 2021 3 commits
-
-
Silvano Cerza authored
-
Silvano Cerza authored
-
Silvano Cerza authored
Setting that flags return all installed and installable platforms, including installed manually by the user in their Sketchbook hardware folder.
-
- 11 Feb, 2021 6 commits
-
-
Cristian Maglie authored
-
Cristian Maglie authored
* Do not try to export binaries if --only-compilation-database is set otherwise an empty "build/fqbn/..." folder is created if "always-export-binaries" option is set via config file. * slightly simplify function call * [skip changelog] Add integration test Co-authored-by: Silvano Cerza <silvanocerza@gmail.com>
-
Silvano Cerza authored
* [skip changelog] Fix platform loading legacy tests * [skip changelog] Moved local.txt files used for testing
-
Silvano Cerza authored
-
Silvano Cerza authored
-
Silvano Cerza authored
-
- 09 Feb, 2021 1 commit
-
-
Silvano Cerza authored
* Fix loading of sketches with folder and main file mismatched casing * [skip changelog] Fix legacy tests
-
- 05 Feb, 2021 1 commit
-
-
Silvano Cerza authored
-
- 04 Feb, 2021 1 commit
-
-
Silvano Cerza authored
-
- 02 Feb, 2021 2 commits
-
-
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
-
Silvano Cerza authored
-
- 01 Feb, 2021 1 commit
-
-
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.
-
- 29 Jan, 2021 5 commits
-
-
Silvano Cerza authored
-
Silvano Cerza authored
* Compile command now works with sketches containing .pde files * Upload command now works with sketches and builds from .pde files * Archive command now works with sketches containing .pde files * [skip changelog] Add test to verify debug command works with pde sketches * Fix lib examples not showing sketches with .pde files * [skip changelog] Remove duplicated code and enhance tests
-
Silvano Cerza authored
-
Cristian Maglie authored
* Always report buildpath (even in case of build failed) * Always write a correct compilation database Even if the Contents field is empty.
-
Silvano Cerza authored
-
- 26 Jan, 2021 1 commit
-
-
Martino Facchin authored
* Skip dependency detection if library is fully precompiled Precompiled bits of a library should not depend on any link time dependency (we cannot assure ABI stability). Fixes https://github.com/arduino/ArduinoCore-mbed/issues/119 * Add output when skipping deps detection for precompiled libs Co-authored-by: Silvano Cerza <silvanocerza@gmail.com>
-
- 22 Jan, 2021 3 commits
-
-
Silvano Cerza authored
* [skip changelog] Ditch goreleaser in favor of a new release process * [skip changelog] Fix version output test * [skip changelog] Fix some workflows issues * [skip changelog] Fix panic when running integration tests * [skip changelog] Remove extra chars from package name prefix
-
Silvano Cerza authored
* Fix lib list --all not returning library includes in json output * [skip changelog] Enhance integration test
-
Silvano Cerza authored
-
- 20 Jan, 2021 3 commits
-
-
Silvano Cerza authored
* Add gRPC interface function to write settings to file * Add example of gRPC config write
-
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.
-
Silvano Cerza authored
* Fix lib install with git url * Better git url handling
-
- 18 Jan, 2021 2 commits
-
-
Martino Facchin authored
* Precompiled libraries: only select a folder if it contains files * Restore precompiled tests * slightly refactored directoryContainsFile function * [skip changelog] Fix compile tests * [skip changelog] Fix compile test Co-authored-by: Cristian Maglie <c.maglie@arduino.cc> Co-authored-by: Silvano Cerza <silvanocerza@gmail.com>
-
Cristian Maglie authored
Previously overwriting a file will not truncate it, so if the download size was less than the file size already on disk then the resulting file will end up with a "corrupted" piece at the end.
-
- 15 Jan, 2021 2 commits
-
-
Martino Facchin authored
* Don't archive preexisting archives if commandline is too long Fixes https://github.com/arduino-libraries/ArduinoIoTCloud/runs/1693000682?check_suite_focus=true#step:7:277 Should revert https://github.com/arduino-libraries/ArduinoIoTCloud/pull/222 * Added test Co-authored-by: Cristian Maglie <c.maglie@arduino.cc>
-
Silvano Cerza authored
-
- 14 Jan, 2021 3 commits
-
-
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.
-
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.
-
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.
-
- 13 Jan, 2021 2 commits
-
-
Silvano Cerza authored
-
Silvano Cerza authored
-
- 08 Jan, 2021 1 commit
-
-
Silvano Cerza authored
-