===== test_help_ok =====
trac-admin - The Trac Administration Console %(version)s

Usage: trac-admin </path/to/projenv> [command [subcommand] [option ...]]

Invoking trac-admin without command starts interactive mode.
help
	-- Show documentation

initenv
	-- Create and initialize a new environment interactively

initenv <projectname> <db> <repostype> <repospath>
	-- Create and initialize a new environment from arguments

hotcopy <backupdir>
	-- Make a hot backup copy of an environment

resync
	-- Re-synchronize trac with the repository

resync <rev>
	-- Re-synchronize only the given <rev>

upgrade
	-- Upgrade database to current version

deploy <directory>
	-- Extract static resources from Trac and all plugins.

permission list [user]
	-- List permission rules

permission add <user> <action> [action] [...]
	-- Add a new permission rule

permission remove <user> <action> [action] [...]
	-- Remove permission rule

wiki list
	-- List wiki pages

wiki remove <page>
	-- Remove wiki page

wiki export <page> [file]
	-- Export wiki page to file or stdout

wiki import <page> [file]
	-- Import wiki page from file or stdin

wiki dump <directory>
	-- Export all wiki pages to files named by title

wiki load <directory>
	-- Import all wiki pages from directory

wiki upgrade
	-- Upgrade default wiki pages to current version

ticket remove <number>
	-- Remove ticket

ticket_type list
	-- Show possible ticket types

ticket_type add <value>
	-- Add a ticket type

ticket_type change <value> <newvalue>
	-- Change a ticket type

ticket_type remove <value>
	-- Remove a ticket type

ticket_type order <value> up|down
	-- Move a ticket type up or down in the list

priority list
	-- Show possible ticket priorities

priority add <value>
	-- Add a priority value option

priority change <value> <newvalue>
	-- Change a priority value

priority remove <value>
	-- Remove priority value

priority order <value> up|down
	-- Move a priority value up or down in the list

severity list
	-- Show possible ticket severities

severity add <value>
	-- Add a severity value option

severity change <value> <newvalue>
	-- Change a severity value

severity remove <value>
	-- Remove severity value

severity order <value> up|down
	-- Move a severity value up or down in the list

component list
	-- Show available components

component add <name> <owner>
	-- Add a new component

component rename <name> <newname>
	-- Rename a component

component remove <name>
	-- Remove/uninstall component

component chown <name> <owner>
	-- Change component ownership

version list
	-- Show versions

version add <name> [time]
	-- Add version

version rename <name> <newname>
	-- Rename version

version time <name> <time>
	-- Set version date (Format: "YYYY-MM-DD", "now" or "")

version remove <name>
	-- Remove version

milestone list
	-- Show milestones

milestone add <name> [due]
	-- Add milestone

milestone rename <name> <newname>
	-- Rename milestone

milestone due <name> <due>
	-- Set milestone due date (Format: "YYYY-MM-DD", "now" or "")

milestone completed <name> <completed>
	-- Set milestone completed date (Format: "YYYY-MM-DD", "now" or "")

milestone remove <name>
	-- Remove milestone

resolution list
	-- Show possible ticket resolutions

resolution add <value>
	-- Add a resolution value option

resolution change <value> <newvalue>
	-- Change a resolution value

resolution remove <value>
	-- Remove resolution value

resolution order <value> up|down
	-- Move a resolution value up or down in the list

===== test_permission_list_ok =====

User           Action
------------------------------
anonymous      BROWSER_VIEW
anonymous      CHANGESET_VIEW
anonymous      FILE_VIEW
anonymous      LOG_VIEW
anonymous      MILESTONE_VIEW
anonymous      REPORT_SQL_VIEW
anonymous      REPORT_VIEW
anonymous      ROADMAP_VIEW
anonymous      SEARCH_VIEW
anonymous      TICKET_VIEW
anonymous      TIMELINE_VIEW
anonymous      WIKI_VIEW
authenticated  TICKET_CREATE
authenticated  TICKET_MODIFY
authenticated  WIKI_CREATE
authenticated  WIKI_MODIFY


