backlogs / redmine_backlogs

A Redmine plugin for agile teams
https://backlogs.github.io/www/
GNU General Public License v2.0
773 stars 460 forks source link

Adding support to 3.0.1? #1097

Closed rlisowski closed 4 years ago

rlisowski commented 9 years ago

Any plans for 3.0.1 support?

suexID commented 9 years ago

That would be greatly appreciated! :)

phoebusnetto commented 9 years ago

Hope they support. I'm changing my Project Management Tools to Redmine and Backlogs is one of the most valuable plugin I found for development!

rlisowski commented 9 years ago

@phoebusnetto this repo seems dead (last commit 9 months ago), but you can ask on forum http://forum.redminebacklogs.net/

forgulencia commented 9 years ago

Please!

cecconel commented 9 years ago

+1

PierreF66 commented 9 years ago

+1

rlisowski commented 9 years ago

Here is my version compatible with redmine 3.x https://github.com/efigence/redmine_backlogs/tree/feature/3.0 If you wanna use it, be careful there are still dragons :) and I'm using redmine_sidekiq

AlexDAlexeev commented 9 years ago

@korin God job! You saved my time! I made fork of your redmine_backlogs and removed sidekiq to work on windows. https://github.com/AlexDAlexeev/redmine_backlogs There still some problems, but it works for me with Redmine 3.0.1

rlisowski commented 9 years ago

Yes, there are many warnings. I think I will switch to Active Job so anyone could use any background processing tool.

ali-sattari commented 9 years ago

+1

joshuacox commented 9 years ago

+1 tested with 3.0.3

patrickatamaniuk commented 9 years ago

i'm looking into it.

patrickatamaniuk commented 9 years ago

check the branch feature/redmine3 it now passes all travis tests and should work.

jdpf commented 9 years ago

I am trying feature/redmine3 now, but the rake install task fails claiming that I have two instances of psych. Even when moving redmine_backlogs out of the plugins directory, it still fails with:

$ bundle exec rake redmine:backlogs:install
/usr/lib/x86_64-linux-gnu/ruby/2.1.0/psych.so: warning: already initialized constant Psych::Parser::ANY
/usr/lib/x86_64-linux-gnu/ruby/2.1.0/psych.so: warning: already initialized constant Psych::Parser::UTF8

SNIP

