Roger Clark ha scritto il 26/06/2015 alle 01:44:
> However I think the problem is that the IDE is not retaining any form of
> database of the boards that it has installed.
This is exactly the reason why the IDE behaves as you described.
It needs to recognize the installed stuff and its dependencies (tools)
but it doesn't have a local db, relying only on remote json files
content. Nothing is deleted however: it just doesn't get listed.
Having such a db is a nice improvement: we'll try to schedule it for a
next version.
Back to the initial issue (frequent releases) we are going to support
kind of nightly builds for cores
This is what we'll do for the Zero core:
1) main package_index.json file will keep on listing RELEASES
2) an additional package_zero_nightly_index.json (or something like
that) will list ONE version of the core only
3) this version (something high as 9.9.9) will MISS size and checksum fields
4) IDE 1.6.6, seeing those fields missing, will delete its previously
downloaded files every time users will click "install" in BM
This way, a user wishing to work with a development version of Zero
core, will update the core by clicking "remove" and then "install"
From a users perspective, this makes them sure releases are stable
stuff. Manually adding an additional url for having the nightlies makes
it clear that this is optional, advanced stuff
From a developer perspective, you'll have to create this one additional
package_index.json file ONCE and the only file that will need
maintenance (and that will keep on growing) will be the one where you'll
list releases
If your core is on github, the nightly will point to master, the
releases to tags.
What do you think?
Federico