Your message dated Sat, 04 Jun 2016 14:57:25 +0100 with message-id <1465048645.7545.11.camel@adam-barratt.org.uk> and subject line Closing bugs for fixes included in 8.5 has caused the Debian Bug report #819933, regarding jessie-pu: package redmine/3.0~20140825-8~deb8u3 to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 819933: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=819933 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: jessie-pu: package redmine/3.0~20140825-8~deb8u3
- From: Antonio Terceiro <terceiro@debian.org>
- Date: Sun, 3 Apr 2016 21:17:40 -0300
- Message-id: <20160404001740.GA14302@debian.org>
Package: release.debian.org Severity: normal Tags: jessie User: release.debian.org@packages.debian.org Usertags: pu This fixes an issue when upgrading from 3.0~20140825-5 (original version release with jessie) to any of the later stable updates, when there are multiple redmine instances or when the `default` has been removed. This has been fixed in unstable on 3.2.1-2. The diff for jessie is attached. -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.4.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) -- Antonio Terceiro <terceiro@debian.org>diff --git a/debian/changelog b/debian/changelog index c4db2f7..ec0e42a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +redmine (3.0~20140825-8~deb8u3) jessie; urgency=medium + + * gemfile-adjustments.patch: load all database drivers for all Redmine + instances (Closes: #819815) + + -- Antonio Terceiro <terceiro@debian.org> Sun, 03 Apr 2016 20:47:00 -0300 + redmine (3.0~20140825-8~deb8u2) jessie-security; urgency=high * Security update. Includes fixes for the following vulnerabilities: diff --git a/debian/patches/gemfile-adjustments.patch b/debian/patches/gemfile-adjustments.patch index 3a2f6e1..0db0aa3 100644 --- a/debian/patches/gemfile-adjustments.patch +++ b/debian/patches/gemfile-adjustments.patch @@ -37,24 +37,33 @@ end end -@@ -46,8 +46,11 @@ end +@@ -46,12 +46,16 @@ end # configuration file require 'erb' require 'yaml' -database_file = File.join(File.dirname(__FILE__), "config/database.yml") -if File.exist?(database_file) -+# FIXME duplicating logic in config/application.rb -+ENV['X_DEBIAN_SITEID'] ||= 'default' -+ENV['RAILS_ETC'] = "/etc/redmine/#{ENV['X_DEBIAN_SITEID']}" -+database_file = File.join(ENV['RAILS_ETC'], "database.yml") -+if File.readable?(database_file) ++seen_adapters = {} ++Dir['{config,/etc/redmine/*}/database.yml'].select do |f| ++ File.exists?(f) ++end.each do |database_file| database_config = YAML::load(ERB.new(IO.read(database_file)).result) adapters = database_config.values.map {|c| c['adapter']}.compact.uniq if adapters.any? -@@ -78,21 +81,6 @@ else - warn("Please configure your config/database.yml first") - end - + adapters.each do |adapter| ++ next if seen_adapters[adapter] ++ seen_adapters[adapter] = true + case adapter + when 'mysql2' + gem "mysql2", "~> 0.3.11", :platforms => [:mri, :mingw] +@@ -74,23 +78,6 @@ if File.exist?(database_file) + else + warn("No adapter found in config/database.yml, please configure it first") + end +-else +- warn("Please configure your config/database.yml first") +-end +- -group :development do - gem "rdoc", ">= 2.4.2" - gem "yard" @@ -68,8 +77,6 @@ - # For running UI tests - gem "capybara", "~> 2.1.0" - gem "selenium-webdriver" --end -- + end + local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local") - if File.exists?(local_gemfile) - eval_gemfile local_gemfileAttachment: signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
- To: 793984-done@bugs.debian.org, 796823-done@bugs.debian.org, 802331-done@bugs.debian.org, 818549-done@bugs.debian.org, 818908-done@bugs.debian.org, 819284-done@bugs.debian.org, 819444-done@bugs.debian.org, 819658-done@bugs.debian.org, 819758-done@bugs.debian.org, 819797-done@bugs.debian.org, 819801-done@bugs.debian.org, 819912-done@bugs.debian.org, 819933-done@bugs.debian.org, 820059-done@bugs.debian.org, 820101-done@bugs.debian.org, 820175-done@bugs.debian.org, 820193-done@bugs.debian.org, 820241-done@bugs.debian.org, 820403-done@bugs.debian.org, 820502-done@bugs.debian.org, 820540-done@bugs.debian.org, 820589-done@bugs.debian.org, 820945-done@bugs.debian.org, 820995-done@bugs.debian.org, 821042-done@bugs.debian.org, 821205-done@bugs.debian.org, 821326-done@bugs.debian.org, 821835-done@bugs.debian.org, 822229-done@bugs.debian.org, 822481-done@bugs.debian.org, 822487-done@bugs.debian.org, 822854-done@bugs.debian.org, 823430-done@bugs.debian.org, 823433-done@bugs.debian.org, 823496-done@bugs.debian.org, 823609-done@bugs.debian.org, 823678-done@bugs.debian.org, 823752-done@bugs.debian.org, 824484-done@bugs.debian.org, 824859-done@bugs.debian.org, 825087-done@bugs.debian.org, 825202-done@bugs.debian.org, 825205-done@bugs.debian.org, 825221-done@bugs.debian.org, 825226-done@bugs.debian.org, 825232-done@bugs.debian.org, 825259-done@bugs.debian.org, 825260-done@bugs.debian.org, 825512-done@bugs.debian.org, 825523-done@bugs.debian.org, 825530-done@bugs.debian.org, 825533-done@bugs.debian.org
- Subject: Closing bugs for fixes included in 8.5
- From: "Adam D. Barratt" <adam@adam-barratt.org.uk>
- Date: Sat, 04 Jun 2016 14:57:25 +0100
- Message-id: <1465048645.7545.11.camel@adam-barratt.org.uk>
Version: 8.5 Hi, The fixes referred to by each of these bugs were included in today's 8.5 point release. Regards, Adam
--- End Message ---