Skip to content

arduino-cli inception #319

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 67 commits into from
Aug 27, 2019
Merged
Show file tree
Hide file tree
Changes from 65 commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
dd4da02
fixed Preprocess container
cmaglie Mar 9, 2018
0b0988e
cli: use types from arduino-cli cores
cmaglie Feb 26, 2018
cc7d3f2
Moved HardwareLoader logic into arduino-cli
cmaglie Feb 28, 2018
8f387ed
Use packagemanager from arduino-cli
cmaglie Mar 5, 2018
cc8f694
Removed a bunch of constants
cmaglie Mar 7, 2018
c2146d4
Using cores.Tool/ToolRelease and removed types.Tool
cmaglie Mar 7, 2018
a11ea7b
WIP: Refactoring builtin_tools_versions.txt detection
cmaglie Mar 8, 2018
a21828b
Now using tools loader from arduino-cli
cmaglie Mar 12, 2018
d203490
PackageManager is no more a singleton
cmaglie Mar 13, 2018
d9b4541
Removed a bunch of unused functions/identifiers
cmaglie Mar 14, 2018
6c1d853
Moved addAdditionalPropertiesToTargetBoard function in arduino-cli
cmaglie Mar 15, 2018
85c6dd0
Now ctags has his own properties hardcoded
cmaglie Mar 23, 2018
e62ce9a
Updated imports for arduino-cli package
cmaglie Apr 17, 2018
84387d2
Moved Library type to arduino-cli
cmaglie May 11, 2018
0124195
Removed dependency from costants in LibrariesLoader
cmaglie May 15, 2018
cc5b5b5
renamed some properties
cmaglie May 15, 2018
f0a9372
moved library loader in arduino-cli
cmaglie May 15, 2018
f37025c
Using paths.* utilities
cmaglie May 16, 2018
067f1d0
moved LibraryToSourceFolder function in arduino-cli
cmaglie May 18, 2018
f1631fd
Using paths.* methods and structure (almost) everywhere
cmaglie May 25, 2018
244e15c
Merge branch 'master' into cli-inception
cmaglie May 31, 2018
53a1772
Merge branch 'master' into cli-inception
cmaglie Jun 1, 2018
f06377e
Moved function LoadLibrariesFromDir to arduino-cli
cmaglie Jun 7, 2018
c40beca
Sligthly improved WarnAboutArchIncompatibleLibraries
cmaglie Jun 7, 2018
b796399
Slightly improved library loader
cmaglie Jun 8, 2018
fc41149
Merge branch 'master' into 'cli-inception'
cmaglie Jun 8, 2018
81d2e00
Using FQBN facilities from arduino-cli
cmaglie Jun 11, 2018
e82d072
Use librarymanager to handle libraries loading
cmaglie Jul 2, 2018
fd8b7dc
Renamed librariesmanager.StatusContext -> librariesmanager.LibrariesM…
cmaglie Jul 16, 2018
4722d66
Using LibraryLocations and librarymanager functions to load libraries
cmaglie Jul 16, 2018
22a1e71
Use libraryresolver to resolve libraries
cmaglie Jul 18, 2018
006c22d
Fixed test libraries downloader
cmaglie Jul 19, 2018
23a0bb4
Using new librarymanager functions to load libraries
cmaglie Jul 19, 2018
1901f83
tests: print error output if something goes wrong with untar
cmaglie Jul 19, 2018
5421327
Using new *manager constructors
cmaglie Jul 25, 2018
fdfea8e
Changed field name Folder->InstallDir
cmaglie Aug 1, 2018
543863f
Changed field name Folder->InstallDir
cmaglie Aug 1, 2018
2f39b70
Changed field name Folder->InstallDir SrcFolder->SourceDir Folder->Dir
cmaglie Aug 1, 2018
b8512df
Changed field name *Folder->*Dir
cmaglie Aug 1, 2018
16a67ec
Using semver for versioning
cmaglie Aug 6, 2018
beb2ff2
Using semver for versioning (part 2)
cmaglie Aug 6, 2018
e866372
Moving under github.com/arduino imports
cmaglie Aug 8, 2018
decc48b
Merge branch 'master' into cli-inception
cmaglie Aug 31, 2018
8a51a33
Renamed field Board.BoardId -> Board.BoardID
cmaglie Aug 31, 2018
f99ab5a
Renamed field Board.BoardId -> Board.BoardID (part 2...)
cmaglie Aug 31, 2018
f9276b5
go-paths-helper API change
cmaglie Aug 31, 2018
48454f7
Merged release 1.4.1 into cli-inception
cmaglie Sep 10, 2018
bb7d413
Use ctx.PackageManager.GetInstalledPlatformRelease instead of Platfor…
cmaglie Sep 12, 2018
e74320a
Adopting ordered properties map
cmaglie Oct 2, 2018
3c198fc
Adopting ordered properties map (part 2)
cmaglie Oct 2, 2018
eb9e737
Adopting ordered properties map (part 3)
cmaglie Oct 2, 2018
ddca16b
Merge branch 'master' into cli-inception
cmaglie Oct 16, 2018
f64c68b
The board loader now detects default arguments in FQBN "config"
cmaglie Oct 16, 2018
75c65fd
Fix travis build
cmaglie Oct 16, 2018
8f0fb63
Fix travis build
cmaglie Oct 16, 2018
b5ab3ed
Added LoggerToIoWriter
cmaglie Apr 1, 2019
6be83c9
Log library discovery process using logger
cmaglie Apr 1, 2019
63f4904
Added Context.ExecStdout/ExecStderr to easy redirect output of execut…
cmaglie Apr 12, 2019
d364baa
Merge tag '1.4.2' into cli-inception
cmaglie Apr 12, 2019
b6797b3
Merge tag '1.4.3' into cli-inception
cmaglie Apr 12, 2019
a4859ca
Merge tag '1.4.4' into cli-inception
cmaglie Apr 12, 2019
14969d0
Removed builder module (moved into arduino-cli) (WIP)
cmaglie May 31, 2019
6c01fcc
Fixed imports
cmaglie May 31, 2019
d64e8c7
Added go.mod
cmaglie May 31, 2019
db05415
Merge remote-tracking branch 'arduino/master' into cli-inception
cmaglie Jul 10, 2019
35e015f
Set correct verbosity on logrus module
cmaglie Aug 27, 2019
7568a17
Update arduino-cli deps
cmaglie Aug 27, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
81 changes: 0 additions & 81 deletions .gitignore