/opt/redmine/redmine/config/application.rb:5:in `<top (required)>'
/opt/redmine/redmine/Rakefile:5:in `require'
/opt/redmine/redmine/Rakefile:5:in `<top (required)>'
(See full trace by running task with --trace)

While it is unclear to me if this is indeed error in my installed gems, the rake install task for redmine_backlogs reliably exercises the issue. So I am, perhaps prematurely, asking for help.

The redmine installation and associated plugins appears to be working otherwise with redmine_backlogs removed from the plugin directory.

Here is the output of gem list (truncated to only show psych).

psych (2.0.13, 2.0.5)

Any hints?

Thanks!

Jellyfrog commented 9 years ago

Works fine for me, only used it for a week tho. Maybe it's time to merge and make a new release?

kakakakakku commented 9 years ago

+1

jdpf commented 9 years ago

DoH!

Apparently, my issue here is that I forgot to append RAILS_ENV=production to the install task invocation.

$ bundle exec rake redmine:backlogs:install fails, but $ bundle exec rake redmine:backlogs:install RAILS_ENV=production succeeds!

It works! YAY!

redmine$ bundle exec rake redmine:backlogs:install RAILS_ENV=production
3.1.0.stable. You are running backlogs v1.0.6, latest version is 1.0.6

=====================================================
             Redmine Backlogs Installer
=====================================================
Installing to the production environment.
Fetching card labels from http://git.gnome.org...done!
Story and task trackers are now set.
Migrating the database...done!
Installation complete. Please restart Redmine.
Thank you for trying out Redmine Backlogs!

Thank You!

intZero commented 8 years ago

Hi, I'm trying to get backlogs to work on the latest Bitnami Redmine (3.1.1) . I've switched branches to feature/redmine3 and it installed with no probs on a clean database. Unfortunately, after I followed these instructions: https://wiki.bitnami.com/Applications/BitNami_Redmine#Backup To upgrade the old database to the new format...

The plugin migration gets upset:

D:\Bitnami\redmine-3.1.1-0\apps\redmine\htdocs>ruby bin/rake redmine:plugins RAI
LS_ENV="production"
DL is deprecated, please use Fiddle
Migrating redmine_backlogs (Redmine Backlogs)...
== 38 RbAddHistory: migrating =================================================
Rebuilding history...
    37 (     1/1060)...
    38 (     2/1060)...
    39 (     3/1060)...
    41 (     4/1060)...
    42 (     5/1060)...
    45 (     6/1060)...
    46 (     7/1060)...
rake aborted!
StandardError: An error has occurred, all later migrations canceled:

undefined method `id' for 1:FixnumD:/Bitnami/redmine-3.1.1-0/apps/redmine/htdocs
/plugins/redmine_backlogs/app/models/rb_issue_history.rb:35:in `block in statuse
s'
D:/Bitnami/redmine-3.1.1-0/apps/redmine/htdocs/plugins/redmine_backlogs/app/mode
ls/rb_issue_history.rb:150:in `yield'
D:/Bitnami/redmine-3.1.1-0/apps/redmine/htdocs/plugins/redmine_backlogs/app/mode
ls/rb_issue_history.rb:150:in `block (3 levels) in rebuild_issue'
D:/Bitnami/redmine-3.1.1-0/apps/redmine/htdocs/plugins/redmine_backlogs/app/mode
ls/rb_issue_history.rb:149:in `each'
D:/Bitnami/redmine-3.1.1-0/apps/redmine/htdocs/plugins/redmine_backlogs/app/mode
ls/rb_issue_history.rb:149:in `each_with_index'
D:/Bitnami/redmine-3.1.1-0/apps/redmine/htdocs/plugins/redmine_backlogs/app/mode
ls/rb_issue_history.rb:149:in `block (2 levels) in rebuild_issue'
D:in `each'
D:in `each'
D:/Bitnami/redmine-3.1.1-0/apps/redmine/htdocs/plugins/redmine_backlogs/app/mode
ls/rb_issue_history.rb:133:in `block in rebuild_issue'
D:in `each'
D:in `each'
D:/Bitnami/redmine-3.1.1-0/apps/redmine/htdocs/plugins/redmine_backlogs/app/mode
ls/rb_issue_history.rb:129:in `rebuild_issue'
D:/Bitnami/redmine-3.1.1-0/apps/redmine/htdocs/plugins/redmine_backlogs/app/mode
ls/rb_issue_history.rb:329:in `block in rebuild'
D:/Bitnami/redmine-3.1.1-0/apps/redmine/htdocs/plugins/redmine_backlogs/app/mode
ls/rb_issue_history.rb:327:in `rebuild'
D:/Bitnami/redmine-3.1.1-0/apps/redmine/htdocs/plugins/redmine_backlogs/db/migra
te/038_rb_add_history.rb:35:in `up'
D:in `migrate'
D:/Bitnami/redmine-3.1.1-0/apps/redmine/htdocs/lib/redmine/plugin.rb:481:in `mig
rate_plugin'
D:/Bitnami/redmine-3.1.1-0/apps/redmine/htdocs/lib/redmine/plugin.rb:453:in `mig
rate'
D:/Bitnami/redmine-3.1.1-0/apps/redmine/htdocs/lib/redmine/plugin.rb:467:in `blo
ck in migrate'
D:/Bitnami/redmine-3.1.1-0/apps/redmine/htdocs/lib/redmine/plugin.rb:466:in `eac
h'
D:/Bitnami/redmine-3.1.1-0/apps/redmine/htdocs/lib/redmine/plugin.rb:466:in `mig
rate'
D:/Bitnami/redmine-3.1.1-0/apps/redmine/htdocs/lib/tasks/redmine.rake:127:in `bl
ock (3 levels) in <top (required)>'
D:/Bitnami/redmine-3.1.1-0/apps/redmine/htdocs/lib/tasks/redmine.rake:52:in `blo
ck (2 levels) in <top (required)>'
Tasks: TOP => redmine:plugins:migrate
(See full trace by running task with --trace)

Any ideas what to do?

EDIT: I should've pointed out that I'm moving the database from V 1.2.0 of Redmine on which I was running an older version of backlogs (I don't know the version, as we were using master from 2011 I believe). The database itself seems to have imported with no problems, it's just when I try and combine this converted database with backlogs that I have the issue.

csdougliss commented 8 years ago

I get:

Backlogs printable cards: problem loading labels: No such file or directory @ rb_sysopen - /opt/bitnami/apps/redmine/htdocs/plugins/redmine_backlogs/lib/labels/labels.yaml

Later on in the install: StandardError: An error has occurred, all later migrations canceled:

Mysql2::Error: Duplicate column name 'position': ALTER TABLE issues ADD position int(11)/opt/bitnami/apps/redmine/htdocs/plugins/redmine_backlogs/db/migrate/011_create_stories_tasks_sprints_and_burndown.rb:3:in `up'

