Project

General

Profile

Feature #13194 ยป redmine-upgrade-log.txt

Jean-Claude Wippler, 2013-02-17 14:11

 
1
$ ssh redtry
2
root@redtry:~# cd redmine
3
root@redtry:~/redmine# ls
4
Gemfile       Rakefile	config.ru  extra  log	   script
5
Gemfile.lock  app	db	   files  plugins  test
6
README.rdoc   config	doc	   lib	  public   tmp
7
root@redtry:~/redmine# svn update
8
Skipped '.'
9
root@redtry:~/redmine# git pull
10
remote: Counting objects: 1731, done.
11
remote: Compressing objects: 100% (520/520), done.
12
remote: Total 1330 (delta 1033), reused 1077 (delta 797)
13
Receiving objects: 100% (1330/1330), 396.64 KiB, done.
14
Resolving deltas: 100% (1033/1033), completed with 226 local objects.
15
From git://github.com/redmine/redmine
16
   594a7bd..252df8d  2.2-stable -> origin/2.2-stable
17
   eb5675f..d8e4a8f  master     -> origin/master
18
Updating eb5675f..d8e4a8f
19
Fast-forward
20
 Gemfile                                            |   15 +-
21
 app/controllers/account_controller.rb              |   13 +-
22
 app/controllers/admin_controller.rb                |    4 +-
23
 app/controllers/auto_completes_controller.rb       |    6 +-
24
 app/controllers/boards_controller.rb               |    9 +-
25
 app/controllers/custom_fields_controller.rb        |    2 +
26
 app/controllers/issue_statuses_controller.rb       |    2 +-
27
 app/controllers/issues_controller.rb               |   10 +-
28
 app/controllers/messages_controller.rb             |    2 +-
29
 app/controllers/projects_controller.rb             |    2 +-
30
 app/controllers/repositories_controller.rb         |    2 +-
31
 app/controllers/timelog_controller.rb              |    2 +-
32
 app/controllers/users_controller.rb                |    2 +-
33
 app/controllers/watchers_controller.rb             |   54 +-
34
 app/controllers/wiki_controller.rb                 |    2 +-
35
 app/helpers/application_helper.rb                  |   21 +-
36
 app/helpers/custom_fields_helper.rb                |    2 +-
37
 app/helpers/groups_helper.rb                       |    2 +-
38
 app/helpers/members_helper.rb                      |    2 +-
39
 app/helpers/queries_helper.rb                      |   33 +-
40
 app/helpers/settings_helper.rb                     |    2 +-
41
 app/helpers/timelog_helper.rb                      |    6 +-
42
 app/helpers/watchers_helper.rb                     |   31 +-
43
 app/models/attachment.rb                           |    2 +-
44
 app/models/board.rb                                |    2 +-
45
 app/models/custom_field.rb                         |    8 +-
46
 app/models/group.rb                                |    2 +-
47
 app/models/issue.rb                                |   44 +-
48
 app/models/issue_query.rb                          |  201 +--
49
 app/models/mail_handler.rb                         |    6 +-
50
 app/models/member.rb                               |   21 +-
51
 app/models/member_role.rb                          |   23 +-
52
 app/models/news.rb                                 |    4 +
53
 app/models/principal.rb                            |   10 +
54
 app/models/project.rb                              |   62 +-
55
 app/models/query.rb                                |   55 +-
56
 app/models/setting.rb                              |   18 +-
57
 app/models/time_entry_query.rb                     |   40 +-
58
 app/models/token.rb                                |   34 +-
59
 app/models/user.rb                                 |   81 +-
60
 app/views/account/logout.html.erb                  |    3 +
61
 app/views/boards/show.html.erb                     |    2 +-
62
 app/views/context_menus/issues.html.erb            |    9 +-
63
 app/views/custom_fields/_form.html.erb             |   15 +-
64
 app/views/gantts/show.html.erb                     |   14 +-
65
 app/views/groups/_form.html.erb                    |    2 +-
66
 app/views/issues/_action_menu.html.erb             |    2 +-
67
 app/views/issues/index.api.rsb                     |    1 +
68
 app/views/issues/show.api.rsb                      |    7 +
69
 .../{_update_form.js.erb => update_form.js.erb}    |    0
70
 app/views/messages/show.html.erb                   |    2 +-
71
 app/views/news/show.html.erb                       |    2 +-
72
 app/views/projects/_form.html.erb                  |   29 +-
73
 app/views/projects/settings/_modules.html.erb      |    6 +-
74
 app/views/settings/_authentication.html.erb        |    2 +
75
 app/views/settings/_projects.html.erb              |    3 +
76
 app/views/watchers/_new.html.erb                   |   10 +-
77
 app/views/watchers/_set_watcher.js.erb             |    2 +-
78
 app/views/wiki/date_index.html.erb                 |    2 +-
79
 app/views/wiki/index.html.erb                      |    2 +-
80
 app/views/wiki/show.html.erb                       |    2 +-
81
 config/database.yml.example                        |   31 +-
82
 config/locales/ar.yml                              |    3 +
83
 config/locales/az.yml                              | 1184 ++++++++++++
84
 config/locales/bg.yml                              |    6 +-
85
 config/locales/bs.yml                              |    3 +
86
 config/locales/ca.yml                              |    3 +
87
 config/locales/cs.yml                              |    3 +
88
 config/locales/da.yml                              |    3 +
89
 config/locales/de.yml                              |   15 +-
90
 config/locales/el.yml                              |    3 +
91
 config/locales/en-GB.yml                           |    3 +
92
 config/locales/en.yml                              |    3 +
93
 config/locales/es.yml                              |   15 +-
94
 config/locales/et.yml                              |    3 +
95
 config/locales/eu.yml                              |    3 +
96
 config/locales/fa.yml                              |    3 +
97
 config/locales/fi.yml                              |    3 +
98
 config/locales/fr.yml                              |    3 +
99
 config/locales/gl.yml                              |    3 +
100
 config/locales/he.yml                              |    3 +
101
 config/locales/hr.yml                              |    3 +
102
 config/locales/hu.yml                              |    3 +
103
 config/locales/id.yml                              |    3 +
104
 config/locales/it.yml                              |    7 +-
105
 config/locales/ja.yml                              |   14 +-
