Patch #3387
closed
Add plugins to script/about
Added by Eric Davis over 15 years ago.
Updated over 15 years ago.
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
Eric Davis wrote:
Would anyone else find this useful?
+10! :)
+1
But it would be nice if this information is displayed on the /admin/info page.
Gregor Bader wrote:
+1
But it would be nice if this information is displayed on the /admin/info page.
+1 to both.
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.
- Status changed from New to Resolved
- Target version set to 0.8.5
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.
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
(output is after I defined a database for development too)
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.
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.
- Status changed from Resolved to Closed
Merged in 0.8-stable in r2884.
Also available in: Atom
PDF