プロジェクト

全般

プロフィール

Vote #72781

完了

Redmine version requirement improvements (in plugins)

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Plugin API_20
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
20
version_id:
56
issue_org_id:
12299
author_id:
16879
assigned_to_id:
1
comments:
1
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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.


journals

Feature added.

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

<pre><code class="ruby">
requires_redmine :version => '0.7.3'..'0.9.1'
</code></pre>

Versions with major.minor only are now also supported:

<pre><code class="ruby">
requires_redmine :version => '0.7'
requires_redmine :version => '0.7'..'0.9'
</code></pre>

--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリPlugin API_20 にセット
  • 対象バージョン2.2.0_56 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0