Skip to content

Specify IDE version dependency of platform in package index #1244

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

Open
NicoHood opened this issue Oct 7, 2015 · 5 comments
Open

Specify IDE version dependency of platform in package index #1244

NicoHood opened this issue Oct 7, 2015 · 5 comments
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@NicoHood
Copy link

NicoHood commented Oct 7, 2015

See this:
http://forum.arduino.cc/index.php?topic=349752

The workaround works but is not nice.

The same for libraries would also be nice.
If a library has the workaround added, the error is displayed, but with a whole bunch of other errors. Beginners might be confused and dont read the first error carefully. There was also a discussion (issue) to not display any further error after the first.

@matthijskooijman
Copy link
Collaborator

If a library has the workaround added, the error is displayed, but with a whole bunch of other errors.

Doesn't #error halt further processing?

Having a "minimal version number" might be a useful addition, though.

@ffissore ffissore self-assigned this Oct 8, 2015
@ffissore
Copy link

ffissore commented Oct 8, 2015

Thanks for bringing this out. It was in the plans but never scheduled

@per1234
Copy link
Contributor

per1234 commented Oct 8, 2015

It would be nice if a version range could be specified e.g. 1.6.4-1.6.5, <=1.6.6, >=1.6.6, 1.6.5

@matthijskooijman
Copy link
Collaborator

Might be useful to look at the version number specs that Debian uses.

Typically, you would just have just a minimal version. I can see two usecases for an upper limit:

  1. Some change in the IDE breaks a library / core (and fixing this in the library/core breaks compatibility with lower IDE versions, or just hasn't happened yet).
  2. Some specific IDE version breaks this library / core, due to an IDE bug that has again been fixed later. In this case, you need to specify multiple ranges, e.g. 1.6.0 - 1.6.2, 1.6.4+ for a bug in 1.6.3 that breaks

@NicoHood
Copy link
Author

NicoHood commented Oct 8, 2015

Also there are different avr core with r5 for example. This should be added as well. (avr core dependency)
Also I wanted to create a board definition r2 (after I noticed my release needs some more minor tweak but I dont want to push the version number because its connected with the bootloader) but this is not in the #.#.# Number schema. But the IDE does the same. So this should probably supported as well.

@per1234 per1234 changed the title [Feature Request] Add IDE as board dependancy [Feature Request] Specify IDE version dependency of platform in package index Oct 18, 2020
@per1234 per1234 transferred this issue from arduino/Arduino Mar 28, 2021
@per1234 per1234 added topic: core type: enhancement Proposed improvement labels Mar 28, 2021
@per1234 per1234 changed the title [Feature Request] Specify IDE version dependency of platform in package index Specify IDE version dependency of platform in package index Nov 8, 2022
@per1234 per1234 added the topic: code Related to content of the project itself label Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

6 participants