1. 25 Mar, 2024 3 commits
  2. 22 Mar, 2024 1 commit
    • Cristian Maglie's avatar
      [breaking] gRPC `UpdateIndex` and `UpdateLibrariesIndex` improvements (#2569) · 6faca0f7
      Cristian Maglie authored
      * gRPC UpdateIndex and UpdateLibrariesIndex improvements
      
      The two calls now have the update_if_older_than_secs field that allows
      to avoid updating the index if it has been already updated.
      
      Also the response is more explicit with oneof(..) clause and the status
      of each update (in case of multiple index update) is returned in the response.
      
      * Do not make any output in case of skipped/already-up-to-date
      
      * Added json output to 'core update index'
      
      * Added json output to 'lib update index'
      
      * Removed unused function
      
      * Workaround for Windows paths in URI
      6faca0f7
  3. 20 Mar, 2024 1 commit
  4. 19 Mar, 2024 1 commit
  5. 18 Mar, 2024 1 commit
  6. 08 Mar, 2024 1 commit
  7. 05 Mar, 2024 2 commits
  8. 29 Feb, 2024 1 commit
  9. 27 Feb, 2024 2 commits
  10. 26 Feb, 2024 1 commit
  11. 21 Feb, 2024 1 commit
  12. 20 Feb, 2024 1 commit
  13. 19 Feb, 2024 3 commits
  14. 16 Feb, 2024 2 commits
  15. 15 Feb, 2024 2 commits
  16. 14 Feb, 2024 1 commit
    • ardnew's avatar
      Add `config get` command to print settings values (#2307) · 8314f87f
      ardnew authored
      * add "config get" command to print settings values
      
      * use RPC for "config get" and add test cases
      
      * update imports for changed internal layout
      
      * config/get: do not wrap JSON output in YAML
      
      * fix formatting with gofmt
      
      * config/get: unmarshal JSON RPC response
      
      * Apply suggestions from code review
      Co-authored-by: default avatarCristian Maglie <c.maglie@bug.st>
      
      * use same default format as "config dump"
      
      * fix import missing after merging review changes remotely
      
      * test (config): fix expected error message with "get <unknown-key>"
      
      ---------
      Co-authored-by: default avatarCristian Maglie <c.maglie@bug.st>
      8314f87f
  17. 13 Feb, 2024 2 commits
  18. 08 Feb, 2024 1 commit
  19. 06 Feb, 2024 2 commits
  20. 05 Feb, 2024 2 commits
    • Cristian Maglie's avatar
      ec157a88
    • MatteoPologruto's avatar
      Add `programmer` field to sketch profile and `--profile` flag to `debug` command (#2505) · 4a5585e9
      MatteoPologruto authored
      * Add programmer field to rpc.SketchProfile
      
      * Add programmer to the sketch profile
      
      * Retrieve programmer's information from the profile if the flag is not used
      
      * Add profile flag to debug command
      
      * Add default_programmer field to sketch project
      
      * Add default_programmer to rpc.Sketch
      
      * Add methods to set and retrieve default_programmer from a sketch
      
      * Modify SetSketchDefaults function to set a programmer if specified
      
      * Modify board attach command to set a default programmer
      
      * Use default programmer if no other value is specified
      
      * Update docs
      
      * Update TestBoardAttach to test that a programmer is correctly written to sketch.yaml
      
      * Add TestDebugProfile to integration tests
      4a5585e9
  21. 01 Feb, 2024 4 commits
  22. 25 Jan, 2024 1 commit
  23. 24 Jan, 2024 1 commit
  24. 18 Jan, 2024 2 commits
  25. 17 Jan, 2024 1 commit
    • Cristian Maglie's avatar
      Fixed compile error when sketch has a broken symlink (#2497) · 3ccdb9d2
      Cristian Maglie authored
      * Removed unneeded pointer
      
      * Improved error message
      
      * Update go-paths library
      
      * Added integration tests
      
      * Reduced timeout for symlink-loop tests
      
      * Fixed unit tests
      
      Previously the unit tests were creating the wrong env to test:
      
      internal/arduino/libraries/testdata/TestLib
      ├── examples
      │   ├── UpGoer1 -> testdata/TestLib
      │   └── UpGoer2 -> testdata/TestLib
      ├── library.properties
      └── src
          └── TestLib.h
      
      The two UpGoer1 and UpGoer2 are broken links.
      The correct tree is the following:
      
      internal/arduino/libraries/testdata/TestLib
      ├── examples
      │   ├── UpGoer1 -> ..
      │   └── UpGoer2 -> ..
      ├── library.properties
      └── src
          └── TestLib.h
      
      that actually triggers the symlink loop we are testing.
      
      * Fixed integration test
      
      * Removed apparently useless check for "readable" files
      3ccdb9d2