Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Ensures project identifiers are hierarchical.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 config
Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 COPYRIGHT.txt
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 init.rb
README.rdoc

ChiliProject Ensure Project Hierarchy Plugin

This plugin ensures subproject identifiers are prefixes with their parent project's identifier.

WARNING: Admins are still allowed to set any identifier regardless of the parent project.

Requirements

This plugin aims to be compatible with

  • ChiliProject

This plugin is pretty basic and should work with every flavor of ChiliProject, it probably works with Redmine too.

Installation

Please follow the default plugin installation instructions for ChiliProject.

Deinstallation

Remove the Plugin from vendor/plugins

rm -r vendor/plugins/chiliproject_ensure_project_hierarchy

Development

To run the tests, you will need a current version of the finnlabs Redmine/ChiliProject Dev Tools. After running

bundle install

You should be able to execute the tests with

rake redmine:spec:ensure_project_hierarchy

If these instructions are insufficient, please open a ticket in the GitHub issue tracker with information about where you are stuck.

Known issues

  • The validation should be moved from the projects controller to the model

  • The parent project drop-down on the project settings page contains all projects the user can set the parent project to, though as the project identifier is frozen, only the project's parents satisfy the identifier hierarchy condition.

License

© 2011 - Felix Schäfer

This plugin is licensed under the MIT license. See COPYRIGHT.txt for details.

Something went wrong with that request. Please try again.