1. 26 Jun, 2019 1 commit
  2. 17 Jun, 2019 1 commit
    • Massimiliano Pippi's avatar
      Rearrange protobuf files (#251) · c2d9c1b9
      Massimiliano Pippi authored
      * move protobuf definitions under rpc/commands
      
      * move commands daemon into commands folder
      
      * make client a test case
      
      * run protoc as part of the testing pipeline
      c2d9c1b9
  3. 14 Jun, 2019 2 commits
  4. 13 Jun, 2019 5 commits
    • red_car's avatar
      Lint tasks refactory (#250) · fe4814b0
      red_car authored
      * replace golangci-lint with govet and golint go-task task
      
      going in the direction of removing travis.ci in favour of drone io,
      and in order to have a clean linting check output, golangci-lint was
      removed because the output for this codebase was too confusing
      
      * refactor task check and add task check-legacy
      
      in order to be aligned with test task style we will have a legacy
      (ugly) lint output if requested and meanwhile  we will focus on the
      "new refactored part" of the code with lint and fmt to speed up
      the development and refactoring
      
      * removed go lint check for legacy lint task
      
      no need to be obsessed on linting for a module that will be properly
      refactored out from the legacy
      
      * add dynamic DEFAULT_TARGET generation list
      
      * replace golangci-lint with simple go-task check
      
      * fix upload for integ and unit test in codeconv.io
      
      * raise to 10m test timeput for unit and integ tests
      
      * add task test-unit-race to specificly run unit test with rece condition
      detection
      
      in order to do not slow down testing too much also because we do not
      have particular race conditions to detect at the moment
      
      * clean from drone configuration and related dockerfiles
      
      * add missing documentation temporary comment to make linter happy
      
      this is a FIXME commit, in next months all the FIXMEDOCS placeholders
      must be replaced with proper documentation
      fe4814b0
    • Massimiliano Pippi's avatar
      Split test tasks (#249) · bb7a5db3
      Massimiliano Pippi authored
      * split legacy tests
      
      * explicitly run legacy test on master
      bb7a5db3
    • Massimiliano Pippi's avatar
      configure dependabot (#248) · 65a4fded
      Massimiliano Pippi authored
      65a4fded
    • red_car's avatar
      Downloader helper user agent (#227) · 6b9d8e5d
      red_car authored
      * add global variables and Info struct in order to inject build time values via ldflags
      
      * replace cli.AppName with global variable global.GetAppName() getter
      
      * replaced cli.Version var with global getter
      
      * add .idea to .gitignore
      
      * re organize imports
      
      * add license to global.go
      
      * add hardcoded fallback version string
      
      * organize imports step2
      
      * organize imports step3
      
      * replace cli.AppName with global variable global.GetAppName() getter
      
      * add User-Agent header to downloader helper configuration
      
      * add testing for user agent-string generation
      
      * re organize imports
      
      * refactor global package into version package and rename and replace having cli login,logout,validate removed
      
      * refactor versioning variables in version package and implement Info struct wihth String method
      
      * refactor Info cosntructor to use directly package vars and renamed package from global to version
      
      * replace package name from global to version
      
      * solve package name clash for version and cli/version
      
      * replace application name getter with VersionInfo.Application field
      having removed cli login,logout,validate
      
      * search and replace version string getter with VersionInfo.VersionString field
      
      * implement empty http.Header struct propagation from cli to resources
      
      * align downloader helper to use propagated http.Header from upper layers and modify test accordingly
      
      * align daemon to use empty http.Header as struct field in ArduinoCoreServerImpl
      
      * clean inside cobra commands for empty http.Header struct and inject headers build from VersionInfo struct in cli InitInstance func
      
      * remove unused runDaemonCommand in daemon
      
      * add user agent specific for daemon mode via DownloaderHeaders property for ArduinoCoreServerImpl
      
      * add testing information in README.md
      
      * removed getters and related usage for version package
      
      * update dependencies
      
      * finalize helpers_test User-Agent header value
      
      * add integration test for version info injection via vars
      
      * tidy go mod and reorganize imports and tidy long lines
      
      * inject ldflags variables in build task in Taskfile.yml
      
      * replace commands in /travis.yml with tasks properly merging flags
      
      * fix install command for go-task to solve "undefined: interp.EnvFromList" error
      
      * add coverage files to .gitignore
      
      * tidy dependencies in go.mod
      
      * update task executable path in tasks due to install path generated by go-task install script
      
      * implement exported variable cli.HTTPClientHeader in order to have it available in all cli subpackages and not onli in cli
      
      * fix comment replacing "version config" with "global config"
      
      * leverage cli.VersionInfo to present a better terminal and json data for version info
      6b9d8e5d
    • Massimiliano Pippi's avatar
      added issue template (#245) · f74a7cce
      Massimiliano Pippi authored
      f74a7cce
  5. 11 Jun, 2019 4 commits
  6. 10 Jun, 2019 2 commits
  7. 07 Jun, 2019 7 commits
  8. 06 Jun, 2019 15 commits
  9. 05 Jun, 2019 3 commits