ChiliProject is not maintained anymore. Please be advised that there will be no more updates.
We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.
Tagging (Feature #720)
This will add a tagging backend so datatypes can use them. This will not include tagging any existing datatypes, only the API.
|related to Feature #139: Tags for issues||Open||2011-02-04|
[#720] Add acts-as-taggable-on gem and migration for tag support
As per the gem docs, 2.1.0 is the last Rails 2.x compatable version
A lot of tagging libraries have been abandoned since I last looked. acts-as-taggable-on is still maintained, works with Rails 3, and provides everything we need at the moment.
Pull request: https://github.com/chiliproject/chiliproject/pull/131
The code to add tagging to a model is simple, this just added tagging to issues.
1diff --git a/app/models/issue.rb b/app/models/issue.rb 2index 233e2bb..e6eed56 100644 3--- a/app/models/issue.rb 4+++ b/app/models/issue.rb 5@@ -14,7 +14,7 @@ 6 7 class Issue < ActiveRecord::Base 8 include Redmine::SafeAttributes 9- 10+ acts_as_taggable_on :tags 11 belongs_to :project 12 belongs_to :tracker 13 belongs_to :status, :class_name => 'IssueStatus', :foreign_key => 'status_id'
Creating a usable user interface will take a bit more code though, which should be discussed in #139.
- Status changed from Open to Ready for review