Available actions:
 BROWSER_VIEW, CHANGESET_VIEW, CONFIG_VIEW, EMAIL_VIEW, FILE_VIEW,
 LOG_VIEW, MILESTONE_ADMIN, MILESTONE_CREATE, MILESTONE_DELETE,
 MILESTONE_MODIFY, MILESTONE_VIEW, PERMISSION_ADMIN, PERMISSION_GRANT,
 PERMISSION_REVOKE, REPORT_ADMIN, REPORT_CREATE, REPORT_DELETE,
 REPORT_MODIFY, REPORT_SQL_VIEW, REPORT_VIEW, ROADMAP_ADMIN, ROADMAP_VIEW,
 SEARCH_VIEW, TICKET_ADMIN, TICKET_APPEND, TICKET_CHGPROP, TICKET_CREATE,
 TICKET_EDIT_CC, TICKET_EDIT_DESCRIPTION, TICKET_MODIFY, TICKET_VIEW,
 TIMELINE_VIEW, TRAC_ADMIN, WIKI_ADMIN, WIKI_CREATE, WIKI_DELETE,
 WIKI_MODIFY, WIKI_VIEW

===== test_permission_add_one_action_ok =====

User           Action
------------------------------
anonymous      BROWSER_VIEW
anonymous      CHANGESET_VIEW
anonymous      FILE_VIEW
anonymous      LOG_VIEW
anonymous      MILESTONE_VIEW
anonymous      REPORT_SQL_VIEW
anonymous      REPORT_VIEW
anonymous      ROADMAP_VIEW
anonymous      SEARCH_VIEW
anonymous      TICKET_VIEW
anonymous      TIMELINE_VIEW
anonymous      WIKI_VIEW
authenticated  TICKET_CREATE
authenticated  TICKET_MODIFY
authenticated  WIKI_CREATE
authenticated  WIKI_MODIFY
test_user      WIKI_VIEW


Available actions:
 BROWSER_VIEW, CHANGESET_VIEW, CONFIG_VIEW, EMAIL_VIEW, FILE_VIEW,
 LOG_VIEW, MILESTONE_ADMIN, MILESTONE_CREATE, MILESTONE_DELETE,
 MILESTONE_MODIFY, MILESTONE_VIEW, PERMISSION_ADMIN, PERMISSION_GRANT,
 PERMISSION_REVOKE, REPORT_ADMIN, REPORT_CREATE, REPORT_DELETE,
 REPORT_MODIFY, REPORT_SQL_VIEW, REPORT_VIEW, ROADMAP_ADMIN, ROADMAP_VIEW,
 SEARCH_VIEW, TICKET_ADMIN, TICKET_APPEND, TICKET_CHGPROP, TICKET_CREATE,
 TICKET_EDIT_CC, TICKET_EDIT_DESCRIPTION, TICKET_MODIFY, TICKET_VIEW,
 TIMELINE_VIEW, TRAC_ADMIN, WIKI_ADMIN, WIKI_CREATE, WIKI_DELETE,
 WIKI_MODIFY, WIKI_VIEW

===== test_permission_add_multiple_actions_ok =====

User           Action
------------------------------
anonymous      BROWSER_VIEW
anonymous      CHANGESET_VIEW
anonymous      FILE_VIEW
anonymous      LOG_VIEW
anonymous      MILESTONE_VIEW
anonymous      REPORT_SQL_VIEW
anonymous      REPORT_VIEW
anonymous      ROADMAP_VIEW
anonymous      SEARCH_VIEW
anonymous      TICKET_VIEW
anonymous      TIMELINE_VIEW
anonymous      WIKI_VIEW
authenticated  TICKET_CREATE
authenticated  TICKET_MODIFY
authenticated  WIKI_CREATE
authenticated  WIKI_MODIFY
test_user      FILE_VIEW      
test_user      LOG_VIEW       


