Skip to content

add checktool endpoint and force download #37

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

Closed
wants to merge 1 commit into from

Conversation

facchinm
Copy link
Member

@facchinm facchinm commented Dec 1, 2015

In this way, the communication between agent and BE will be something like

-> checktool bossac
<- {ToolVersions: ["bossac", "bossac-1.6-arduino]}
-> downloadtool bossac-1.6.1-arduino http://downloads.arduino.cc/....

@facchinm
Copy link
Member Author

facchinm commented Dec 1, 2015

@matteosuppo

@matteosuppo
Copy link
Contributor

The first time I download a tool it works fine, but if the tool is already there (maybe because I want to update it) it fails:

downloadtool avrdude https://downloads.arduino.cc/tools
{"DownloadStatus":"Success","Msg":"Map Updated"}

downloadtool avrdude https://downloads.arduino.cc/tools
�[34mINFO�[0m[0029] The filePrefix is avrdude-linux-amd64.zip 
�[34mINFO�[0m[0029] Downloading https://downloads.arduino.cc/tools/avrdude-linux-amd64.zip to /tmp/arduino-create-agent859167069/avrdude-linux-amd64.zip 
�[34mINFO�[0m[0030] 335444 bytes downloaded. 
�[31mERRO�[0m[0030] Could not unzip flashing tools! 
{"DownloadStatus":"Error","Msg":"exit status 1"}

checktool appears to be working

@ArduinoBot
Copy link

✅ Build completed.

Download at http://downloads.arduino.cc/CreateBridge/CreateBridge-PR69.zip

@matteosuppo
Copy link
Contributor

Closing it because I incorporated some suggestions in another PR

@matteosuppo matteosuppo closed this Mar 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants