Project

General

Profile

Actions

Defect #43001

closed

6.0.6 release zip file use Windows CRLF

Added by Kevin Zhang 20 days ago. Updated 17 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Upgrade 6.0.3 to 6.0.6, there is a warning message:

[root@iZj6cde3hmkfzbxhnph0u9Z redmine-6.0.6]# bundle exec rails server -e production -d
/usr/local/rvm/rubies/ruby-3.2.3/bin/ruby: warning: shebang line ending with \r may cause problems
=> Booting Puma
=> Rails 7.2.2.1 application starting in production 
=> Run `bin/rails server --help` for more startup options

check with

cat -A

redmine-6.0.6.zip use windows CRLF
redmine-6.0.6.tar.gz use Linux CRLF

(PS 6.0.3 both use Linux CRLF)


Files

clipboard-202507142321-mn3zr.png (507 KB) clipboard-202507142321-mn3zr.png Marius BĂLTEANU, 2025-07-14 22:21
Actions #1

Updated by Holger Just 18 days ago

  • Assignee set to Marius BĂLTEANU

Could you you check this, Marius?

Actions #2

Updated by Marius BĂLTEANU 18 days ago

The script that creates the archives is not made / maintained by me, it is an automation made by Jean-Phillipe.

I took a look now on multiple archives and the behaviour is consistent:
  • zip archives have Windows line endings (CRLF)
  • tar.gz archives have Linux line endings (LF)

I checked both zip and tar.gz archives for the following versions: 4.2.11, 5.0.3, 5.1.9, 6.0.0, 6.0.3, 6.0.4.

Please see the below output 6.0.3:

Can you check again if 6.0.3.zip have Linux line endings (LF)?

Actions #3

Updated by Kevin Zhang 17 days ago

I download the 6.0.3.zip and check it again, it use the Windows CRLF.

Actions #4

Updated by Kevin Zhang 17 days ago

When I installed the 6.0.3 version, mybe I used the 6.0.3.tar.gz at that time. Sorry for the inconvenience

Check the 6.0.3.zip file like this:

[root@iZj6cde3hmkfzbxhnph0u9Z test]# ls -al
total 15620
drwxr-xr-x   4 root root     123 Jul 15 09:21 .
drwxrwxrwt.  5 root root     209 Jul 15 09:24 ..
drwxr-xr-x  18 root root    4096 Jan 29 15:55 redmine-6.0.3
-rw-r--r--   1 root root 5320116 Jan 29 15:55 redmine-6.0.3.zip
drwxr-xr-x  18 root root    4096 Mar 11 07:30 redmine-6.0.4
-rw-r--r--   1 root root 5325882 Mar 11 07:30 redmine-6.0.4.zip
-rw-r--r--   1 root root 5335739 Jul  8 05:05 redmine-6.0.6.zip
[root@iZj6cde3hmkfzbxhnph0u9Z test]# cat -A redmine-6.0.3/app/controllers/my_controller.rb 
# frozen_string_literal: true^M$
^M$
# Redmine - project management software^M$
# Copyright (C) 2006-  Jean-Philippe Lang^M$
#^M$
# This program is free software; you can redistribute it and/or^M$
# modify it under the terms of the GNU General Public License^M$
# as published by the Free Software Foundation; either version 2^M$
# of the License, or (at your option) any later version.^M$
#^M$
# This program is distributed in the hope that it will be useful,^M$
# but WITHOUT ANY WARRANTY; without even the implied warranty of^M$
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the^M$

Actions #5

Updated by Marius BĂLTEANU 17 days ago

  • Status changed from Needs feedback to Closed
  • Resolution set to Invalid

Thanks, closing this!

Actions

Also available in: Atom PDF