106
 config/locales/ko.yml                              |    3 +
107
 config/locales/lt.yml                              |    3 +
108
 config/locales/lv.yml                              |    3 +
109
 config/locales/mk.yml                              |    3 +
110
 config/locales/mn.yml                              |    3 +
111
 config/locales/nl.yml                              |    3 +
112
 config/locales/no.yml                              |    3 +
113
 config/locales/pl.yml                              |  182 +-
114
 config/locales/pt-BR.yml                           |    3 +
115
 config/locales/pt.yml                              |    3 +
116
 config/locales/ro.yml                              |    3 +
117
 config/locales/ru.yml                              |   35 +-
118
 config/locales/sk.yml                              |    3 +
119
 config/locales/sl.yml                              |    3 +
120
 config/locales/sq.yml                              |    3 +
121
 config/locales/sr-YU.yml                           |    3 +
122
 config/locales/sr.yml                              |    3 +
123
 config/locales/sv.yml                              |    3 +
124
 config/locales/th.yml                              |    3 +
125
 config/locales/tr.yml                              |    3 +
126
 config/locales/uk.yml                              |    3 +
127
 config/locales/vi.yml                              |    3 +
128
 config/locales/zh-TW.yml                           |    3 +
129
 config/locales/zh.yml                              |    3 +
130
 config/routes.rb                                   |   19 +-
131
 config/settings.yml                                |    5 +
132
 db/migrate/001_setup.rb                            |    2 +-
133
 ...30201184705_add_unique_index_on_tokens_value.rb |   15 +
134
 .../20130202090625_add_projects_inherit_members.rb |    9 +
135
 ...6_add_unique_index_on_custom_fields_trackers.rb |   24 +
136
 ...5_add_unique_index_on_custom_fields_projects.rb |   24 +
137
 ...15073721_change_users_lastname_length_to_255.rb |    9 +
138
 db/migrate/20130215111127_add_issues_closed_on.rb  |    9 +
139
 .../20130215111141_populate_issues_closed_on.rb    |   25 +
140
 ...130217094251_remove_issues_default_fk_values.rb |   19 +
141
 doc/CHANGELOG                                      |   13 +
142
 doc/RUNNING_TESTS                                  |   11 +-
143
 extra/mail_handler/rdm-mailhandler.rb              |    4 +-
144
 .../sample_plugin/test/integration/routing_test.rb |    2 +-
145
 lib/SVG/Graph/Bar.rb                               |  296 ++--
146
 lib/SVG/Graph/BarBase.rb                           |  278 ++--
147
 lib/SVG/Graph/BarHorizontal.rb                     |  298 ++--
148
 lib/SVG/Graph/Graph.rb                             | 1956 ++++++++++----------
149
 lib/SVG/Graph/Pie.rb                               |  790 ++++----
150
 lib/SVG/Graph/Plot.rb                              | 1000 +++++-----
151
 lib/SVG/Graph/TimeSeries.rb                        |  476 +++---
152
 .../redmine_plugin/templates/en_rails_i18n.yml     |    2 +-
153
 .../lib/acts_as_customizable.rb                    |    8 +
154
 lib/plugins/rfpdf/README                           |    6 +-
155
 lib/plugins/rfpdf/init.rb                          |    5 -
156
 lib/plugins/rfpdf/lib/tcpdf.rb                     |   16 +-
157
 lib/redmine.rb                                     |    6 +-
158
 lib/redmine/scm/adapters/bazaar_adapter.rb         |    6 +-
159
 lib/redmine/version.rb                             |    2 +-
160
 lib/redmine/views/builders/json.rb                 |    5 +-
161
 lib/tasks/ci.rake                                  |   84 +-
162
 lib/tasks/testing.rake                             |    7 +
163
 public/javascripts/i18n/jquery.ui.datepicker-az.js |   23 +
164
 public/javascripts/jstoolbar/lang/jstoolbar-az.js  |   16 +
165
 public/javascripts/jstoolbar/lang/jstoolbar-bg.js  |    2 +-
166
 public/stylesheets/application.css                 |   21 +-
167
 test/fixtures/issues.yml                           |    3 +
168
 test/fixtures/users.yml                            |    9 +-
169
 test/functional/account_controller_test.rb         |   13 +-
170
 test/functional/activities_controller_test.rb      |    1 -
171
 test/functional/auto_completes_controller_test.rb  |    8 +-
172
 test/functional/boards_controller_test.rb          |   15 +
173
 test/functional/context_menus_controller_test.rb   |    8 +-
174
 test/functional/custom_fields_controller_test.rb   |   24 +
175
 test/functional/files_controller_test.rb           |    1 -
176
 test/functional/gantts_controller_test.rb          |    1 -
177
 test/functional/issues_controller_test.rb          |   24 +-
178
 test/functional/previews_controller_test.rb        |    1 -
179
 .../project_enumerations_controller_test.rb        |    1 -
180
 test/functional/projects_controller_test.rb        |   28 +
181
 test/functional/reports_controller_test.rb         |    1 -
182
 test/functional/timelog_controller_test.rb         |    4 +-
183
 test/functional/watchers_controller_test.rb        |   51 +-
184
 test/functional/welcome_controller_test.rb         |    7 +
185
 test/functional/wiki_controller_test.rb            |    2 +-
186
 test/integration/admin_test.rb                     |    3 +-
187
 test/integration/api_test/attachments_test.rb      |    3 +-
188
 test/integration/api_test/authentication_test.rb   |    2 +-
189
 .../integration/api_test/disabled_rest_api_test.rb |   22 +-
190
 test/integration/api_test/enumerations_test.rb     |    2 +-
191
 test/integration/api_test/groups_test.rb           |    2 +-
192
 test/integration/api_test/http_basic_login_test.rb |   22 +-
193
 .../http_basic_login_with_api_token_test.rb        |   22 +-
194
 test/integration/api_test/issue_categories_test.rb |    2 +-
195
 test/integration/api_test/issue_relations_test.rb  |    3 +-
196
 test/integration/api_test/issue_statuses_test.rb   |    2 +-
197
 test/integration/api_test/issues_test.rb           |   53 +-
198
 test/integration/api_test/jsonp_test.rb            |   28 +-