In the admin:

You have not configured Backlogs yet. Please go to Administration > Plugins, then click on the Configure link for this plugin. Once you have set the fields, come back to this page to start using the tool.

I tried: bundle exec rake db:migrate_plugins RAILS_ENV=production

but I get:

Mysql2::Error: Duplicate column name 'position': ALTER TABLE `issues` ADD `position` int(11)/opt/bitnami/apps/redmine/htdocs/plugins/redmine_backlogs/db/migrate/011_create_stories_tasks_sprints_and_burndown.rb:3:in `up'

When I finally fixed all that, I ended up with when viewing backlogs:

Started GET "/rb/master_backlog/is-web-team-summary" for 195.26.57.129 at 2016-03-30 09:31:19 +0000
Processing by RbMasterBacklogsController#show as HTML
  Parameters: {"project_id"=>"is-web-team-summary"}
  Current user: ccarnell (id=106)
  Rendered plugins/redmine_backlogs/app/views/rb_master_backlogs/_backlog.html.erb (0.1ms)
  Rendered plugins/redmine_backlogs/app/views/rb_master_backlogs/_backlog.html.erb (0.0ms)
  Rendered plugins/redmine_backlogs/app/views/rb_master_backlogs/_productbacklog.html.erb (2.0ms)
  Rendered plugins/redmine_backlogs/app/views/rb_stories/_story.html.erb (0.0ms)
  Rendered plugins/redmine_backlogs/app/views/rb_master_backlogs/_backlog.html.erb (5.6ms)
  Rendered plugins/redmine_backlogs/app/views/rb_sprints/_sprint.html.erb (4.5ms)
  Rendered plugins/redmine_backlogs/app/views/rb_stories/_story.html.erb (0.0ms)
  Rendered plugins/redmine_backlogs/app/views/rb_master_backlogs/_backlog.html.erb (15.7ms)
  Rendered plugins/redmine_backlogs/app/views/rb_stories/_story.html.erb (3.9ms)
  Rendered plugins/redmine_backlogs/app/views/rb_stories/_helpers.html.erb (131.4ms)
  Rendered plugins/redmine_backlogs/app/views/rb_master_backlogs/show.html.erb within layouts/rb (233.3ms)
  Rendered plugins/scrum/app/views/scrum_hooks/_head.html.erb (0.3ms)
  Rendered plugins/redmine_backlogs/app/views/hooks/_rb_include_scripts.html.erb (10.3ms)
  Rendered plugins/scrum/app/views/scrum_hooks/_scrum_tips.html.erb (23.2ms)
Completed 500 Internal Server Error in 580ms (ActiveRecord: 22.3ms)

ActionView::Template::Error (undefined method `persisted?' for {:sprint=>nil, :stories=>#<ActiveRecord::Relation []>}:Hash):
    1: <%- tips = scrum_tips -%>
    2: <%- unless tips.empty? -%>
    3:   <h3><%= l(:label_tip_title) %> <%= image_tag("help.png") %></h3>
    4:   <ul>
  lib/redmine/hook/view_listener.rb:59:in `block (2 levels) in render_on'
  lib/redmine/hook/view_listener.rb:57:in `map'
  lib/redmine/hook/view_listener.rb:57:in `block in render_on'
  lib/redmine/hook.rb:61:in `block (2 levels) in call_hook'
  lib/redmine/hook.rb:61:in `each'
  lib/redmine/hook.rb:61:in `block in call_hook'
  lib/redmine/hook.rb:58:in `tap'
  lib/redmine/hook.rb:58:in `call_hook'
  lib/redmine/hook.rb:96:in `call_hook'
  app/helpers/application_helper.rb:1232:in `view_layouts_base_sidebar_hook_response'
  app/helpers/application_helper.rb:1228:in `sidebar_content?'
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'
wgtgithub commented 6 years ago

HI, I have a question. How to convert Backlog data to Redline Backlogs data? I should do that.