Defect #13189

Redmine version in trunk should be based on next major release

Added by Harry Garrood almost 8 years ago. Updated over 7 years ago.

Status:NewStart date:
Priority:NormalDue 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?

dont-abort-for-plugin-mismatch-on-trunk-13189.patch Magnifier (3.41 KB) Harry Garrood, 2013-03-11 20:26

History

#1 Updated by Jean-Philippe Lang almost 8 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 almost 8 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 almost 8 years ago

Sure, a patch is welcome.

#4 Updated by Harry Garrood over 7 years ago

Sorry it took so long.

Also available in: Atom PDF