退役SEのつれづれ日記

定年退役SEが、つれづれなる想いをしたためています。
(旧名:『システムノヲニワソト』)

[redmine][plugin]serial_number_field pluginの導入と検証

2018-04-05 | サーバ設定(redmine,zabbix
久々の投稿です。
serial_number_field pluginを導入してみました。
年度替わり(3月から4月)での連番の切り替え機能が必要な要件があり、
調べていたら使えそうだったので。。

(参考)
採番カスタムフィールドのRedmineプラグイン
 https://github.com/matsukei/redmine_serial_number_field


いつもどおり、Dockerのコンテナに導入したbitnami-redmineに適用してみます。

[root@4c808b2fe0e1 plugins]# bundle install --no-deployment --without development test postgresql sqlite
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
Your Gemfile lists the gem httpclient (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of one of them later.
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x64-mingw32, x86-mswin32. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x64-mingw32 x86-mswin32`.
Fetching gem metadata from http://rubygems.org/.............
Fetching gem metadata from https://rubygems.org/..........
Fetching version metadata from http://rubygems.org/...
Fetching version metadata from https://rubygems.org/..
Fetching dependency metadata from http://rubygems.org/..
Fetching dependency metadata from https://rubygems.org/.
Resolving dependencies.....
Using rake 12.3.0
・・・
Installing fiscali 2.4.3
・・・
Bundle complete! 48 Gemfile dependencies, 69 gems now installed.
Gems in the groups development, test, postgresql and sqlite were not installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
Warning: the gem 'fiscali' was found in multiple sources.
Installed from: http://rubygems.org/
Also found in:
* https://rubygems.org/
You should add a source requirement to restrict this gem to your preferred source.
For example:
gem 'fiscali', :source => 'http://rubygems.org/'
Then uninstall the gem 'fiscali' (or delete all bundled gems) and then install again.
[root@4c808b2fe0e1 htdocs]# bundle exec rake --trace redmine:plugins:migrate RAILS_ENV=production
** Invoke redmine:plugins:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute redmine:plugins:migrate
Migrating advanced_roadmap_v2 (Advanced roadmap & milestones plugin)...
Migrating clipboard_image_paste (Clipboard image paste)...
Migrating easy_gantt (Easy Gantt plugin)...
Migrating recurring_tasks (Recurring Tasks (Issues))...
Migrating redmine_absolute_dates (Redmine Absolute Dates plugin)...
Migrating redmine_charts2 (Redmine Charts)...
Migrating redmine_checklists (Redmine Checklists plugin (Light version))...
Migrating redmine_close_button (Redmine Close Issue Button Plugin)...
Migrating redmine_code_review (Redmine Code Review plugin)...
Migrating redmine_enter_cancel (Redmine Enter Cancel plugin)...
Migrating redmine_extended_reminder (Redmine Extended Reminder plugin)...
Migrating redmine_github_hook (Redmine Github Hook plugin)...
Migrating redmine_helpdesk (Redmine helpdesk plugin)...
Migrating redmine_importer (Issue Importer)...
Migrating redmine_issue_extensions (Redmine Issue Extensions plugin)...
Migrating redmine_issue_templates (Redmine Issue Templates plugin)...
Migrating redmine_issues_summary_graph (Redmine Issues Summary Graph plugin)...
Migrating redmine_knowledgebase (Knowledgebase)...
Migrating redmine_logs (Redmine Logs plugin)...
Migrating redmine_monitoring_controlling (Redmine (Monitoring & Controlling | Monitoramento & Controle))...
Migrating redmine_serial_number_field (Redmine Serial Number Field)...
Migrating redmine_slack (Redmine Slack)...
Migrating redmine_tagging (Redmine Tagging Plugin)...
Migrating redmine_wiki_lists (Redmine Wiki Lists plugin)...
Migrating redmine_xlsx_format_issue_exporter (Redmine XLSX format issue exporter)...
Migrating sidebar_hide (Sidebar Hide Plugin)...
** Invoke db:schema:dump (first_time)
** Invoke environment
** Invoke db:load_config (first_time)
** Execute db:load_config
** Execute db:schema:dump
[root@4c808b2fe0e1 htdocs]# systemctl restart redmine

カスタムフィールドを作成して、プロジェクトに組み込み、チケットを更新すると年度替わりの連番作成完了。
終わり!

カスタムフィールド作成

導入済みプラグイン一覧
コメント    この記事についてブログを書く
  • Twitterでシェアする
  • Facebookでシェアする
  • はてなブックマークに追加する
  • LINEでシェアする
« [WindowsServer]ADサーバのDN... | トップ | [redmine]redmine3.4.5の導入... »