dergachev / redmine_git_remote

Redmine plugin to automatically clone and fetch referenced repositories
73 stars 43 forks source link

Warning with redmine 3.4 during migrate task #32

Open algorys opened 7 years ago

algorys commented 7 years ago

Hello,

I've install your plugin and I migrate my server from 3.0.x to 3.4.x. Plugin still working, but I've a warning during migration task:

/home/redmine/redmine/plugins/redmine_git_remote/lib/redmine_git_remote/repositories_helper_patch.rb:10: warning: key :required is duplicated and overwritten on line 10

I've tried to resolved problem by myself, but I don't understand why redmine complaint about this. Hoping this plugin still active ?

Configuration:

Environment:
  Redmine version                3.4.2.stable
  Ruby version                   2.3.3-p222 (2016-11-21) [x86_64-linux]
  Rails version                  4.2.8
  Environment                    production
  Database adapter               Mysql2
SCM:
  Git                            2.7.4
  Filesystem                     
  GitRemote                      2.7.4
Redmine plugins:
  redmine_bootstrap_kit          0.2.3
  redmine_dmsf                   1.5.2
  redmine_git_remote             0.0.1
  redmine_jenkins                1.0.1
  redmine_ldap_sync              2.0.7.devel.g202f7c74b9
  redmine_my_page                0.1.10
  redmine_revision_branches      0.3.0
  redmineup_tags                 2.0.0
dergachev commented 7 years ago

Hi! We haven't done much to the plugin in a few years, but I can assure you we are still using it every day at Evolving Web, and I'm pretty sure hundreds or thousands of others are too.

We're still at redmine 3.3, and I don't remember seeing any such warnings.

Is this only during rake redmine:plugins:migrate or also some other times? Is it preventing you from using the plugin?

I'll keep it in mind when we upgrade to 3.4.

algorys commented 7 years ago

@dergachev happy to know plugin still in development.

This warning appears only during plugin migration. Otherwise, no errors or problems when using the plugin.