199
 test/integration/api_test/memberships_test.rb      |    2 +-
200
 test/integration/api_test/news_test.rb             |    5 +-
201
 test/integration/api_test/projects_test.rb         |    2 +-
202
 test/integration/api_test/queries_test.rb          |    3 +-
203
 test/integration/api_test/roles_test.rb            |    2 +-
204
 test/integration/api_test/time_entries_test.rb     |    3 +-
205
 .../api_test/token_authentication_test.rb          |   22 +-
206
 test/integration/api_test/trackers_test.rb         |    2 +-
207
 test/integration/api_test/users_test.rb            |    4 +-
208
 test/integration/api_test/versions_test.rb         |    3 +-
209
 test/integration/api_test/wiki_pages_test.rb       |    2 +-
210
 test/integration/application_test.rb               |    3 +-
211
 test/integration/issues_test.rb                    |    9 -
212
 test/integration/layout_test.rb                    |    3 +-
213
 test/integration/lib/redmine/menu_manager_test.rb  |    3 +-
214
 test/integration/routing/account_test.rb           |   10 +-
215
 test/integration/routing/issues_test.rb            |    4 +-
216
 test/integration/routing/watchers_test.rb          |   12 +-
217
 test/object_helpers.rb                             |   28 +-
218
 test/test_helper.rb                                |  527 +++---
219
 test/ui/base.rb                                    |   63 +
220
 test/ui/issues_test.rb                             |  202 ++
221
 test/unit/attachment_test.rb                       |   66 +-
222
 test/unit/auth_source_ldap_test.rb                 |   83 +-
223
 test/unit/group_test.rb                            |   12 +-
224
 test/unit/helpers/application_helper_test.rb       |   15 +-
225
 test/unit/helpers/issues_helper_test.rb            |  241 ++--
226
 test/unit/helpers/projects_helper_test.rb          |    3 +-
227
 test/unit/helpers/queries_helper_test.rb           |   50 +-
228
 test/unit/helpers/watchers_helper_test.rb          |   69 +
229
 test/unit/issue_nested_set_test.rb                 |    9 +-
230
 test/unit/issue_test.rb                            |  461 +++--
231
 test/unit/lib/redmine/helpers/gantt_test.rb        |    1 -
232
 test/unit/lib/redmine/hook_test.rb                 |    2 +-
233
 test/unit/mail_handler_test.rb                     |  100 +-
234
 test/unit/mailer_test.rb                           |   64 +-
235
 test/unit/member_test.rb                           |   67 -
236
 test/unit/principal_test.rb                        |   86 +-
237
 test/unit/project_copy_test.rb                     |  324 ++++
238
 test/unit/project_members_inheritance_test.rb      |  260 +++
239
 test/unit/project_test.rb                          |  705 +++-----
240
 test/unit/query_test.rb                            |  118 +-
241
 test/unit/time_entry_test.rb                       |    3 +-
242
 test/unit/token_test.rb                            |   52 +
243
 test/unit/user_test.rb                             |   17 +-
244
 224 files changed, 7336 insertions(+), 4812 deletions(-)
245
 create mode 100644 app/views/account/logout.html.erb
246
 rename app/views/issues/{_update_form.js.erb => update_form.js.erb} (100%)
247
 create mode 100644 config/locales/az.yml
248
 create mode 100644 db/migrate/20130201184705_add_unique_index_on_tokens_value.rb
249
 create mode 100644 db/migrate/20130202090625_add_projects_inherit_members.rb
250
 create mode 100644 db/migrate/20130207175206_add_unique_index_on_custom_fields_trackers.rb
251
 create mode 100644 db/migrate/20130207181455_add_unique_index_on_custom_fields_projects.rb
252
 create mode 100644 db/migrate/20130215073721_change_users_lastname_length_to_255.rb
253
 create mode 100644 db/migrate/20130215111127_add_issues_closed_on.rb
254
 create mode 100644 db/migrate/20130215111141_populate_issues_closed_on.rb
255
 create mode 100644 db/migrate/20130217094251_remove_issues_default_fk_values.rb
256
 create mode 100644 public/javascripts/i18n/jquery.ui.datepicker-az.js
257
 create mode 100644 public/javascripts/jstoolbar/lang/jstoolbar-az.js
258
 create mode 100644 test/ui/base.rb
259
 create mode 100644 test/ui/issues_test.rb
260
 create mode 100644 test/unit/helpers/watchers_helper_test.rb
261
 create mode 100644 test/unit/project_copy_test.rb
262
 create mode 100644 test/unit/project_members_inheritance_test.rb
