Project alias plugin¶
The name of this plugin should be "Project identifier rename"... But project identifier aliases are what makes the renaming possible! They allow to access project pages using different identifiers in URL thus any of such identifiers can be made a project identifier. All that is needed for this is to move the previous identifier to aliases (this is done by replacing the alias which has been made a project identifier). That’s how this plugin does the trick!
Project identifier aliases can be managed only by administrators. To add an alias, remove an alias or rename a project identifier one should open "Administration" » "Project aliases".
This menu item will open aliases listing:
Notice the link "Use as identifier". By clicking on this link you put the alias into the project as an identifier and save the previous identifier as an alias... So visually nothing changes except the project’s links which now contain the new identifier. The old links are still accessible too.
By clicking on the "New project alias" link one gets the form:
Many things rely (or can rely) on the fact that project identifiers cannot be changed! So this plugin can break such things... To provide a solution for them the plugin adds the
:controller_project_aliases_rename_after hook which can be used to fix things when project identifier is changed. But till the moment all of such issues are fixed here will be put things (e.g. plugins) which are known to conflict with this plugin or get broken by this plugin.
If you found some other Redmine/ChiliProject functions or plugins which conflict with the Project Alias plugin please feel free to list them on this page or email me directly using this contact form.
Check this page for information on how to use the hook.
- Redmine.pm does not support aliases and if a project identifier is changed Redmine authentication for a SCM will stop to work!
To install the plugin:
rake db:migrate:plugins RAILS_ENV=production.
- Restart Redmine/ChiliProject.