Available actions:
 BROWSER_VIEW, CHANGESET_VIEW, CONFIG_VIEW, EMAIL_VIEW, FILE_VIEW,
 LOG_VIEW, MILESTONE_ADMIN, MILESTONE_CREATE, MILESTONE_DELETE,
 MILESTONE_MODIFY, MILESTONE_VIEW, PERMISSION_ADMIN, PERMISSION_GRANT,
 PERMISSION_REVOKE, REPORT_ADMIN, REPORT_CREATE, REPORT_DELETE,
 REPORT_MODIFY, REPORT_SQL_VIEW, REPORT_VIEW, ROADMAP_ADMIN, ROADMAP_VIEW,
 SEARCH_VIEW, TICKET_ADMIN, TICKET_APPEND, TICKET_CHGPROP, TICKET_CREATE,
 TICKET_EDIT_CC, TICKET_EDIT_DESCRIPTION, TICKET_MODIFY, TICKET_VIEW,
 TIMELINE_VIEW, TRAC_ADMIN, WIKI_ADMIN, WIKI_CREATE, WIKI_DELETE,
 WIKI_MODIFY, WIKI_VIEW

===== test_permission_remove_one_action_ok =====

User           Action
------------------------------
anonymous      BROWSER_VIEW
anonymous      CHANGESET_VIEW
anonymous      FILE_VIEW
anonymous      LOG_VIEW
anonymous      MILESTONE_VIEW
anonymous      REPORT_SQL_VIEW
anonymous      REPORT_VIEW
anonymous      ROADMAP_VIEW
anonymous      SEARCH_VIEW
anonymous      TICKET_VIEW
anonymous      TIMELINE_VIEW
anonymous      WIKI_VIEW
authenticated  TICKET_CREATE
authenticated  TICKET_MODIFY
authenticated  WIKI_CREATE
authenticated  WIKI_MODIFY


Available actions:
 BROWSER_VIEW, CHANGESET_VIEW, CONFIG_VIEW, EMAIL_VIEW, FILE_VIEW,
 LOG_VIEW, MILESTONE_ADMIN, MILESTONE_CREATE, MILESTONE_DELETE,
 MILESTONE_MODIFY, MILESTONE_VIEW, PERMISSION_ADMIN, PERMISSION_GRANT,
 PERMISSION_REVOKE, REPORT_ADMIN, REPORT_CREATE, REPORT_DELETE,
 REPORT_MODIFY, REPORT_SQL_VIEW, REPORT_VIEW, ROADMAP_ADMIN, ROADMAP_VIEW,
 SEARCH_VIEW, TICKET_ADMIN, TICKET_APPEND, TICKET_CHGPROP, TICKET_CREATE,
 TICKET_EDIT_CC, TICKET_EDIT_DESCRIPTION, TICKET_MODIFY, TICKET_VIEW,
 TIMELINE_VIEW, TRAC_ADMIN, WIKI_ADMIN, WIKI_CREATE, WIKI_DELETE,
 WIKI_MODIFY, WIKI_VIEW

===== test_permission_remove_multiple_actions_ok =====

User           Action
------------------------------
anonymous      BROWSER_VIEW
anonymous      CHANGESET_VIEW
anonymous      FILE_VIEW
anonymous      LOG_VIEW
anonymous      MILESTONE_VIEW
anonymous      REPORT_SQL_VIEW
anonymous      REPORT_VIEW
anonymous      ROADMAP_VIEW
anonymous      SEARCH_VIEW
anonymous      TICKET_VIEW
anonymous      TIMELINE_VIEW
anonymous      WIKI_VIEW
authenticated  TICKET_CREATE
authenticated  TICKET_MODIFY
authenticated  WIKI_CREATE
authenticated  WIKI_MODIFY


