Project

General

Profile

Actions

Patch #3387

closed

Add plugins to script/about

Added by Eric Davis almost 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Plugin API
Target version:
Start date:
2009-05-18
Due date:
% Done:

0%

Estimated time:

Description

script/about is the fastest way to get information about a specific Redmine environment. This patch adds some information to script/about to print out a list of all the installed plugins and their versions.

Example output:

About your application's environment
Ruby version              1.8.6 (i486-linux)
RubyGems version          1.3.1
Rails version             2.2.2
Active Record version     2.2.2
Action Pack version       2.2.2
Active Resource version   2.2.2
Action Mailer version     2.2.2
Active Support version    2.2.2
Application root          /home/edavis/dev/redmine/redmine-core
Environment               development
Database adapter          mysql
Database schema version   20090518163007

About your Redmine plugins
Redmine Hoptoad Server plugin          0.0.1
Redmine Exception Handler plugin       0.2.0
Little Stream Software Design plugin   0.1.0
Redmine Graphs plugin                  0.1.0
Redmine Schedules plugin               0.4.1
Redmine My Widgets plugin              0.1.0
Rate Plugin                            0.1.0
Download Counter                       0.1.0

Would anyone else find this useful?


Files

Actions #1

Updated by Mischa The Evil almost 15 years ago

Eric Davis wrote:

Would anyone else find this useful?

+10! :)

Actions #2

Updated by Gregor Bader almost 15 years ago

+1
But it would be nice if this information is displayed on the /admin/info page.

Actions #3

Updated by Nanda P almost 15 years ago

+1

Actions #4

Updated by Ollivier Robert almost 15 years ago

Gregor Bader wrote:

+1
But it would be nice if this information is displayed on the /admin/info page.

+1 to both.

Actions #5

Updated by Eric Davis almost 15 years ago

Gregor Bader wrote:

But it would be nice if this information is displayed on the /admin/info page.

It's in /admin/plugins so I don't think it needs to be duplicated.

Actions #6

Updated by Jean-Philippe Lang almost 15 years ago

  • Status changed from New to Resolved
  • Target version set to 0.8.5

Committed in r2766.

Actions #7

Updated by Mischa The Evil almost 15 years ago

Jean-Philippe Lang wrote:

Committed in r2766.

After r2766 it seems impossible to run the script like this:

$ ./script/about

It results in the following output:

: No such file or directory

Running the script like following does work:

$ ruby script/about

Regards,

Mischa.

Actions #8

Updated by Ammler _ almost 15 years ago

It seems not possible to run the script without development environment:

redmine@mozart:~/trunk> svnversion
2778
redmine@mozart:~/trunk> ruby script/about -e production
About your application's environment
Ruby version              1.8.6 (i586-linux)
RubyGems version          1.3.1
Rails version             2.2.2
Active Record version     2.2.2
Action Pack version       2.2.2
Active Resource version   2.2.2
Action Mailer version     2.2.2
Active Support version    2.2.2
Application root          /home/redmine/trunk
Environment               development
Database adapter          mysql
Database schema version   20090503121510

About your Redmine plugins
Embedded                  0.0.1
Google Analytics plugin   0.2.0
Redmine Collapse plugin   0.2.1
Redmine link              0.1.0
Redmine Graphs plugin     0.1.0

Actions #9

Updated by Ammler _ almost 15 years ago

(output is after I defined a database for development too)

Actions #10

Updated by Eric Davis almost 15 years ago

It looks like the issue was caused by DOS line endings, converting them to unix line endings fixed script/about for me. Mischa, can you retest using the fixed in r2783.

Actions #11

Updated by Mischa The Evil almost 15 years ago

Eric Davis wrote:

It looks like the issue was caused by DOS line endings, converting them to unix line endings fixed script/about for me. Mischa, can you retest using the fixed in r2783.

Just checked it with Redmine trunk r2783 and can confirm that the issue is solved by the fix.

Thanks.

Actions #12

Updated by Jean-Philippe Lang over 14 years ago

  • Status changed from Resolved to Closed

Merged in 0.8-stable in r2884.

Actions

Also available in: Atom PDF