Defect #13189
Redmine version in trunk should be based on next major release
Status: | New | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | - | |||
Target version: | - | |||
Resolution: | Affected version: |
Description
I'm developing a plugin against trunk, which relies on the IssueQuery class. This class only exists in trunk. Therefore the first version which will contain IssueQuery will be 2.3.0, so it makes sense to put this in my init.rb:
requires_redmine :version_or_higher => '2.3.0'
However trunk says the current version is
2.2.3-devel
; should it be 2.3.0-devel
?
History
#1
Updated by Jean-Philippe Lang over 9 years ago
OTOH, if we set trunk version to 2.3.0 just after 2.2.0 is released, the IssueQuery model might not be present yet in a 2.3.0 trunk. So I don't know if there's a right solution. Maybe we could change the behaviour of requirements when using a devel version (eg. send a warning instead of aborting).
#2
Updated by Harry Garrood over 9 years ago
Ah, I see. Yeah, sending a warning seems to be a better solution. Shall I put a patch together?
#3
Updated by Jean-Philippe Lang over 9 years ago
Sure, a patch is welcome.
#4
Updated by Harry Garrood about 9 years ago
Sorry it took so long.