Patch #3387
Add plugins to script/about
| Status: | Closed | Start date: | 2009-05-18 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | Eric Davis | % Done: | 0% |
|
| Category: | Plugin API | |||
| Target version: | 0.8.5 |
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?
Associated revisions
Add plugins information to script/about (#3387).
Converted script/about to use Unix line ending. It has DOS line endings and would fail.
(#3387)
History
Updated by Mischa The Evil over 2 years ago
Eric Davis wrote:
Would anyone else find this useful?
+10! :)
Updated by Gregor Bader over 2 years ago
+1
But it would be nice if this information is displayed on the /admin/info page.
Updated by Nanda Palaniswamy over 2 years ago
+1
Updated by Ollivier Robert over 2 years ago
Gregor Bader wrote:
+1
But it would be nice if this information is displayed on the /admin/info page.
+1 to both.
Updated by Eric Davis over 2 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.
Updated by Jean-Philippe Lang over 2 years ago
- Status changed from New to Resolved
- Target version set to 0.8.5
Committed in r2766.
Updated by Mischa The Evil over 2 years ago
Updated by Ammler _ over 2 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
Updated by Ammler _ over 2 years ago
(output is after I defined a database for development too)
Updated by Eric Davis over 2 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.
Updated by Mischa The Evil over 2 years ago
Updated by Jean-Philippe Lang over 2 years ago
- Status changed from Resolved to Closed
Merged in 0.8-stable in r2884.