- 15 May, 2024 9 commits
-
-
dependabot[bot] authored
* Bump golang.org/x/net from 0.20.0 to 0.23.0 Bumps [golang.org/x/net](https://github.com/golang/net) from 0.20.0 to 0.23.0. - [Commits](https://github.com/golang/net/compare/v0.20.0...v0.23.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> * Updated license cache --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Cristian Maglie <c.maglie@arduino.cc>
-
Cristian Maglie authored
[BREAKING] gRPC / golang Configuration API refactoring
-
Cristian Maglie authored
-
Cristian Maglie authored
-
Cristian Maglie authored
-
Cristian Maglie authored
-
Cristian Maglie authored
-
Cristian Maglie authored
-
Cristian Maglie authored
-
- 14 May, 2024 2 commits
-
-
Alessio Perugini authored
* Add [skip-changelog] prefix to dependabot commit We use the `[skip-changelog]` prefix to avoid having such commits in our changelog history. When merging dependabot PRs we always manually add the prefix, but it's common to forget about it at costs of manually removing that entry in the changelog when publishing a new release. With this PR dependabot wil add that prefix in every commit, the GH PR will be open with the same commit name, and when pressing the `merge squash` we won't need to manually add the prefix. * apply CR suggestions
-
per1234 authored
[skip-changelog] Correct profile dependency version constraint format in demo sketch project file (#2590) The Sketch Project File documentation includes a demonstration of a complete project file. Sketch project files use Arduino CLI's `<dependency ID> (<constraint>)` version constraint format but previously an unsupported `<dependency ID>@<version>` format was used in some of the dependencies specified in the demonstration project file. This would cause a panic if used in a project file: panic: profiles parsing err: invalid 'platform' directive goroutine 1 [running]: github.com/arduino/arduino-cli/arduino/sketch.(*projectRaw).getProfiles(0xc0003f2000) E:/git/arduino/arduino-cli/arduino/sketch/profiles.go:84 +0x1fe github.com/arduino/arduino-cli/arduino/sketch.LoadProjectFile(0xc0002fac40?) E:/git/arduino/arduino-cli/arduino/sketch/profiles.go:265 +0xb6 github.com/arduino/arduino-cli/arduino/sketch.New(0xc00022d6c0?) E:/git/arduino/arduino-cli/arduino/sketch/sketch.go:90 +0x587 github.com/arduino/arduino-cli/commands/sketch.LoadSketch({0xc000150060?, 0xc000000004?}, 0xc00022d9b8?) E:/git/arduino/arduino-cli/commands/sketch/load.go:30 +0x58 github.com/arduino/arduino-cli/internal/cli/compile.runCompileCommand(0xc0003aa000?, {0xc0003029c0, 0x1, 0x15c1559?}) E:/git/arduino/arduino-cli/internal/cli/compile/compile.go:162 +0x1dc github.com/spf13/cobra.(*Command).execute(0xc0003aa000, {0xc000302990, 0x1, 0x1}) C:/Users/per/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:944 +0x863 github.com/spf13/cobra.(*Command).ExecuteC(0xc00019e300) C:/Users/per/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:1068 +0x3a5 github.com/spf13/cobra.(*Command).Execute(0x0?) C:/Users/per/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:992 +0x13 main.main() E:/git/arduino/arduino-cli/main.go:31 +0xda
-
- 09 May, 2024 1 commit
-
-
dependabot[bot] authored
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4) --- updated-dependencies: - dependency-name: jinja2 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- 06 May, 2024 28 commits
-
-
Cristian Maglie authored
-
Cristian Maglie authored
-
Cristian Maglie authored
-
Cristian Maglie authored
-
Cristian Maglie authored
-
Cristian Maglie authored
-
Cristian Maglie authored
-
Cristian Maglie authored
-
Cristian Maglie authored
-
Cristian Maglie authored
-
Cristian Maglie authored
-
Cristian Maglie authored
-
Cristian Maglie authored
-
Cristian Maglie authored
-
Cristian Maglie authored
-
Cristian Maglie authored
-
Cristian Maglie authored
-
Cristian Maglie authored
- Using configmap allows better handling of config types - The CLI "instances" now caches all the configuration at Create-time - Setting are now only accessible via gRPC calls - Helper methods have been implemented to access all key/value pairs
-
Cristian Maglie authored
Now the configuration is kept inside the arduinoCoreServiceImpl struct. No more direct access to the configuration, the required config values are passed as arguments or available trough struct fields. Viper object is now embedded into a new configuration.Setting object. This would allow to make better getters and setters methods in the next commits. HTTP downloader configuration is generated using the configuration.
-
Cristian Maglie authored
-
Cristian Maglie authored
-
Cristian Maglie authored
ARDUINO_DATA_DIR, ARDUINO_DOWNLOADS_DIR, and ARDUINO_SKETCHBOOK_DIR are old variables kept just for backward compatibility.
-
Cristian Maglie authored
-
Cristian Maglie authored
-
Cristian Maglie authored
Inlining methods in ArduinoCoreServiceImpl (part 16: CleanDownloadCacheDirectory, CheckForArduinoCLIUpdates)
-
Cristian Maglie authored
Inlining methods in ArduinoCoreServiceImpl (part 15: SupportedUserFields, ListProgrammersAvailableForUpload, EnumerateMonitorPortSettings)
-
Cristian Maglie authored
-
Cristian Maglie authored
Inlining methods in ArduinoCoreServiceImpl (part 13: NewSketch, LoadSketch, SetSketchDefaults, ArchiveSketch)
-