Bug#709987: redmine-plugin-markdown: breaks installation of redmine

2013-05-28 Thread Dmitry Smirnov
Thanks for letting me know about this situation. Apparently Plugins
in vendor/plugins (/usr/share/redmine/vendor/plugins) are no longer
allowed in Redmine 2.x. 

Earlier I wanted to try redmine-plugin-markdown with Redmine 2.x
that I tried to install from experimental several times. Unfortunately
that was not possible due to missing Depends otherwise I could have
declare Breaks/Conflicts with newer Redmine. Anyway I didn't expect
that impact would be so severe...

Now thanks to your bug report I noticed Redmine 2.x in unstable.
redmine-plugin-markdown is fixed for compatibility with Redmine 2.x
and uploaded. I hope it'll work well for you. :)

Cheers,
 Dmitry Smirnov
 GPG key : 4096R/53968D1B


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#709987: redmine-plugin-markdown: breaks installation of redmine

2013-05-28 Thread intrigeri
Hi,

Dmitry Smirnov wrote (28 May 2013 09:53:44 GMT) :
 redmine-plugin-markdown is fixed for compatibility with Redmine 2.x
 and uploaded.

Thanks a lot for your prompt bugfix!

 I hope it'll work well for you. :)

I'll make sure it does, next time I evaluate Redmine 2.x, which might
unfortunately not happen so soon (unless someone backports it, and
Rails 3.x, to wheezy-backports, which I assume is non-trivial a task).

Cheers,
-- 
  intrigeri
  | GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
  | OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#709987: redmine-plugin-markdown: breaks installation of redmine

2013-05-27 Thread intrigeri
Package: redmine-plugin-markdown
Version: 2.0.1+git20130226-1
Severity: serious

Hi,

On a Wheezy system, I've tried to install redmine (2.3.1-1) and its
dependencies from sid, as well redmine-plugin-markdown
(2.0.1+git20130226-1) from sid too, in a single APT run:

  # apt-get install redmine/unstable ruby-railties-3.2/unstable 
ruby-activesupport-3.2/unstable ruby-actionpack-3.2/unstable 
ruby-actionmailer-3.2/unstable ruby-activemodel-3.2/unstable 
ruby-activeresource-3.2/unstable ruby-rails-3.2/unstable 
ruby-activerecord-3.2/unstable

This makes the redmine installation fail:

Setting up redmine (2.3.1-1) ...
dbconfig-common: writing config to 
/etc/dbconfig-common/redmine/instances/default.conf

Creating config file /etc/dbconfig-common/redmine/instances/default.conf with 
new version

Creating config file /etc/redmine/default/database.yml.new with new version
creating database redmine_default: success.
verifying database redmine_default exists: success.

Creating config file /etc/redmine/default/database.yml with new version
Invalid gemspec in 
[/usr/share/rubygems-integration/1.9.1/specifications/actionpack-3.2.13.gemspec]:
 Illformed requirement [~ #Gem::Version:0x0001d13660]
Invalid gemspec in 
[/usr/share/rubygems-integration/1.9.1/specifications/actionpack-3.2.13.gemspec]:
 Illformed requirement [~ #Gem::Version:0x0001d13660]
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! 
Support for these plugins will be removed in Rails 4.0. Move them out and 
bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and 
config/initializers/myplugin.rb. See the release notes for more on this: 
http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. 
(called from top (required) at /usr/share/redmine/Rakefile:7)

Creating config file /etc/redmine/default/session.yml with new version
A new secret session key has been generated in /etc/redmine/default/session.yml
Populating database for redmine instance default.
This may take a while.
Invalid gemspec in 
[/usr/share/rubygems-integration/1.9.1/specifications/actionpack-3.2.13.gemspec]:
 Illformed requirement [~ #Gem::Version:0x0001d13660]
Invalid gemspec in 
[/usr/share/rubygems-integration/1.9.1/specifications/actionpack-3.2.13.gemspec]:
 Illformed requirement [~ #Gem::Version:0x0001d13660]
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! 
Support for these plugins will be removed in Rails 4.0. Move them out and 
bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and 
config/initializers/myplugin.rb. See the release notes for more on this: 
http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. 
(called from top (required) at /usr/share/redmine/Rakefile:7)
Plugins in vendor/plugins (/usr/share/redmine/vendor/plugins) are no longer 
allowed. Please, put your Redmine plugins in the `plugins` directory at the 
root of your Redmine directory (/usr/share/redmine/plugins)
Error when running rake db:migrate, check database configuration.
dpkg: error processing redmine (--configure):
 subprocess installed post-installation script returned error exit status 1


On the other hand, if I purge redmine-plugin-markdown, and the install
redmine (and its dependencies) only, with the same apt-get command
line as above (but removing redmine-plugin-markdown/unstable), then
the installation completes fine.

Perhaps this plugin or its packaging should be updated for Rails 3.x?

Cheers,
--
  intrigeri
  | GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
  | OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org