Available actions:
 BROWSER_VIEW, CHANGESET_VIEW, CONFIG_VIEW, EMAIL_VIEW, FILE_VIEW,
 LOG_VIEW, MILESTONE_ADMIN, MILESTONE_CREATE, MILESTONE_DELETE,
 MILESTONE_MODIFY, MILESTONE_VIEW, PERMISSION_ADMIN, PERMISSION_GRANT,
 PERMISSION_REVOKE, REPORT_ADMIN, REPORT_CREATE, REPORT_DELETE,
 REPORT_MODIFY, REPORT_SQL_VIEW, REPORT_VIEW, ROADMAP_ADMIN, ROADMAP_VIEW,
 SEARCH_VIEW, TICKET_ADMIN, TICKET_APPEND, TICKET_CHGPROP, TICKET_CREATE,
 TICKET_EDIT_CC, TICKET_EDIT_DESCRIPTION, TICKET_MODIFY, TICKET_VIEW,
 TIMELINE_VIEW, TRAC_ADMIN, WIKI_ADMIN, WIKI_CREATE, WIKI_DELETE,
 WIKI_MODIFY, WIKI_VIEW

===== test_component_list_ok =====

Name        Owner   
--------------------
component1  somebody
component2  somebody

===== test_component_add_ok =====

Name           Owner   
-----------------------
component1     somebody
component2     somebody
new_component  new_user

===== test_component_add_error_already_exists =====
IntegrityError: column name is not unique
===== test_component_rename_ok =====

Name          Owner   
----------------------
changed_name  somebody
component2    somebody

===== test_component_rename_error_bad_component =====
Command failed: Component bad_component does not exist.
===== test_component_rename_error_bad_new_name =====
IntegrityError: column name is not unique
===== test_component_chown_ok =====

Name        Owner        
-------------------------
component1  somebody     
component2  changed_owner

===== test_component_chown_error_bad_component =====
Command failed: Component bad_component does not exist.
===== test_component_remove_ok =====

Name        Owner   
--------------------
component2  somebody

===== test_component_remove_error_bad_component =====
Command failed: Component bad_component does not exist.
===== test_ticket_type_list_ok =====

Possible Values
---------------
defect
enhancement
task

===== test_ticket_type_add_ok =====

Possible Values
---------------
defect
enhancement
task
new_type

===== test_ticket_type_add_error_already_exists =====
IntegrityError: columns type, name are not unique
===== test_ticket_type_change_ok =====

Possible Values
---------------
bug
enhancement
task

===== test_ticket_type_change_error_bad_type =====
Command failed: ticket_type bad_type does not exist.
===== test_ticket_type_change_error_bad_new_name =====
IntegrityError: columns type, name are not unique
===== test_ticket_type_remove_ok =====

Possible Values
---------------
defect
enhancement

===== test_ticket_type_remove_error_bad_type =====
Command failed: ticket_type bad_type does not exist.
===== test_ticket_type_order_down_ok =====

Possible Values
---------------
enhancement
defect
task

===== test_ticket_type_order_up_ok =====

Possible Values
---------------
enhancement
defect
task

===== test_ticket_type_order_error_bad_type =====
Command failed: ticket_type bad_type does not exist.
===== test_priority_list_ok =====

Possible Values
---------------
blocker        
critical       
major          
minor          
trivial    

===== test_priority_add_ok =====

Possible Values
---------------
blocker        
critical       
major          
minor          
trivial    
new_priority   

===== test_priority_add_many_ok =====

Possible Values
---------------
blocker        
critical       
major          
minor          
trivial    
p0            
p1            
p2            
p3            
p4            
p5            
p6            
p7            
p8            
p9            
p10           

===== test_priority_add_error_already_exists =====
IntegrityError: columns type, name are not unique
===== test_priority_change_ok =====

Possible Values
---------------
blocker        
critical       
normal
minor          
trivial    

===== test_priority_change_error_bad_priority =====
Command failed: priority bad_priority does not exist.
===== test_priority_change_error_bad_new_name =====
IntegrityError: columns type, name are not unique
===== test_priority_remove_ok =====

Possible Values
---------------
blocker        
critical       
minor          
trivial    

