Skip to content

hidakatsuya/redmine_default_custom_query

Repository files navigation

Redmine Default Custom Query Gitter

Build Status Code Climate

Redmine plugin for setting the default custom query of Issues for each project.

Configure the default query per projects

Apply the default query

Usage

  1. Enable the Default Custom Query module in your project
  2. Select a custom query to set to default in setting for your project

Supported versions

  • Redmine 4.0
  • Ruby 2.2, 2.3, 2.4, 2.5, 2.6

Install

git clone or copy an unarchived plugin(archived file is here) to plugins/redmine_default_custom_query on your Redmine path.

$ git clone https://github.com/hidakatsuya/redmine_default_custom_query.git /path/to/your-redmine/plugins/redmine_default_custom_query

Install dependencies:

$ bundle install

Then, migrate:

$ cd /path/to/your-redmine
$ rake redmine:plugins:migrate NAME=redmine_default_custom_query RAILS_ENV=production

That's all.

Uninstall

At first, rollback schema:

$ cd /path/to/your-redmine
$ rake redmine:plugins:migrate NAME=redmine_default_custom_query VERSION=0 RAILS_ENV=production

Then, remove plugins/redmine_default_custom_query directory.

Contribute

How to test

$ cd /path/to/redmine
$ bundle install
$ bundle exec rake redmine:plugins:test NAME=redmine_default_custom_query

Pull Request

  1. Fork it
  2. Create your feature branch: git checkout -b new-feature
  3. Commit your changes: git commit -am 'add some new feature'
  4. Push to the branch: git push origin new-feature
  5. Create new Pull Request

Report bugs

Please report from here.

Copyright

© Katsuya Hidaka. See MIT-LICENSE for further details.