263
root@redtry:~/redmine# rake db:migrate RAILS_ENV=production
264
/var/lib/gems/1.8/gems/bundler-1.1.4/lib/bundler/dsl.rb:75:in `gem': You cannot specify the same gem twice with different version requirements. You specified: shoulda (~> 3.3.2) and shoulda (~> 2.11)
265
root@redtry:~/redmine# bundle update
266
/var/lib/gems/1.8/gems/bundler-1.1.4/lib/bundler/dsl.rb:75:in `gem': You cannot specify the same gem twice with different version requirements. You specified: shoulda (~> 3.3.2) and shoulda (~> 2.11)
267
root@redtry:~/redmine# gem list
268

    
269
*** LOCAL GEMS ***
270

    
271
actionmailer (3.2.11, 3.2.9)
272
actionpack (3.2.11, 3.2.9)
273
activemodel (3.2.11, 3.2.9)
274
activerecord (3.2.11, 3.2.9)
275
activeresource (3.2.11, 3.2.9)
276
activesupport (3.2.11, 3.2.9)
277
arel (3.0.2)
278
builder (3.0.0)
279
bundler (1.1.4)
280
coderay (1.0.8)
281
erubis (2.7.0)
282
fastercsv (1.5.5)
283
guard (1.4.0)
284
guard-test (0.7.0)
285
hike (1.2.1)
286
i18n (0.6.1)
287
journey (1.0.4)
288
jquery-rails (2.0.3)
289
json (1.7.6, 1.7.5)
290
listen (0.7.2, 0.6.0)
291
mail (2.4.4)
292
metaclass (0.0.1)
293
mime-types (1.19)
294
mocha (0.12.3)
295
multi_json (1.5.0, 1.4.0)
296
mysql (2.8.1)
297
mysql2 (0.3.11)
298
net-ldap (0.3.1)
299
pg (0.14.1)
300
polyglot (0.3.3)
301
prototype-rails (3.2.1)
302
rack (1.4.4, 1.4.1)
303
rack-cache (1.2)
304
rack-openid (1.3.1)
305
rack-ssl (1.3.2)
306
rack-test (0.6.2)
307
rails (3.2.11, 3.2.9)
308
railties (3.2.11, 3.2.9)
309
rake (10.0.3, 10.0.2, 0.9.2.2)
310
rb-fsevent (0.9.3, 0.9.2)
311
rdoc (3.12)
312
rmagick (2.13.1)
313
ruby-openid (2.1.8)
314
shoulda (2.11.3)
315
sprockets (2.2.2)
316
sqlite3 (1.3.6)
317
test-unit (2.5.3)
318
thor (0.16.0)
319
tilt (1.3.3)
320
treetop (1.4.12)
321
tzinfo (0.3.35)
322
yard (0.8.3)
323
root@redtry:~/redmine# ls -a ~
324
.	       .bashrc	   .mysql_history  .subversion	    redmine
325
..	       .bashrc.d   .penv	   .viminfo
326
.aptitude      .gem	   .profile	   .vimrc
327
.bash_history  .gnupg	   .rnd		   a1-1_0_3.tar.gz
328
.bash_profile  .hushlogin  .ssh		   application.css
329
root@redtry:~/redmine# vi /root/.gem/specs/rubygems.org%80/
330
latest_specs.4.8  quick/            specs.4.8         
331
root@redtry:~/redmine# vi /root/.gem/specs/rubygems.org%80/latest_specs.4.8 
332
root@redtry:~/redmine# vi /root/.gem/specs/rubygems.org%80/                 
333
latest_specs.4.8  quick/            specs.4.8         
334
root@redtry:~/redmine# vi /root/.gem/specs/rubygems.org%80/quick/Marshal.4.8/
335
Display all 208 possibilities? (y or n)
336
actionmailer-3.2.11.gemspec    multi_json-1.3.2.gemspec
337
actionmailer-3.2.5.gemspec     multi_json-1.3.3.gemspec
338
actionpack-3.2.11.gemspec      multi_json-1.3.4.gemspec
339
actionpack-3.2.5.gemspec       multi_json-1.3.5.gemspec
340
activemodel-3.2.11.gemspec     multi_json-1.3.6.gemspec
341
activemodel-3.2.5.gemspec      multi_json-1.3.7.gemspec
342
activerecord-3.2.11.gemspec    multi_json-1.4.0.gemspec
343
activerecord-3.2.5.gemspec     multi_json-1.5.0.gemspec
344
activeresource-3.2.11.gemspec  mysql-2.9.0.gemspec
345
activeresource-3.2.5.gemspec   mysql2-0.3.11.gemspec
346
activesupport-3.2.11.gemspec   polyglot-0.3.3.gemspec
347
activesupport-3.2.5.gemspec    rack-1.0.0.gemspec
348
arel-3.0.2.gemspec             rack-1.0.1.gemspec
349
builder-3.0.0.gemspec          rack-1.1.0.gemspec
350
builder-3.0.1.gemspec          rack-1.1.1.gemspec
351
builder-3.0.2.gemspec          rack-1.1.2.gemspec
352
builder-3.0.3.gemspec          rack-1.1.3.gemspec
353
builder-3.0.4.gemspec          rack-1.1.4.gemspec
354
builder-3.1.4.gemspec          rack-1.1.5.gemspec
355
bundler-1.0.0.gemspec          rack-1.2.0.gemspec
356
bundler-1.0.10.gemspec         rack-1.2.1.gemspec
357
bundler-1.0.11.gemspec         rack-1.2.2.gemspec
358
bundler-1.0.12.gemspec         rack-1.2.3.gemspec
359
bundler-1.0.13.gemspec         rack-1.2.4.gemspec
360
root@redtry:~/redmine# vi /root/.gem/specs/rubygems.org%80/quick/Marshal.4.8/shoulda-3.3.2.gemspec 
361
.git/         README.rdoc   db/           log/          tmp/
362
.gitignore    Rakefile      doc/          plugins/      
363
.hgignore     app/          extra/        public/       
364
Gemfile       config/       files/        script/       
365
Gemfile.lock  config.ru     lib/          test/         
366
root@redtry:~/redmine# vi /root/.gem/specs/rubygems.org%80/quick/Marshal.4.8/shoulda-3.3.2.gemspec ^C
367
root@redtry:~/redmine# git branch
368
* master
369
root@redtry:~/redmine# ls
370
Gemfile       Rakefile	config.ru  extra  log	   script
371
Gemfile.lock  app	db	   files  plugins  test
372
README.rdoc   config	doc	   lib	  public   tmp
373
root@redtry:~/redmine# ls -ltr
374
total 104
375
-rw-r--r-- 1 www-data root   275 Dec  2 22:47 Rakefile
376
-rw-r--r-- 1 www-data root   205 Dec  2 22:47 README.rdoc
377
drwxr-xr-x 6 www-data root  4096 Dec  2 22:47 app
378
-rw-r--r-- 1 www-data root   160 Dec  2 22:47 config.ru
379
drwxr-xr-x 5 www-data root  4096 Dec  2 22:47 extra
380
drwxr-xr-x 2 www-data root  4096 Dec  2 22:47 script
381
drwxr-xr-x 3 www-data root  4096 Dec  2 23:15 db
382
drwxr-xr-x 8 www-data root  4096 Dec  3 22:08 public
383
drwxr-xr-x 3 www-data root  4096 Dec  3 22:45 plugins
384
drwxr-xr-x 9 www-data root  4096 Dec  3 22:47 tmp
385
drwxr-xr-x 3 www-data root 36864 Jan  2 10:09 files
386
-rw-r--r-- 1 www-data root  2977 Jan 22 18:33 Gemfile.lock
387
drwxr-xr-x 2 www-data root  4096 Jan 22 18:46 log
388
-rw-r--r-- 1 root     root  2987 Feb 17 13:11 Gemfile
389
drwxr-xr-x 2 www-data root  4096 Feb 17 13:11 doc
390
drwxr-xr-x 5 www-data root  4096 Feb 17 13:11 config
391
drwxr-xr-x 7 www-data root  4096 Feb 17 13:11 lib
392
drwxr-xr-x 9 www-data root  4096 Feb 17 13:11 test
393
root@redtry:~/redmine# vi README.rdoc 
394
root@redtry:~/redmine# git log
395
commit d8e4a8fb320625474e20901b4070763bd697807a
396
Author: Jean-Philippe Lang <jp_lang@yahoo.fr>
397
Date:   Sun Feb 17 11:35:42 2013 +0000
398

    
399
    Use #per_page instead of #items_per_page.