===== test_priority_remove_error_bad_priority =====
Command failed: priority bad_priority does not exist.
===== test_priority_order_down_ok =====

Possible Values
---------------
critical
blocker
major
minor
trivial

===== test_priority_order_up_ok =====

Possible Values
---------------
critical
blocker
major
minor
trivial

===== test_priority_order_error_bad_priority =====
Command failed: priority bad_priority does not exist.
===== test_severity_list_ok =====

Possible Values
---------------

===== test_severity_add_ok =====

Possible Values
---------------
new_severity   

===== test_severity_add_error_already_exists =====
IntegrityError: columns type, name are not unique
===== test_severity_change_ok =====

Possible Values 
----------------
end-of-the-world

===== test_severity_change_error_bad_severity =====
Command failed: severity bad_severity does not exist.
===== test_severity_change_error_bad_new_name =====
IntegrityError: columns type, name are not unique
===== test_severity_remove_ok =====

Possible Values
---------------

===== test_severity_remove_error_bad_severity =====
Command failed: severity bad_severity does not exist.
===== test_severity_order_down_ok =====

Possible Values
---------------
bar
foo

===== test_severity_order_up_ok =====

Possible Values
---------------
bar
foo

===== test_severity_order_error_bad_severity =====
Command failed: severity bad_severity does not exist.
===== test_version_list_ok =====

Name  Time
----------
2.0       
1.0       

===== test_version_add_ok =====

Name  Time                    
----------------
2.0                           
1.0                           
9.9   2004-01-11

===== test_version_add_error_already_exists =====
IntegrityError: column name is not unique
===== test_version_rename_ok =====

Name  Time
----------
9.9       
2.0       

===== test_version_rename_error_bad_version =====
Command failed: Version bad_version does not exist.
===== test_version_time_ok =====

Name  Time                    
----------------
1.0                           
2.0   2004-01-11

===== test_version_time_unset_ok =====

Name  Time                    
----------
2.0                           
1.0                           

===== test_version_time_error_bad_version =====
Command failed: Version bad_version does not exist.
===== test_version_remove_ok =====

Name  Time
----------
2.0       

===== test_version_remove_error_bad_version =====
Command failed: Version bad_version does not exist.
===== test_milestone_list_ok =====

Name        Due  Completed
--------------------------
milestone1
milestone2
milestone3
milestone4

===== test_milestone_add_ok =====

Name           Due         Completed
------------------------------------
new_milestone  2004-01-11
milestone1
milestone2
milestone3
milestone4

===== test_milestone_add_utf8_ok =====

Name        Due         Completed
---------------------------------
état_final  2004-01-11
milestone1
milestone2
milestone3
milestone4

===== test_milestone_add_error_already_exists =====
IntegrityError: column name is not unique
===== test_milestone_rename_ok =====

Name               Due  Completed
---------------------------------
changed_milestone
milestone2
milestone3
milestone4

===== test_milestone_rename_error_bad_milestone =====
Command failed: Milestone bad_milestone does not exist.
===== test_milestone_due_ok =====

Name        Due         Completed
---------------------------------
milestone2  2004-01-11
milestone1
milestone3
milestone4

===== test_milestone_due_unset_ok =====

Name        Due  Completed
--------------------------
milestone1
milestone2
milestone3
milestone4

===== test_milestone_due_error_bad_milestone =====
Command failed: Milestone bad_milestone does not exist.
===== test_milestone_completed_ok =====

Name        Due  Completed
------------------------------------
milestone2       2004-01-11 00:00:00
milestone1
milestone3
milestone4

===== test_milestone_completed_error_bad_milestone =====
Command failed: Milestone bad_milestone does not exist.
===== test_milestone_remove_ok =====

Name        Due  Completed
--------------------------
milestone1
milestone2
milestone4

===== test_milestone_remove_error_bad_milestone =====
Command failed: Milestone bad_milestone does not exist.
===== test_backslash_use_ok =====

Name  Time
----------
\
2.0       
1.0       