This file was deleted.

31 changes: 10 additions & 21 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,17 @@
language: go

os:
- linux
- osx

go:
- 1.9.2
- 1.12.x

install:
- go get github.com/go-errors/errors
- go get github.com/stretchr/testify
- go get github.com/jstemmer/go-junit-report
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
- go get github.com/wadey/gocovmerge
- go get github.com/arduino/go-properties-map
- go get github.com/arduino/go-timeutils
env:
- GO111MODULE=on

script:
- go get github.com/arduino/arduino-builder/arduino-builder
- go build -o $HOME/arduino-builder -v github.com/arduino/arduino-builder/arduino-builder
- export TEST_PACKAGES=`go list github.com/arduino/arduino-builder/...`
- RES=0; I=0; for PKG in $TEST_PACKAGES; do go test -v -timeout 30m -covermode=count -coverprofile=coverage.$I.out $PKG; ((RES=RES+$?)); ((I++)); done; ( exit $RES )
install: true

after_success:
- bin/gocovmerge coverage.*.out > coverage.out
- bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN
script:
- go build

env:
global:
secure: mm7X+dFQD4tUYwXxeVOJzereC04KdpTe6vrho1g6zmWgnMEqBe/gnX16Hv1LeQRzTnMVUxpcTXMkh4Nj16WL2IFAnizWiiMfFb6wUBBOM0dFhYJR7EzSzKMu7/CuhxIqT5ps/Ls3UUnpzUoI9ImygiLJCaNJCSjJxQ+hwnxyyEZD0FHvlQQcv3kiKAd8sg9oWKqTSBGIwBnn9ZGT9G2uykv+XU2B5B+dW9IoXaDR3SfUGlANldorD4T6S9QNs+JdwhX1NDDd7rOqF92qu2RA0TFf2Ljy1STimLXvVhGgcfetsUhVgkmDGKxp1/iax4jlJ8wRU7faqeFAt1WvJpBaOnsK8OcsNqf7iqmYxWxHKavFHfGKgc7L+dMP9gWIqgtzmfqG94/49IN8lPMpB29J8sfZfrb4nKNu66S9GqQCr/jgGD1uTXzC6SggoL6ro2di0bAvAlb6zgpv5zChqKkTzhHE/6rVA6EZG/JIIx5lXaDvkD+yp3o2LNKNknpwRPEY0KpReRivvajucDwiPqQD79gkKWOGtoo5034SGSGCUmXvAydJNVPJt6c5ADKpVgyiT065Gja4/n+n4GhjT6QKc2WRGQRQZGtkYkNh95tKUvgZiZ1G7+EAuRCotoKiqLPkLgUpzCoD7kZpo/Ai5xU2aRcKpMsAHEHSRP9F06F+zp4=
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ To build, run the following commands:
go get github.com/go-errors/errors
go get github.com/stretchr/testify
go get github.com/jstemmer/go-junit-report
go get -u github.com/arduino/go-properties-map
go get -u github.com/arduino/go-paths-helper
go get -u github.com/arduino/go-properties-orderedmap
go get -u github.com/arduino/go-timeutils
go get google.golang.org/grpc
go get github.com/golang/protobuf/proto
Expand Down
87 changes: 0 additions & 87 deletions add_additional_entries_to_context.go

This file was deleted.

57 changes: 0 additions & 57 deletions add_build_board_property_if_missing.go

This file was deleted.

50 changes: 0 additions & 50 deletions add_missing_build_properties_from_parent_platform_txt_files.go

This file was deleted.

Loading