400
    
401
    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11425 e93f8b46-121
402

    
403
commit c17ec1643c005036870b45c7b496bbbb3a9784be
404
Author: Jean-Philippe Lang <jp_lang@yahoo.fr>
405
Date:   Sun Feb 17 11:10:17 2013 +0000
406

    
407
    Fixed that messages are not sorted by last reply (#12243).
408
    
409
    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11424 e93f8b46-121
410

    
411
commit dbf1fed6fbd5d572688c92fd014b96ec21864c63
412
Author: Toshi MARUYAMA <marutosijp2@yahoo.co.jp>
413
Date:   Sun Feb 17 10:17:33 2013 +0000
414

    
415
    replace tabs to spaces at app/controllers/boards_controller.rb
416
    
417
    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11423 e93f8b46-121
418

    
419
root@redtry:~/redmine# ls -l
420
total 104
421
-rw-r--r-- 1 root     root  2987 Feb 17 13:11 Gemfile
422
-rw-r--r-- 1 www-data root  2977 Jan 22 18:33 Gemfile.lock
423
-rw-r--r-- 1 www-data root   205 Dec  2 22:47 README.rdoc
424
-rw-r--r-- 1 www-data root   275 Dec  2 22:47 Rakefile
425
drwxr-xr-x 6 www-data root  4096 Dec  2 22:47 app
426
drwxr-xr-x 5 www-data root  4096 Feb 17 13:11 config
427
-rw-r--r-- 1 www-data root   160 Dec  2 22:47 config.ru
428
drwxr-xr-x 3 www-data root  4096 Dec  2 23:15 db
429
drwxr-xr-x 2 www-data root  4096 Feb 17 13:11 doc
430
drwxr-xr-x 5 www-data root  4096 Dec  2 22:47 extra
431
drwxr-xr-x 3 www-data root 36864 Jan  2 10:09 files
432
drwxr-xr-x 7 www-data root  4096 Feb 17 13:11 lib
433
drwxr-xr-x 2 www-data root  4096 Jan 22 18:46 log
434
drwxr-xr-x 3 www-data root  4096 Dec  3 22:45 plugins
435
drwxr-xr-x 8 www-data root  4096 Dec  3 22:08 public
436
drwxr-xr-x 2 www-data root  4096 Dec  2 22:47 script
437
drwxr-xr-x 9 www-data root  4096 Feb 17 13:11 test
438
drwxr-xr-x 9 www-data root  4096 Dec  3 22:47 tmp
439
root@redtry:~/redmine# rake db:migrate RAILS_ENV=production
440
/var/lib/gems/1.8/gems/bundler-1.1.4/lib/bundler/dsl.rb:75:in `gem': You cannot specify the same gem twice with different version requirements. You specified: shoulda (~> 3.3.2) and shoulda (~> 2.11)
441
root@redtry:~/redmine# ls plugins/*/gem*
442
ls: cannot access plugins/*/gem*: No such file or directory
443
root@redtry:~/redmine# ls plugins/*/Gem*
444
plugins/jl_question/Gemfile
445
root@redtry:~/redmine# vi plugins/jl_question/Gemfile 
446
root@redtry:~/redmine# rake db:migrate RAILS_ENV=production
447
Could not find gem 'rails (= 3.2.12) ruby' in the gems available on this machine.
448
Run `bundle install` to install missing gems.
449
root@redtry:~/redmine# bundle install
450
Fetching gem metadata from http://rubygems.org/.........
451
Fetching gem metadata from http://rubygems.org/.........
452
Fetching gem metadata from http://rubygems.org/..
453
Fetching gem metadata from http://rubygems.org/..
454
Bundler could not find compatible versions for gem "activesupport":
455
  In snapshot (Gemfile.lock):
456
    activesupport (3.2.11)
457

    
458
  In Gemfile:
459
    rails (= 3.2.12) ruby depends on
460
      activesupport (= 3.2.12) ruby
461

    
462
Running `bundle update` will rebuild your snapshot from scratch, using only
463
the gems in your Gemfile, which may resolve the conflict.
464

    
465
root@redtry:~/redmine# bundle update 
466
Fetching gem metadata from http://rubygems.org/.........
467
Fetching gem metadata from http://rubygems.org/.........
468
Fetching gem metadata from http://rubygems.org/..
469
Fetching gem metadata from http://rubygems.org/..
470
Using rake (10.0.3) 
471
Using i18n (0.6.1) 
472
Installing multi_json (1.6.1) 
473
Installing activesupport (3.2.12) 
474
Using builder (3.0.0) 
475
Installing activemodel (3.2.12) 
476
Using erubis (2.7.0) 
477
Using journey (1.0.4) 
478
Installing rack (1.4.5) 
479
Using rack-cache (1.2) 
480
Using rack-test (0.6.2) 
481
Using hike (1.2.1) 
482
Using tilt (1.3.3) 
483
Using sprockets (2.2.2) 
484
Installing actionpack (3.2.12) 
485
Installing mime-types (1.21) 
486
Using polyglot (0.3.3) 
487
Using treetop (1.4.12) 
488
Using mail (2.4.4) 
489
Installing actionmailer (3.2.12) 
490
Using arel (3.0.2) 
491
Using tzinfo (0.3.35) 
492
Installing activerecord (3.2.12) 
493
Installing activeresource (3.2.12) 
494
Using metaclass (0.0.1) 
495
Installing mocha (0.10.5) 
496
Installing bourne (1.1.2) 
497
Using bundler (1.1.4) 
498
Installing nokogiri (1.5.6) with native extensions 
499
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
500

    
501
/usr/bin/ruby1.8 extconf.rb 
502
checking for libxml/parser.h... yes
503
checking for libxslt/xslt.h... no
504
-----
505
libxslt is missing.  please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.
506
-----
507
*** extconf.rb failed ***
508
Could not create Makefile due to some reason, probably lack of
509
necessary libraries and/or headers.  Check the mkmf.log file for more
510
details.  You may need configuration options.
511

    
512
Provided configuration options:
513
	--with-opt-dir
514
	--without-opt-dir
515
	--with-opt-include
516
	--without-opt-include=${opt-dir}/include
517
	--with-opt-lib
518
	--without-opt-lib=${opt-dir}/lib
519
	--with-make-prog
520
	--without-make-prog
521
	--srcdir=.
522
	--curdir
523
	--ruby=/usr/bin/ruby1.8
524
	--with-zlib-dir
525
	--without-zlib-dir
526
	--with-zlib-include
527
	--without-zlib-include=${zlib-dir}/include
528
	--with-zlib-lib
529
	--without-zlib-lib=${zlib-dir}/lib
530
	--with-iconv-dir
531
	--without-iconv-dir
532
	--with-iconv-include
533
	--without-iconv-include=${iconv-dir}/include
534
	--with-iconv-lib
535
	--without-iconv-lib=${iconv-dir}/lib
536
	--with-xml2-dir
537
	--without-xml2-dir
538
	--with-xml2-include
539
	--without-xml2-include=${xml2-dir}/include
540
	--with-xml2-lib
541
	--without-xml2-lib=${xml2-dir}/lib
542
	--with-xslt-dir
543
	--without-xslt-dir
544
	--with-xslt-include
545
	--without-xslt-include=${xslt-dir}/include
546
	--with-xslt-lib
547
	--without-xslt-lib=${xslt-dir}/lib
548
	--with-libxslt-config
549
	--without-libxslt-config
550
	--with-pkg-config
551
	--without-pkg-config
552
	--with-libxml-2.0-config
553
	--without-libxml-2.0-config
554
	--with-libiconv-config
555
	--without-libiconv-config
556

    
557

    
558
Gem files will remain installed in /var/lib/gems/1.8/gems/nokogiri-1.5.6 for inspection.
559
Results logged to /var/lib/gems/1.8/gems/nokogiri-1.5.6/ext/nokogiri/gem_make.out
560
An error occured while installing nokogiri (1.5.6), and Bundler cannot continue.
561
Make sure that `gem install nokogiri -v '1.5.6'` succeeds before bundling.
562
root@redtry:~/redmine# gem install nokogiri -v '1.5.6
563
> ^C
564
root@redtry:~/redmine# gem install nokogiri -v '1.5.6'
565
Building native extensions.  This could take a while...
566
ERROR:  Error installing nokogiri:
567
	ERROR: Failed to build gem native extension.
568

    
569
/usr/bin/ruby1.8 extconf.rb
570
checking for libxml/parser.h... yes
571
checking for libxslt/xslt.h... no
572
-----
573
libxslt is missing.  please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.
574
-----
575
*** extconf.rb failed ***
576
Could not create Makefile due to some reason, probably lack of
577
necessary libraries and/or headers.  Check the mkmf.log file for more
578
details.  You may need configuration options.
579

    
580
Provided configuration options:
581
	--with-opt-dir
582
	--without-opt-dir
583
	--with-opt-include
584
	--without-opt-include=${opt-dir}/include
585
	--with-opt-lib
586
	--without-opt-lib=${opt-dir}/lib
587
	--with-make-prog
588
	--without-make-prog
589
	--srcdir=.
590
	--curdir
591
	--ruby=/usr/bin/ruby1.8
592
	--with-zlib-dir
593
	--without-zlib-dir
594
	--with-zlib-include
595
	--without-zlib-include=${zlib-dir}/include
596
	--with-zlib-lib
597
	--without-zlib-lib=${zlib-dir}/lib
598
	--with-iconv-dir
599
	--without-iconv-dir
600
	--with-iconv-include
601
	--without-iconv-include=${iconv-dir}/include
602
	--with-iconv-lib
603
	--without-iconv-lib=${iconv-dir}/lib
604
	--with-xml2-dir
605
	--without-xml2-dir
606
	--with-xml2-include
607
	--without-xml2-include=${xml2-dir}/include
608
	--with-xml2-lib
609
	--without-xml2-lib=${xml2-dir}/lib
610
	--with-xslt-dir
611
	--without-xslt-dir
612
	--with-xslt-include
613
	--without-xslt-include=${xslt-dir}/include
614
	--with-xslt-lib
615
	--without-xslt-lib=${xslt-dir}/lib
616
	--with-libxslt-config
617
	--without-libxslt-config
618
	--with-pkg-config
619
	--without-pkg-config
620
	--with-libxml-2.0-config
621
	--without-libxml-2.0-config
622
	--with-libiconv-config
623
	--without-libiconv-config
624

    
625

    
626
Gem files will remain installed in /var/lib/gems/1.8/gems/nokogiri-1.5.6 for inspection.
627
Results logged to /var/lib/gems/1.8/gems/nokogiri-1.5.6/ext/nokogiri/gem_make.out
628
root@redtry:~/redmine# apt-get install libxslt-ruby
629
Reading package lists... Done
630
Building dependency tree       
631
Reading state information... Done
632
The following extra packages will be installed:
633
  libxml-ruby1.8 libxslt-ruby1.8 libxslt1.1
634
The following NEW packages will be installed:
635
  libxml-ruby1.8 libxslt-ruby libxslt-ruby1.8 libxslt1.1
636
0 upgraded, 4 newly installed, 0 to remove and 1 not upgraded.
637
Need to get 343 kB of archives.
638
After this operation, 1049 kB of additional disk space will be used.
639
Do you want to continue [Y/n]? 
640
Get:1 http://security.debian.org/ squeeze/updates/main libxslt1.1 i386 1.1.26-6+squeeze2 [240 kB]
641
Get:2 http://ftp.nl.debian.org/debian/ squeeze/main libxml-ruby1.8 i386 1.1.3-2 [74.8 kB]
642
Get:3 http://ftp.nl.debian.org/debian/ squeeze/main libxslt-ruby1.8 i386 0.9.2-5 [16.1 kB]
643
Get:4 http://ftp.nl.debian.org/debian/ squeeze/main libxslt-ruby all 0.9.2-5 [12.1 kB]
644
Fetched 343 kB in 10s (34.0 kB/s)                                              
645
debconf: delaying package configuration, since apt-utils is not installed
646
Selecting previously deselected package libxml-ruby1.8.
647
(Reading database ... 34848 files and directories currently installed.)
648
Unpacking libxml-ruby1.8 (from .../libxml-ruby1.8_1.1.3-2_i386.deb) ...
649
Selecting previously deselected package libxslt1.1.
650
Unpacking libxslt1.1 (from .../libxslt1.1_1.1.26-6+squeeze2_i386.deb) ...
651
Selecting previously deselected package libxslt-ruby1.8.
652
Unpacking libxslt-ruby1.8 (from .../libxslt-ruby1.8_0.9.2-5_i386.deb) ...
653
Selecting previously deselected package libxslt-ruby.
654
Unpacking libxslt-ruby (from .../libxslt-ruby_0.9.2-5_all.deb) ...
655
Setting up libxml-ruby1.8 (1.1.3-2) ...
656
Setting up libxslt1.1 (1.1.26-6+squeeze2) ...
657
Setting up libxslt-ruby1.8 (0.9.2-5) ...
658
Setting up libxslt-ruby (0.9.2-5) ...
659
Counting objects: 1848, done.
660
Compressing objects: 100% (1022/1022), done.
661
Writing objects: 100% (1848/1848), done.
662
Total 1848 (delta 401), reused 1848 (delta 401)
663
root@redtry:~/redmine# gem install nokogiri -v '1.5.6'
664
Building native extensions.  This could take a while...
665
ERROR:  Error installing nokogiri:
666
	ERROR: Failed to build gem native extension.
667

    
668
/usr/bin/ruby1.8 extconf.rb
669
checking for libxml/parser.h... yes
670
checking for libxslt/xslt.h... no
671
-----
672
libxslt is missing.  please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.
673
-----
674
*** extconf.rb failed ***
675
Could not create Makefile due to some reason, probably lack of
676
necessary libraries and/or headers.  Check the mkmf.log file for more
677
details.  You may need configuration options.
678

    
679
Provided configuration options:
680
	--with-opt-dir
681
	--without-opt-dir
682
	--with-opt-include
683
	--without-opt-include=${opt-dir}/include
684
	--with-opt-lib
685
	--without-opt-lib=${opt-dir}/lib
686
	--with-make-prog
687
	--without-make-prog
688
	--srcdir=.
689
	--curdir
690
	--ruby=/usr/bin/ruby1.8
691
	--with-zlib-dir
692
	--without-zlib-dir
693
	--with-zlib-include
694
	--without-zlib-include=${zlib-dir}/include
695
	--with-zlib-lib
696
	--without-zlib-lib=${zlib-dir}/lib
697
	--with-iconv-dir
698
	--without-iconv-dir
699
	--with-iconv-include
700
	--without-iconv-include=${iconv-dir}/include
701
	--with-iconv-lib
702
	--without-iconv-lib=${iconv-dir}/lib
703
	--with-xml2-dir
704
	--without-xml2-dir
705
	--with-xml2-include
706
	--without-xml2-include=${xml2-dir}/include
707
	--with-xml2-lib
708
	--without-xml2-lib=${xml2-dir}/lib
709
	--with-xslt-dir
710
	--without-xslt-dir
711
	--with-xslt-include
712
	--without-xslt-include=${xslt-dir}/include
713
	--with-xslt-lib
714
	--without-xslt-lib=${xslt-dir}/lib
715
	--with-libxslt-config
716
	--without-libxslt-config
717
	--with-pkg-config
718
	--without-pkg-config
719
	--with-libxml-2.0-config
720
	--without-libxml-2.0-config
721
	--with-libiconv-config
722
	--without-libiconv-config
723

    
724

    
725
Gem files will remain installed in /var/lib/gems/1.8/gems/nokogiri-1.5.6 for inspection.
726
Results logged to /var/lib/gems/1.8/gems/nokogiri-1.5.6/ext/nokogiri/gem_make.out
727
root@redtry:~/redmine# apt-get install libxslt1-dev
728
Reading package lists... Done
729
Building dependency tree       
730
Reading state information... Done
731
The following NEW packages will be installed:
732
  libxslt1-dev
733
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
734
Need to get 646 kB of archives.
735
After this operation, 2544 kB of additional disk space will be used.
736
Get:1 http://security.debian.org/ squeeze/updates/main libxslt1-dev i386 1.1.26-6+squeeze2 [646 kB]
737
Fetched 646 kB in 1s (522 kB/s)                       
738
debconf: delaying package configuration, since apt-utils is not installed
739
Selecting previously deselected package libxslt1-dev.
740
(Reading database ... 34924 files and directories currently installed.)
741
Unpacking libxslt1-dev (from .../libxslt1-dev_1.1.26-6+squeeze2_i386.deb) ...
742
Processing triggers for man-db ...
743
Setting up libxslt1-dev (1.1.26-6+squeeze2) ...
744
Counting objects: 1848, done.
745
Compressing objects: 100% (1022/1022), done.
746
Writing objects: 100% (1848/1848), done.
747
Total 1848 (delta 401), reused 1848 (delta 401)
748
root@redtry:~/redmine# gem install nokogiri -v '1.5.6'
749
Building native extensions.  This could take a while...
750
Successfully installed nokogiri-1.5.6
751
1 gem installed
752
Installing ri documentation for nokogiri-1.5.6...
753
Building YARD (yri) index for nokogiri-1.5.6...
754
Installing RDoc documentation for nokogiri-1.5.6...
755
root@redtry:~/redmine# bundle update
756
Fetching gem metadata from http://rubygems.org/.........
757
Fetching gem metadata from http://rubygems.org/.........
758
Fetching gem metadata from http://rubygems.org/..
759
Fetching gem metadata from http://rubygems.org/..
760
Using rake (10.0.3) 
761
Using i18n (0.6.1) 
762
Using multi_json (1.6.1) 
763
Using activesupport (3.2.12) 
764
Using builder (3.0.0) 
765
Using activemodel (3.2.12) 
766
Using erubis (2.7.0) 
767
Using journey (1.0.4) 
768
Using rack (1.4.5) 
769
Using rack-cache (1.2) 
770
Using rack-test (0.6.2) 
771
Using hike (1.2.1) 
772
Using tilt (1.3.3) 
773
Using sprockets (2.2.2) 
774
Using actionpack (3.2.12) 
775
Using mime-types (1.21) 
776
Using polyglot (0.3.3) 
777
Using treetop (1.4.12) 
778
Using mail (2.4.4) 
779
Using actionmailer (3.2.12) 
780
Using arel (3.0.2) 
781
Using tzinfo (0.3.35) 
782
Using activerecord (3.2.12) 
783
Using activeresource (3.2.12) 
784
Using metaclass (0.0.1) 
785
Using mocha (0.10.5) 
786
Using bourne (1.1.2) 
787
Using bundler (1.1.4) 
788
Using nokogiri (1.5.6) 
789
Installing ffi (1.4.0) with native extensions 
790
Installing childprocess (0.3.8) 
791
Installing rubyzip (0.9.9) 
792
Installing websocket (1.0.7) 
793
Installing selenium-webdriver (2.29.0) 
794
Installing xpath (1.0.0) 
795
Installing capybara (2.0.2) 
796
Using coderay (1.0.8) 
797
Using fastercsv (1.5.5) 
798
Using listen (0.7.2) 
799
Installing thor (0.17.0) 
800
Using guard (1.4.0) 
801
Installing test-unit (2.5.4) 
802
Using guard-test (0.7.0) 
803
Installing rack-ssl (1.3.3) 
804
Installing json (1.7.7) with native extensions 
805
Installing rdoc (3.12.1) 
806
Installing railties (3.2.12) 
807
Using jquery-rails (2.0.3) 
808
Using mysql (2.8.1) 
809
Using net-ldap (0.3.1) 
810
Using ruby-openid (2.1.8) 
811
Using rack-openid (1.3.1) 
812
Installing rails (3.2.12) 
813
Using rb-fsevent (0.9.3) 
814
Installing rmagick (2.13.2) with native extensions 
815
Installing shoulda-context (1.0.2) 
816
Installing shoulda-matchers (1.4.2) 
817
Installing shoulda (3.3.2) 
818
Installing yard (0.8.4.1) 
819
Your bundle is updated! Use `bundle show [gemname]` to see where a bundled gem is installed.
820
root@redtry:~/redmine# rake db:migrate RAILS_ENV=production
821
==  AddUniqueIndexOnTokensValue: migrating ====================================
822
-- Adding unique index on tokens, this may take some time...
823
-- add_index(:tokens, :value, {:unique=>true, :name=>"tokens_value"})
824
   -> 0.1779s
825
   -> 0.2008s
826
==  AddUniqueIndexOnTokensValue: migrated (0.2009s) ===========================
827

    
828
==  AddProjectsInheritMembers: migrating ======================================
829
-- add_column(:projects, :inherit_members, :boolean, {:null=>false, :default=>false})
830
   -> 0.0244s
831
==  AddProjectsInheritMembers: migrated (0.0245s) =============================
832

    
833
==  AddUniqueIndexOnCustomFieldsTrackers: migrating ===========================
834
-- index_exists?(:custom_fields_trackers, [:custom_field_id, :tracker_id])
835
   -> 0.0006s
836
-- remove_index(:custom_fields_trackers, [:custom_field_id, :tracker_id])
837
   -> 0.0109s
838
-- add_index(:custom_fields_trackers, [:custom_field_id, :tracker_id], {:unique=>true})
839
   -> 0.0102s
840
==  AddUniqueIndexOnCustomFieldsTrackers: migrated (0.0231s) ==================
841

    
842
==  AddUniqueIndexOnCustomFieldsProjects: migrating ===========================
843
-- index_exists?(:custom_fields_projects, [:custom_field_id, :project_id])
844
   -> 0.0009s
845
-- remove_index(:custom_fields_projects, [:custom_field_id, :project_id])
846
   -> 0.0126s
847
-- add_index(:custom_fields_projects, [:custom_field_id, :project_id], {:unique=>true})
848
   -> 0.0122s
849
==  AddUniqueIndexOnCustomFieldsProjects: migrated (0.0265s) ==================
850

    
851
==  ChangeUsersLastnameLengthTo255: migrating =================================
852
-- change_column(:users, :lastname, :string, {:null=>false, :limit=>255, :default=>""})
853
   -> 0.0349s
854
==  ChangeUsersLastnameLengthTo255: migrated (0.0350s) ========================
855

    
856
==  AddIssuesClosedOn: migrating ==============================================
857
-- add_column(:issues, :closed_on, :datetime, {:default=>nil})
858
   -> 0.1518s
859
==  AddIssuesClosedOn: migrated (0.1519s) =====================================
860

    
861
==  PopulateIssuesClosedOn: migrating =========================================
862
==  PopulateIssuesClosedOn: migrated (0.0559s) ================================
863

    
864
==  RemoveIssuesDefaultFkValues: migrating ====================================
865
-- change_column_default(:issues, :tracker_id, nil)
866
   -> 0.0073s
867
-- change_column_default(:issues, :project_id, nil)
868
   -> 0.0068s
869
-- change_column_default(:issues, :status_id, nil)
870
   -> 0.0068s
871
-- change_column_default(:issues, :assigned_to_id, nil)
872
   -> 0.0068s
873
-- change_column_default(:issues, :priority_id, nil)
874
   -> 0.0075s
875
-- change_column_default(:issues, :author_id, nil)
876
   -> 0.0079s
877
==  RemoveIssuesDefaultFkValues: migrated (0.0437s) ===========================
878

    
879
root@redtry:~/redmine# rake tmp:cache:clear
880
root@redtry:~/redmine# rake tmp:sessions:clear
881
root@redtry:~/redmine# /etc/init.d/apache2 restart
882
Restarting web server: apache2apache2: apr_sockaddr_info_get() failed for redtry
883
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
884
 ... waiting apache2: apr_sockaddr_info_get() failed for redtry
885
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
886
.
887
root@redtry:~/redmine# 
    (1-1/1)