プロジェクト

全般

プロフィール

Vote #76709

未完了

Ability to set properties during repository creation (SVN reposman)

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

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

0%

予定工数:
category_id:
46
version_id:
0
issue_org_id:
20689
author_id:
49110
assigned_to_id:
0
comments:
2
status_id:
1
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

There is feature for Referencing issues in commit messages.

Let's say I'd like to add some "properties":http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-dug-bugtracker.html during repository creation to highlight the issue's URL or keywords from above feature in TortoiseSVN commit dialogue window in log message.
!propset.png!
To achieve result as on picture above I need to set such changes in my working copy and commit changes:

  • svn propset bugtraq:url "http://redmine.com/issues/%BUGID%" .
  • svn propset bugtraq:logregex "([Rr]efs #\d+)|([Ff]ixes #\d+) (\d+)" There should be extra option in reposman.rb to accept new optional argument, say --propset. This argument have to point to text file with properties defined. Then we execute:
    ruby reposman.rb --redmine my.redmine.host \
    --svn-dir /var/svn --owner www-data \
    --url http://my.svn.server/svn/ \
    --key=my_api_key \
    --propset /root/repositorysettings.txt
    
    and /root/repositorysettings.txt contains:
    bugtraq:url "http://redmine.com/issues/%BUGID%" .
    bugtraq:logregex "([Rr]efs #\d+)|([Ff]ixes #\d+) (\d+)"
    

journals

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

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

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

  • カテゴリSCM extra_46 にセット

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

いいね!0
いいね!0