#518: Help (trac-admin) command for products - after #475
---------------------------+--------------------------------
Reporter: olemis | Owner: olemis
Type: enhancement | Status: accepted
Priority: major | Milestone: Release 6
Component: multiproduct | Version:
Resolution: | Keywords: trac-admin command
---------------------------+--------------------------------
Comment (by olemis):
[attachment:t518_r1480224_product_trac_admin_help.diff Attached patch]
implements `help` command in product scope [http://goo.gl/XiNpi suggested
in bloodhound-dev ML] . Details :
{{{#!sh
$ hg qapplied
t518/t518_r1480224_product_trac_admin_help.diff
$ hg log -r qparent --template="[r{svnrev}] - {desc}\n"
[r1480224] - Translate SELECT part of CREATE TABLE ... AS SELECT ...
queries.
Fixes an issue where some product plugin tables were prepopulated with
rows from global product.
}}}
Sample admin session :
{{{#!sh
$ trac-admin /path/to/trac/env/
Welcome to trac-admin 1.0.1
Interactive Trac administration console.
Copyright (C) 2003-2013 Edgewall Software
Type: '?' or 'help' for help on commands.
Trac [/path/to/trac/env]> product admin test help
trac-admin - The Trac Administration Console 1.0.1
help Show documentation
initenv Create and initialize a new environment
attachment add Attach a file to a resource
attachment export Export an attachment from a resource to a file or
stdout
attachment list List attachments of a resource
attachment remove Remove an attachment from a resource
changeset added Notify trac about changesets added to a repository
changeset modified Notify trac about changesets modified in a repository
component add Add a new component
component chown Change component ownership
component list Show available components
component remove Remove/uninstall a component
component rename Rename a component
config get Get the value of the given option in "trac.ini"
config remove Remove the specified option from "trac.ini"
config set Set the value for the given option in "trac.ini"
deploy Extract static resources from Trac and all plugins
devfixture dump Dumps database to stdout in a form suitable for
reloading
devfixture load Loads database fixture from json dump file
hotcopy Make a hot backup copy of an environment
milestone add Add milestone
milestone completed Set milestone complete date
milestone due Set milestone due date
milestone list Show milestones
milestone remove Remove milestone
milestone rename Rename milestone
permission add Add a new permission rule
permission export Export permission rules to a file or stdout as CSV
permission import Import permission rules from a file or stdin as CSV
permission list List permission rules
permission remove Remove a permission rule
priority add Add a priority value option
priority change Change a priority value
priority list Show possible ticket priorities
priority order Move a priority value up or down in the list
priority remove Remove a priority value
repository add Add a source repository
repository alias Create an alias for a repository
repository list List source repositories
repository remove Remove a source repository
repository resync Re-synchronize trac with repositories
repository set Set an attribute of a repository
repository sync Resume synchronization of repositories
resolution add Add a resolution value option
resolution change Change a resolution value
resolution list Show possible ticket resolutions
resolution order Move a resolution value up or down in the list
resolution remove Remove a resolution value
session add Create a session for the given sid
session delete Delete the session of the specified sid
session list List the name and email for the given sids
session purge Purge all anonymous sessions older than the given age
session set Set the name or email attribute of the given sid
severity add Add a severity value option
severity change Change a severity value
severity list Show possible ticket severities
severity order Move a severity value up or down in the list
severity remove Remove a severity value
ticket remove Remove ticket
ticket_type add Add a ticket type
ticket_type change Change a ticket type
ticket_type list Show possible ticket types
ticket_type order Move a ticket type up or down in the list
ticket_type remove Remove a ticket type
upgrade Upgrade database to current version
version add Add version
version list Show versions
version remove Remove version
version rename Rename version
version time Set version date
wiki bh-upgrade Move Trac* wiki pages to Guide/*
wiki dump Export wiki pages to files named by title
wiki export Export wiki page to file or stdout
wiki import Import wiki page from file or stdin
wiki list List wiki pages
wiki load Import wiki pages from files
wiki remove Remove wiki page
wiki rename Rename wiki page
wiki replace Replace the content of wiki pages from files
(DANGEROUS!)
wiki upgrade Upgrade default wiki pages to current version
Trac [/path/to/trac/env]> product admin test help version
version add <name> [time]
Add version
version list
Show versions
version remove <name>
Remove version
version rename <name> <newname>
Rename version
version time <name> <time>
Set version date
Trac [/path/to/trac/env]>
}}}
--
Ticket URL: <https://issues.apache.org/bloodhound/ticket/518#comment:3>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker