Skip to content
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 system-versions.md #1264

Closed
wants to merge 1 commit into from
Closed

Conversation

jlkalberer
Copy link

I use this in spark-server for versioning.

Is there any way to get this as an up-to-date list from an API? I compare the release version to the module version and then compare that against what's in the Photon/P1

< Please summarize the Problem and Solution this PR addresses as clearly as possible. This fascilitates speedy peer review and testing :) >


Doneness:

  • Contributor has signed CLA
  • Problem and Solution clearly stated
  • Code peer reviewed
  • API tests compiled
  • Run unit/integration/application tests on device
  • Add documentation
  • Add to CHANGELOG.md after merging (add links to docs and issues)

I use this in spark-server for versioning.  

Is there any way to get this as an up-to-date list from an API? I compare the release version to the module version and then compare that against what's in the Photon/P1
@technobly
Copy link
Member

Hi @jlkalberer the reason this was not updated yet in develop was because release/v0.6.1 was not merged back into develop at the time of this PR. If you look now the release branch has been merged in:
https://github.com/spark/firmware/blob/develop/system/system-versions.md

You might want to also check out the defines in https://github.com/spark/firmware/blob/develop/system/inc/system_version.h

There's also the System.version() and System.versionNumber() APIs https://docs.particle.io/reference/firmware/photon/#version-

Check out this API:
https://api.particle.io/v1/build_targets?featured=true&access_token=YOUR_ACCESS_TOKEN

@technobly technobly closed this Mar 16, 2017
@jlkalberer
Copy link
Author

Ok, The API might be the best but I don't want to require the users of spark-cloud to have to enter a token for the public cloud.

I think I'll try to parse the header file as that should always be up-to-date.

@technobly
Copy link
Member

@jlkalberer you might want to target the release/stable branch for the latest default release available. It's possible the release is out on the compile server for up to 24 hours before release/stable is updated as well.

https://github.com/spark/firmware/blob/release/stable/system/inc/system_version.h

@jlkalberer jlkalberer deleted the patch-1 branch June 30, 2017 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants