プロジェクト

全般

プロフィール

Vote #66335

未完了

Show repository path

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

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
SCM_3
対象バージョン:
-
開始日:
2010/01/13
期日:
進捗率:

0%

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

説明

This diff modifies the repository page to show the complete path to the repository.
"http://larsvn/" is the local DNS name for our repository root. Replace it by whatever be the repos root.


journals

#3808 is somewhat similar to the intent this patch has, and I seem to remember another patch not too long ago that tried to do the same thing, although I can't find it.

@Bruno: the problem with that is that it hardcodes the path in the view, which isn't best practice, and it makes one path mandatory for all repositories in the redmine. This might be fine for installations where the only repos allowed are the svn repos provided by the same people as the redmine server, but this won't work as soon as you have different SCM types and/or any repository, not only the ones on larsvn.
--------------------------------------------------------------------------------
You're totally right, Felix.
It works well for me 'cause we only have one SCM type, and its repositories are always in the same place.
Question: how could I change the hardcoded path to receive a variable value?
If it's worthless, you can delete this issue.
Regards.
--------------------------------------------------------------------------------
Maybe you want to have a look at #232 or my "Checkout Plugin":http://dev.holgerjust.de/projects/redmine-checkout/wiki which adds a configurable link to the actual selected repository object.
--------------------------------------------------------------------------------
I wanted the same feature without the hassle to configure the urls for all the projects.
The Checkout Plugin is nice but the link is a bit small and has to be configured for every repository which is not an option for me since we have tons of projects. The "root" link in the repository view is really ugly to begin with so i wrote a patch that replaces the root with the configured repository path.
--------------------------------------------------------------------------------
Joachim Fritschi wrote:
> I wanted the same feature without the hassle to configure the urls for all the projects.
> The Checkout Plugin is nice but the link is a bit small and has to be configured for every repository which is not an option for me since we have tons of projects.

I just uploaded version 0.2 of the plugin mentioned above, which mainly addresses this issue. You can now set default options and define a custom URL using a regular expression. This should remove the need to edit any repository settings for most installations.

Additionally, the link can now be generated using the repository URL as the link text. Most of the time it is now better identifiable.

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

--------------------------------------------------------------------------------
Any news on this? The plug-in is discontinued...
--------------------------------------------------------------------------------
Is there an alternative with redmine 3.0?
--------------------------------------------------------------------------------
Alternative: https://www.redmine.org/plugins/redmine_scm_path_view
--------------------------------------------------------------------------------


related_issues

duplicates,New,232,SCM URL/ROOT Information on Repository Page

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

  • カテゴリSCM_3 にセット

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

いいね!0
いいね!0