- 11 Jan, 2022 1 commit
-
-
Cristian Maglie authored
* LoggerToCustomStreams must have pointer receiver Becuase it has a mutex field that otherwise is copied. * Removed barely used legacy i18n.Logger.UnformattedFprintln function * Removed barely used legacy i18n.Logger.UnformattedWrite function * Removed unused AccumulatorLogger * Added 'percent' to TaskProgress gRPC message * Added gRPC placeholders to report compile progress * legacy: builder task progress is now transferred via TaskProgress callback * Removed unused Logger.Flush interface method * Removed Logger.Name method (use type-assertions instead) * Added note on breaking API change
-
- 03 Jan, 2022 1 commit
-
-
Cristian Maglie authored
This is mostly useful for "arduino-builder".
-
- 29 Dec, 2021 1 commit
-
-
Cristian Maglie authored
* Added 'board_platform' and 'build_platform' fields in gRPC Compile command * Report board platform and build platform on compile output
-
- 27 Dec, 2021 1 commit
-
-
Umberto Baldi authored
* [breaking] remove `parseArch` var since it is always true * [breaking] make packages and platform case insensitive using the `core.GetPlatform()` approach * enhance comments and do not optimize if results are != 1 * add logging * add simple test, install, uninstall etc are already covered since they use the same piece of logic (`ParseReference()`) * Apply suggestions from code review Co-authored-by: per1234 <accounts@perglass.com> * add new error to handle multiple platform found, return res if the string the user is trying to operate matches perfectly one of the available platforms, optimize the code * enhance comment describing what the function does * add test to verify that an operation on two fake cores is not possible * skip test failing on macOS and on win and optimize the test Co-authored-by: per1234 <accounts@perglass.com>
-
- 23 Dec, 2021 1 commit
-
-
Cristian Maglie authored
Fix #1562
-
- 20 Dec, 2021 3 commits
-
-
per1234 authored
The installation script checks for an existing installation in the PATH in order to provide appropriate advice to the user about adding the installation to their their PATH environment variable. This check is done using `command -v`. It turns out that the exit status is shell dependent in the event the command is not found, so that it might be either 1 or 127 depending on the user's system. The script previously assumed that the exit status would be 1 when the command was not found in PATH, which resulted in spurious advice under these conditions: ``` An existing arduino-cli was found at . Please prepend "/home/foo/arduino-cli/bin" to your $PATH or remove the existing one. ``` It seems safest to fix this by inverting the logic so that the advice about an existing installation in PATH is only printed when one was found.
-
Paolo Calao authored
-
per1234 authored
The `carlosperate/download-file-action` action is used in the GitHub Actions workflows as a convenient way to download external resources. A major version ref has been added to that repository. It will always point to the latest release of the "1" major version series. This means it is no longer necessary to do a full pin of the action version in use as before. Use of the major version ref will cause the workflow to use a stable version of the action, while also benefiting from ongoing development to the action up until such time as a new major release of an action is made. At that time we would need to evaluate whether any changes to the workflow are required by the breaking change that triggered the major release before manually updating the major ref (e.g., uses: `carlosperate/download-file-action@v2`). I think this approach strikes the right balance between stability and maintainability for these workflows.
-
- 07 Dec, 2021 4 commits
-
-
github-actions[bot] authored
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
-
Silvano Cerza authored
-
Silvano Cerza authored
-
Silvano Cerza authored
-
- 03 Dec, 2021 2 commits
-
-
Silvano Cerza authored
-
Umberto Baldi authored
This reverts commit 55ad9ecb.
-
- 02 Dec, 2021 2 commits
-
-
Silvano Cerza authored
-
Silvano Cerza authored
i18n:check task used to verify only if the source en.po file was up to date. The new process instead verifies that all translations are up to date by downloading them directly from Transifex. The previous process was causing some issues since after uploading the en.po file Transifex would change its formatting, meaning when calling i18n:pull we would download a file containing the same information but formatted in a different way and that made the i18n:check command fail. By making the i18n:check task call i18n:pull instead of i18n:update we don't have issues with the formatting anymore. This change also covers a corner-case that would occur when the en.po file wasn't updated since a long time, the i18n:check wouldn't fail because the en.po was the same as before but that wouldn't mean that the translations were up to date with the latest from Transifex.
-
- 30 Nov, 2021 1 commit
-
-
Umberto Baldi authored
* pin task version to verify if can recognize correctly the PATH on win * pin task version in workflows running on windows
-
- 26 Nov, 2021 1 commit
-
-
github-actions[bot] authored
* Updated translation files * Updated translation files Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Umberto Baldi <u.baldi@arduino.cc>
-
- 25 Nov, 2021 2 commits
-
-
Silvano Cerza authored
-
Silvano Cerza authored
-
- 23 Nov, 2021 2 commits
-
-
github-actions[bot] authored
* Updated translation files * Updated translation files Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: umbynos <umberto.baldi@edu.unito.it>
-
Cristian Maglie authored
* Compilation database: Do not give-up if prototype generation fails * Added tests * Compilation database: Do not give up after failing detection of libraries
-
- 22 Nov, 2021 2 commits
-
-
github-actions[bot] authored
* Updated translation files * fix translations Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Umberto Baldi <u.baldi@arduino.cc>
-
Umberto Baldi authored
* fix a regression introduced in be5022e0. `--input` flags were ignored partially revert "refactor sketch path calculation" in `upload.go` * fix test after f85513c6 * use `WarnDeprecatedFiles` to remove some code duplication
-
- 19 Nov, 2021 16 commits
-
-
Silvano Cerza authored
-
github-actions[bot] authored
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
-
Umberto Baldi authored
-
Umberto Baldi authored
-
Silvano Cerza authored
-
Umberto Baldi authored
[breaking] uniform cli commands and flag
-
Umberto Baldi authored
-
Umberto Baldi authored
-
Umberto Baldi authored
[breaking] replace `board attach <port|fqbn> <sketch-path>` with `board attach -b <fqbn> | -p <port> <sketh-path>`
-
Umberto Baldi authored
-
Umberto Baldi authored
-
Umberto Baldi authored
-
Umberto Baldi authored
-
Umberto Baldi authored
-
Umberto Baldi authored
-
Umberto Baldi authored
-