redmine

Redmine Performance Inconsistency

主宰稳场 提交于 2019-12-10 19:44:26
问题 I have a redmine instance deployed on a Linux x86_64 system and I am struggle with a funny performance inconsistency issue. It behave like this: Leave it alone for a couple of hours (no request to the application at all) then establish a connection, it takes a very long time to response to the first few requests (can be as bad as 15 seconds+, sometimes every for response at about 1 minute). After the first few requests, it performance very quickly, almost instantly where I can see from the

Can I create a cross-project source reference in redmine?

走远了吗. 提交于 2019-12-10 13:36:02
问题 If you have two separate projects that is somehow connected. How can one make a reference to the source of the other project? For referencing the source of your own project you use: source:some/file But since I want to refer to code in another project my thought was that I could write something like: other_project:source:some/file Anyone that knows if this is possible in some way? I have read http://www.redmine.org/wiki/redmine/RedmineTextFormatting#Redmine-links but found no clues there. 回答1

Redmine error log fatal:not a git repository

…衆ロ難τιáo~ 提交于 2019-12-10 10:42:37
问题 I installed redmine on git server (gitlab), which is our main git server (same machine). When I add the repository (through gitlab) information in redmine web, The redmine log says: /usr/local/redmine/log/production.scm.stderr.log < fatal: Not a git repository: '/data/gitlab/git-data/repositories/woojs/RedmineTestProject.git/' But when I check the whether bare or non-bare using git command, I get this: root@gitserver:/data/gitlab/git-data/repositories/woojs/RedmineTestProject.git# git rev

Redmine it!

試著忘記壹切 提交于 2019-12-10 01:07:55
redmine插件开发简介 最稳妥的学习应该是先看 官方文档 ,官方还给了一个具体的插件开发教程,不过如果一步不差按照教程敲代码,其实会发现还是有些问题的,需要稍稍改动。 这里,我自己编写了一个简单的插件,基于redmine-3.4.6-passenger版本。 #### 插件名称:field_value_adaption 依赖插件:select_to_select2 插件作用:在issue的自定义字段中,根据某个自定义字段的值,自动填写其他自定义字段的值,这些值存在数据库中,如下数据库,当自定义字段1的值选择’便签’时,自动将686,626填写进入自定义子字段4, 数据库设计: | Id | field_selector | value | field_selector_by | value_by | | —— | —— | —— | —— | —— | | 1 | #issue_custom_field_values_1 | 便签 | #issue_custom_field_values_4 | 686,626 | | 2 | #issue_custom_field_values_1 | 天气 | #issue_custom_field_values_4 | 691 | #### 控制器 adaption 模型 field_value_relation #设置开发环境变量 1

Redmine windwon下载安装

ぐ巨炮叔叔 提交于 2019-12-09 19:27:56
Redmin地址: https://bitnami.com/stack/redmine/installer plugin地址:https://www.redmine.org/plugins 修改配置: D:\redmine4.0.5\apps\redmine\htdocs\config\configuration.yml 插件安装:将clone的插件拷贝到: D:\redmine4.0.5\apps\redmine\htdocs\plugins目录下,重启 来源: https://www.cnblogs.com/huanhuan55/p/12012099.html

Redmine can't generate secret token

穿精又带淫゛_ 提交于 2019-12-08 19:30:37
I have problem with generating secret token. I'm was trying this: [redmine]# rake generate_secret_token rake aborted! LoadError: cannot load such file -- rspec/core /usr/local/rvm/gems/ruby-1.9.3-p551/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:251:in require' /usr/local/rvm/gems/ruby-1.9.3-p551/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:251:in block in require' /usr/local/rvm/gems/ruby-1.9.3-p551/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:236:in load_dependency' /usr/local/rvm/gems/ruby-1.9.3-p551/gems/activesupport-3.2.19/lib/active

Plugin migrations for Redmine: place plugin in db/migrate instead of plugin folder

a 夏天 提交于 2019-12-08 12:17:24
问题 I'm a newbie in ruby on rails and creating a redmine plugin. I created a model Allissue without using any column. Now I wanted to add a column project_name with the help of migration ./script/generate migration AddRoleToAllissue project_name:string . But it places migration in folder db/migrate named 20120722192815_add_role_to_allissue.rb instead of plugin migrate folder. I followed stack-overflow question and move migrated file to plugin folder mv ./db/migrate/20120722192815_add_role_to

Redmine can't generate secret token

馋奶兔 提交于 2019-12-08 06:17:23
问题 I have problem with generating secret token. I'm was trying this: [redmine]# rake generate_secret_token rake aborted! LoadError: cannot load such file -- rspec/core /usr/local/rvm/gems/ruby-1.9.3-p551/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:251:in require' /usr/local/rvm/gems/ruby-1.9.3-p551/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:251:in block in require' /usr/local/rvm/gems/ruby-1.9.3-p551/gems/activesupport-3.2.19/lib/active_support/dependencies.rb

Redmine Plugin - requires restart after every code change

为君一笑 提交于 2019-12-07 09:48:00
问题 I am working on some plugin on redmine (project management web application written using Ruby on Rail). For every change i make to the code of the plugin(say view.html.erb file), i have to restart the redmine(application) server. This is because, it runs on production mode by default. Will running the application on development mode, solve this problem? If yes, how can i change its running mode or over-ride this behavior so that classes are loaded per every request (yes this will not be

Redmine and SVN: How to link a Revision to an Issue AFTER the commit has happened?

余生长醉 提交于 2019-12-07 02:13:15
问题 So we have Redmine successfully integrated with SVN. It's a mature integration (a few months now). Post-commit-hook updates the repository in Redmine. Comments in SVN commit get beautifully imported into Redmine, which is able to create links between issues and revisions, log time, the whole 9 yards. However, for time constraint issues, there was an urgent bug which had to be fixed quickly and committed without comments. The issue wasn't even in Redmine. This happened at 3:35AM, when best