Project

General

Profile

Actions

Feature #12299

closed

Redmine version requirement improvements (in plugins)

Added by Andriy Lesyuk about 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Category:
Plugin API
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

Currently Redmine supports #requires_redmine with :version_or_higher and just :version, the latter requires exact versions to be specified.

My suggestion:
  • Allow to specify only major and minor version numbers for :version.
  • Introduce :version_between, which will support the lowest and the highest versions.

The :version_or_higher option is useless now... As usually new version of Redmine requires fixing plugins anyway.

Actions #1

Updated by Jean-Philippe Lang about 12 years ago

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Target version set to 2.2.0
  • Resolution set to Fixed

Feature added.

Rather than adding a :version_between option, the :version option now accepts a Range of versions. Here is the ruby syntax:

requires_redmine :version => '0.7.3'..'0.9.1'

Versions with major.minor only are now also supported:

requires_redmine :version => '0.7'
requires_redmine :version => '0.7'..'0.9'
Actions

Also available in: Atom PDF