-
-
Notifications
You must be signed in to change notification settings - Fork 7k
update Firmata to v2.4.3 #3173
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
update Firmata to v2.4.3 #3173
Conversation
Previous commit broke the actual functionality. The code was confusing and worked until the previous commit. The changes make it logically and functionally correct.
Updated cursor.ino
…dapt using NetBeans as visual editor. Fixes arduino#3140
…te for PreferencesData
… the editor has no such feature, CMD+J is disabled on mac. See arduino#3098
Fix for FileUtils.recursiveDelete() when dealing with symbolic links
Oh ok, I've just read this one :-) so I repeat my proposal here too: It seems that the official repository of Firmata is ready for the library manager, so we can just replace https://github.com/arduino-libraries/Firmata with a fork of https://github.com/firmata/arduino so you don't need to bother submitting pullrequest. |
That sounds great! https://github.com/firmata/arduino is the official repository, the master branch is stable and all releases are tagged. The new library and board manager are great BTW! |
One thing to note is because I have unit tests in the Firmata repo and other features not typically found in other core libraries, I typically run a build script that generates the structure of Firmata in the Arduino repo. However in order to support the library manager, I could update the file structure in the Firmata repo as follows:
Or, I could create a separate repo |
So basically you don't need to do anything, I'm going to add the library to the library manager. |
Ok, it turns out that this needs some more clerical work to handle the already released versions from the old repository. I'll check this out tomorrow. |
Done, now all the latest versions are available through library manager. |
Are tags cached locally or somehow maintained by Arduino even though the manager is pointing to the Firmata repo now? There are 2 tags (v2.6.2 and v2.6.1) that actually were for an experimental future version of Firmata. Since these tags are higher numbers, v2.6.2 is now the default in the library manager, but it should not be used. I have deleted these 2 tags from the repo (just now), but they still show up in the library manager. I've also tried deleting them from the library_index.json file (in ~/Library/Arduino15/ on OS X), but they are readded when I relaunch Arduino even though these tags no longer exist in the Firmata repo so they must be pulled from a source other than the Firmata repo or are cached somewhere. This is a big deal actually, if someone hits the Update button for Firmata they will currently get a broken version. |
lib job never deletes. It only adds. Having two more versions is no big
|
The problem is the versions listed as the latest versions listed in the Library Manager (v2.6.2 and v2.6.1) are essentially broken. Stable Firmata is currently v2.4.3. The v.2.6.x series is experimental and was actually moved to a new repository ConfigurableFirmata. I just forgot to remove the old tags when I moved that code to it's own repository. I guess the only way I can fix this then is to jump the Firmata version from 2.4.3 to 2.7 just for the sake preventing users from updating to a broken version of Firmata and I really hate to do that. |
I see. I'll regenerate it then |
Ok, done |
See revisions.txt for a list of changes since Firmata v2.3.6. Now that Arduino 1.6.x is the master branch I'll try to submit Firmata updates more regularly. Please coordinate with me if any changes are to be made. I'd rather flow changes from the Firmata repo to the Arduino repo if possible (aside from automated changes that are made across all Arduino core libraries - I keep a watch on those and update in the Firmata repo as necessary).