- Publicity: Public Only All
bug-tracker-procs.tcl
Bug Tracker Library
- Location:
- packages/bug-tracker/tcl/bug-tracker-procs.tcl
- Created:
- 2002-05-03
- Author:
- Lars Pind
- CVS Identification:
bug-tracker-procs.tcl,v 1.13.2.7 2003/03/05 18:13:39 lars Exp
Procedures in this file
- bug_tracker::access_policy (public)
- bug_tracker::assignee_get_filter_data (public)
- bug_tracker::assignee_get_filter_data_not_cached (public)
- bug_tracker::assignee_get_options (public)
- bug_tracker::bug_convert_comment_to_html (public)
- bug_tracker::bug_convert_comment_to_text (public)
- bug_tracker::bugs_exist_p (public)
- bug_tracker::bugs_exist_p_not_cached (public)
- bug_tracker::bugs_exist_p_set_true (public)
- bug_tracker::category_get_filter_data (public)
- bug_tracker::category_get_filter_data_not_cached (public)
- bug_tracker::category_get_options (public)
- bug_tracker::category_heading (public)
- bug_tracker::category_parent_element (public)
- bug_tracker::category_parent_heading (public)
- bug_tracker::category_types (public)
- bug_tracker::component_get_filter_data (public)
- bug_tracker::component_get_filter_data_not_cached (public)
- bug_tracker::component_get_name (public)
- bug_tracker::component_get_url_name (public)
- bug_tracker::components_flush (public)
- bug_tracker::components_get_options (public)
- bug_tracker::components_get_options_not_cached (public)
- bug_tracker::components_get_url_names (public)
- bug_tracker::components_get_url_names_not_cached (public)
- bug_tracker::conn (public)
- bug_tracker::delete_all_project_keywords (public)
- bug_tracker::get_bug_id (public)
- bug_tracker::get_bug_links (public)
- bug_tracker::get_component_keyword (public)
- bug_tracker::get_default_configurations (public)
- bug_tracker::get_default_keyword (public)
- bug_tracker::get_default_keyword_flush (public)
- bug_tracker::get_default_keyword_not_cached (private)
- bug_tracker::get_export_variables (public)
- bug_tracker::get_keywords (private)
- bug_tracker::get_keywords_flush (private)
- bug_tracker::get_keywords_not_cached (private)
- bug_tracker::get_mapped_bugs (public)
- bug_tracker::get_page_variables (public)
- bug_tracker::get_patch_links (public)
- bug_tracker::get_patch_submitter (public)
- bug_tracker::get_pretty_names (public)
- bug_tracker::get_project_info (public)
- bug_tracker::get_project_info_flush (public)
- bug_tracker::get_project_info_internal (public)
- bug_tracker::get_related_files_links (public)
- bug_tracker::get_uploaded_patch_file_content (public)
- bug_tracker::get_user_prefs (public)
- bug_tracker::get_user_prefs_flush (public)
- bug_tracker::get_user_prefs_internal (public)
- bug_tracker::grant_direct_read_permission (private)
- bug_tracker::inherit (private)
- bug_tracker::install_keywords_setup (public)
- bug_tracker::install_parameters_setup (public)
- bug_tracker::map_patch_to_bug (public)
- bug_tracker::patch_action_pretty (public)
- bug_tracker::patch_status_get_options (public)
- bug_tracker::patch_status_pretty (public)
- bug_tracker::patches_p (public)
- bug_tracker::project_delete (public)
- bug_tracker::project_new (public)
- bug_tracker::related_files_p (public)
- bug_tracker::resolution_get_options (public)
- bug_tracker::resolution_pretty (public)
- bug_tracker::security_violation (public)
- bug_tracker::set_access_policy (private)
- bug_tracker::set_default_keyword (public)
- bug_tracker::set_project_name (public)
- bug_tracker::state_get_filter_data (public)
- bug_tracker::state_get_filter_data_not_cached (public)
- bug_tracker::status_get_options (public)
- bug_tracker::status_pretty (public)
- bug_tracker::unmap_patch_from_bug (public)
- bug_tracker::update_patch_status (public)
- bug_tracker::user_bugs_only_p (public)
- bug_tracker::user_bugs_only_where_clause (private)
- bug_tracker::users_get_options (public)
- bug_tracker::version_get_filter_data (public)
- bug_tracker::version_get_filter_data_not_cached (public)
- bug_tracker::version_get_name (public)
- bug_tracker::version_get_options (public)
- bug_tracker::version_get_options_not_cached (public)
- bug_tracker::versions_flush (public)
- bug_tracker::versions_p (public)
Detailed information
bug_tracker::access_policy (public)
bug_tracker::access_policy
Detect and return the current access policy.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::assignee_get_filter_data (public)
bug_tracker::assignee_get_filter_data -package_id package_id \ -workflow_id workflow_id -action_id action_id [ -user_id user_id ] \ [ -admin_p admin_p ]
- Switches:
- -package_id (required)
- The package (project) to select from
- -workflow_id (required)
- The workflow we're interested in
- -action_id (required)
- The action we're interested in
- -user_id (optional)
- Optional user for filtering by logged in user.
- -admin_p (optional, defaults to
"f"
)- Returns:
- list-of-lists with assignee data for filter
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::assignee_get_filter_data_not_cached (public)
bug_tracker::assignee_get_filter_data_not_cached \ -package_id package_id -workflow_id workflow_id \ -action_id action_id [ -user_id user_id ] [ -admin_p admin_p ] \ [ -user_bugs_only_p user_bugs_only_p ]
- Switches:
- -package_id (required)
- The package (project) to select from
- -workflow_id (required)
- The workflow we're interested in
- -action_id (required)
- The action we're interested in
- -user_id (optional)
- User id for optional filtering for logged in user
- -admin_p (optional, defaults to
"f"
)- -user_bugs_only_p (optional, defaults to
"f"
)- Returns:
- list-of-lists with assignee data for filter
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::assignee_get_options (public)
bug_tracker::assignee_get_options [ -workflow_id workflow_id ] \ [ -include_unknown ] [ -include_undecided ]
Returns an option list containing all users that have submitted or assigned to a bug. Used for the add bug form. Added because the workflow api requires a case_id. (an item to evaluate is refactoring workflow to provide an assignee widget without a case_id)
- Switches:
- -workflow_id (optional)
- -include_unknown (optional, boolean)
- -include_undecided (optional, boolean)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::bug_convert_comment_to_html (public)
bug_tracker::bug_convert_comment_to_html -comment comment \ -format format
- Switches:
- -comment (required)
- -format (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::bug_convert_comment_to_text (public)
bug_tracker::bug_convert_comment_to_text -comment comment \ -format format
- Switches:
- -comment (required)
- -format (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::bugs_exist_p (public)
bug_tracker::bugs_exist_p [ -package_id package_id ]
Returns whether any bugs exist in a project
- Switches:
- -package_id (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::bugs_exist_p_not_cached (public)
bug_tracker::bugs_exist_p_not_cached -package_id package_id
Returns whether any bugs exist in a project. Not cached.
- Switches:
- -package_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::bugs_exist_p_set_true (public)
bug_tracker::bugs_exist_p_set_true [ -package_id package_id ]
Sets bug_exists_p true. Useful for when you add a new bug, so you know that a bug will exist.
- Switches:
- -package_id (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::category_get_filter_data (public)
bug_tracker::category_get_filter_data -package_id package_id \ -parent_id parent_id [ -user_id user_id ] [ -admin_p admin_p ]
- Switches:
- -package_id (required)
- The package (project) to select from
- -parent_id (required)
- The category type's keyword_id
- -user_id (optional)
- -admin_p (optional, defaults to
"f"
)- Returns:
- list-of-lists with category data for filter
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::category_get_filter_data_not_cached (public)
bug_tracker::category_get_filter_data_not_cached \ -package_id package_id -parent_id parent_id [ -user_id user_id ] \ [ -admin_p admin_p ] [ -user_bugs_only_p user_bugs_only_p ]
- Switches:
- -package_id (required)
- The package (project) to select from
- -parent_id (required)
- The category type's keyword_id
- -user_id (optional)
- -admin_p (optional, defaults to
"f"
)- -user_bugs_only_p (optional, defaults to
"f"
)- Returns:
- list-of-lists with category data for filter
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::category_get_options (public)
bug_tracker::category_get_options [ -package_id package_id ] \ -parent_id parent_id
- Switches:
- -package_id (optional)
- -parent_id (required)
- The category type's keyword_id
- Returns:
- options-list for a select widget for the given category type
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::category_heading (public)
bug_tracker::category_heading [ -package_id package_id ] \ -keyword_id keyword_id
- Switches:
- -package_id (optional)
- -keyword_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::category_parent_element (public)
bug_tracker::category_parent_element [ -package_id package_id ] \ -keyword_id keyword_id [ -element element ]
- Switches:
- -package_id (optional)
- -keyword_id (required)
- -element (optional, defaults to
"heading"
)- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::category_parent_heading (public)
bug_tracker::category_parent_heading [ -package_id package_id ] \ -keyword_id keyword_id
- Switches:
- -package_id (optional)
- -keyword_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::category_types (public)
bug_tracker::category_types [ -package_id package_id ]
- Switches:
- -package_id (optional)
- Returns:
- Returns the category types for this instance as an array-list of { parent_id1 heading1 parent_id2 heading2 ... }
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::component_get_filter_data (public)
bug_tracker::component_get_filter_data -package_id package_id \ [ -user_id user_id ] [ -admin_p admin_p ]
- Switches:
- -package_id (required)
- The project we're interested in
- -user_id (optional)
- -admin_p (optional, defaults to
"f"
)- Returns:
- list-of-lists with component data for filter
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::component_get_filter_data_not_cached (public)
bug_tracker::component_get_filter_data_not_cached \ -package_id package_id [ -user_id user_id ] [ -admin_p admin_p ] \ [ -user_bugs_only_p user_bugs_only_p ]
- Switches:
- -package_id (required)
- The project we're interested in
- -user_id (optional)
- -admin_p (optional, defaults to
"f"
)- -user_bugs_only_p (optional, defaults to
"f"
)- Returns:
- list-of-lists with component data for filter
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::component_get_name (public)
bug_tracker::component_get_name [ -package_id package_id ] \ -component_id component_id
- Switches:
- -package_id (optional)
- -component_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::component_get_url_name (public)
bug_tracker::component_get_url_name [ -package_id package_id ] \ -component_id component_id
- Switches:
- -package_id (optional)
- -component_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::components_flush (public)
bug_tracker::components_flush
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::components_get_options (public)
bug_tracker::components_get_options [ -package_id package_id ] \ [ -include_unknown ]
- Switches:
- -package_id (optional)
- -include_unknown (optional, boolean)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::components_get_options_not_cached (public)
bug_tracker::components_get_options_not_cached package_id
- Parameters:
- package_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::components_get_url_names (public)
bug_tracker::components_get_url_names [ -package_id package_id ]
- Switches:
- -package_id (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::components_get_url_names_not_cached (public)
bug_tracker::components_get_url_names_not_cached \ -package_id package_id
- Switches:
- -package_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::conn (public)
bug_tracker::conn [ args... ]
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::delete_all_project_keywords (public)
bug_tracker::delete_all_project_keywords [ -package_id package_id ]
Deletes all the keywords in a project
- Switches:
- -package_id (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::get_bug_id (public)
bug_tracker::get_bug_id -bug_number bug_number -project_id project_id
- Switches:
- -bug_number (required)
- -project_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::get_bug_links (public)
bug_tracker::get_bug_links -patch_id patch_id \ -patch_number patch_number \ -write_or_submitter_p write_or_submitter_p
- Switches:
- -patch_id (required)
- -patch_number (required)
- -write_or_submitter_p (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::get_component_keyword (public)
bug_tracker::get_component_keyword -package_id package_id
- Switches:
- -package_id (required)
- The package (project) to select from
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::get_default_configurations (public)
bug_tracker::get_default_configurations
Get the package's default configurations for categories and parameters.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::get_default_keyword (public)
bug_tracker::get_default_keyword [ -package_id package_id ] \ -parent_id parent_id
Get the default keyword for a given type (parent)
- Switches:
- -package_id (optional)
- -parent_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::get_default_keyword_flush (public)
bug_tracker::get_default_keyword_flush [ -package_id package_id ] \ -parent_id parent_id
Flush the cache for
- Switches:
- -package_id (optional)
- -parent_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::get_default_keyword_not_cached (private)
bug_tracker::get_default_keyword_not_cached -package_id package_id \ -parent_id parent_id
Get the default keyword for a given type (parent), not cached.
- Switches:
- -package_id (required)
- -parent_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::get_export_variables (public)
bug_tracker::get_export_variables [ -package_id package_id ] \ [ extra_vars ]
Gets a list of variables to export for the bug list
- Switches:
- -package_id (optional)
- Parameters:
- extra_vars (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::get_keywords (private)
bug_tracker::get_keywords [ -package_id package_id ]
- Switches:
- -package_id (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::get_keywords_flush (private)
bug_tracker::get_keywords_flush [ -package_id package_id ]
- Switches:
- -package_id (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::get_keywords_not_cached (private)
bug_tracker::get_keywords_not_cached -package_id package_id
- Switches:
- -package_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::get_mapped_bugs (public)
bug_tracker::get_mapped_bugs -patch_number patch_number \ [ -only_open_p only_open_p ]
Return a list of lists with the bug number in the first element and the bug summary in the second.
- Switches:
- -patch_number (required)
- -only_open_p (optional, defaults to
"0"
)- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::get_page_variables (public)
bug_tracker::get_page_variables [ extra_spec ]
Adds the bug listing filter variables for use in the page contract. ad_page_contract { doc } [bug_tracker::get_page_variables { foo:integer { bar "" } }]
- Parameters:
- extra_spec (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::get_patch_links (public)
bug_tracker::get_patch_links -bug_id bug_id \ [ -show_patch_status show_patch_status ]
- Switches:
- -bug_id (required)
- -show_patch_status (optional, defaults to
"open"
)- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::get_patch_submitter (public)
bug_tracker::get_patch_submitter -patch_number patch_number
- Switches:
- -patch_number (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::get_pretty_names (public)
bug_tracker::get_pretty_names -array array [ -package_id package_id ]
- Switches:
- -array (required)
- -package_id (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::get_project_info (public)
bug_tracker::get_project_info [ -package_id package_id ]
- Switches:
- -package_id (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::get_project_info_flush (public)
bug_tracker::get_project_info_flush [ -package_id package_id ]
- Switches:
- -package_id (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::get_project_info_internal (public)
bug_tracker::get_project_info_internal package_id
- Parameters:
- package_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::get_related_files_links (public)
bug_tracker::get_related_files_links -bug_id bug_id
- Switches:
- -bug_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::get_uploaded_patch_file_content (public)
bug_tracker::get_uploaded_patch_file_content
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::get_user_prefs (public)
bug_tracker::get_user_prefs [ -package_id package_id ] \ [ -user_id user_id ]
- Switches:
- -package_id (optional)
- -user_id (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::get_user_prefs_flush (public)
bug_tracker::get_user_prefs_flush [ -package_id package_id ] \ [ -user_id user_id ]
- Switches:
- -package_id (optional)
- -user_id (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::get_user_prefs_internal (public)
bug_tracker::get_user_prefs_internal package_id user_id
- Parameters:
- package_id (required)
- user_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::grant_direct_read_permission (private)
bug_tracker::grant_direct_read_permission -bug_id bug_id \ -party_id party_id
Grant direct read permissions
- Switches:
- -bug_id (required)
- -party_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::inherit (private)
bug_tracker::inherit -bug_id bug_id -party_id party_id
Grant direct read permissions
- Switches:
- -bug_id (required)
- -party_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::install_keywords_setup (public)
bug_tracker::install_keywords_setup [ -package_id package_id ] \ -spec spec
- Switches:
- -package_id (optional)
- -spec (required)
- is an array-list of { Type1 { cat1 cat2 cat3 } Type2 { cat1 cat2 cat3 } } Default category within type is denoted by letting the name start with a *, which is removed before creating the keyword.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::install_parameters_setup (public)
bug_tracker::install_parameters_setup [ -package_id package_id ] \ -spec spec
- Switches:
- -package_id (optional)
- -spec (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::map_patch_to_bug (public)
bug_tracker::map_patch_to_bug -patch_id patch_id -bug_id bug_id
- Switches:
- -patch_id (required)
- -bug_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::patch_action_pretty (public)
bug_tracker::patch_action_pretty action
- Parameters:
- action (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::patch_status_get_options (public)
bug_tracker::patch_status_get_options
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::patch_status_pretty (public)
bug_tracker::patch_status_pretty status
- Parameters:
- status (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::patches_p (public)
bug_tracker::patches_p
Is the patch submission feature turned on?
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::project_delete (public)
bug_tracker::project_delete project_id
Delete a Bug Tracker project and all its data.
- Parameters:
- project_id (required)
- Author:
- Peter Marklund
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::project_new (public)
bug_tracker::project_new project_id
Create a new Bug Tracker project for a package instance.
- Parameters:
- project_id (required)
- Author:
- Peter Marklund
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::related_files_p (public)
bug_tracker::related_files_p
Is the related files submission feature turned on?
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::resolution_get_options (public)
bug_tracker::resolution_get_options
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::resolution_pretty (public)
bug_tracker::resolution_pretty resolution
- Parameters:
- resolution (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::security_violation (public)
bug_tracker::security_violation -user_id user_id -bug_id bug_id \ -action_id action_id
- Switches:
- -user_id (required)
- -bug_id (required)
- -action_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::set_access_policy (private)
bug_tracker::set_access_policy [ -all_bugs ] [ -user_bugs ]
Set/unset direct permissions on existing bugs.
- Switches:
- -all_bugs (optional, boolean, defaults to
"f"
)- The user can see all bugs
- -user_bugs (optional, boolean, defaults to
"f"
)- The user can only see the bugs they are participating in.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::set_default_keyword (public)
bug_tracker::set_default_keyword [ -package_id package_id ] \ -parent_id parent_id -keyword_id keyword_id
Set the default keyword for a given type (parent)
- Switches:
- -package_id (optional)
- -parent_id (required)
- -keyword_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::set_project_name (public)
bug_tracker::set_project_name [ -package_id package_id ] project_name
- Switches:
- -package_id (optional)
- Parameters:
- project_name (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::state_get_filter_data (public)
bug_tracker::state_get_filter_data -package_id package_id \ -workflow_id workflow_id [ -user_id user_id ] [ -admin_p admin_p ]
- Switches:
- -package_id (required)
- The package (project) to select from
- -workflow_id (required)
- The workflow we're interested in
- -user_id (optional)
- -admin_p (optional, defaults to
"f"
)- Returns:
- list-of-lists with state data for filter
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::state_get_filter_data_not_cached (public)
bug_tracker::state_get_filter_data_not_cached -package_id package_id \ -workflow_id workflow_id [ -user_id user_id ] [ -admin_p admin_p ] \ [ -user_bugs_only_p user_bugs_only_p ]
- Switches:
- -package_id (required)
- The package (project) to select from
- -workflow_id (required)
- The workflow we're interested in
- -user_id (optional)
- -admin_p (optional, defaults to
"f"
)- -user_bugs_only_p (optional, defaults to
"f"
)- Returns:
- list-of-lists with state data for filter
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::status_get_options (public)
bug_tracker::status_get_options [ -package_id package_id ]
- Switches:
- -package_id (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::status_pretty (public)
bug_tracker::status_pretty status
- Parameters:
- status (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::unmap_patch_from_bug (public)
bug_tracker::unmap_patch_from_bug -patch_number patch_number \ -bug_number bug_number
- Switches:
- -patch_number (required)
- -bug_number (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::update_patch_status (public)
bug_tracker::update_patch_status -patch_number patch_number \ -new_status new_status
- Switches:
- -patch_number (required)
- -new_status (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::user_bugs_only_p (public)
bug_tracker::user_bugs_only_p
Is the user bugs only feature turned on? Admins always see all bugs.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::user_bugs_only_where_clause (private)
bug_tracker::user_bugs_only_where_clause
Return the where clause fragment if only user's bugs should appear
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::users_get_options (public)
bug_tracker::users_get_options [ -package_id package_id ]
- Switches:
- -package_id (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::version_get_filter_data (public)
bug_tracker::version_get_filter_data -package_id package_id \ [ -user_id user_id ] [ -admin_p admin_p ]
- Switches:
- -package_id (required)
- The package (project) to select from
- -user_id (optional)
- The user to filter by for the ShowMyBugsOnlyP parameter
- -admin_p (optional, defaults to
"f"
)- Returns:
- list-of-lists with fix-for-version data for filter
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::version_get_filter_data_not_cached (public)
bug_tracker::version_get_filter_data_not_cached -package_id package_id \ [ -user_id user_id ] [ -admin_p admin_p ] \ [ -user_bugs_only_p user_bugs_only_p ]
- Switches:
- -package_id (required)
- The package (project) to select from
- -user_id (optional)
- -admin_p (optional, defaults to
"f"
)- -user_bugs_only_p (optional, defaults to
"f"
)- Returns:
- list-of-lists with fix-for-version data for filter
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::version_get_name (public)
bug_tracker::version_get_name [ -package_id package_id ] \ -version_id version_id
- Switches:
- -package_id (optional)
- -version_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::version_get_options (public)
bug_tracker::version_get_options [ -package_id package_id ] \ [ -include_unknown ] [ -include_undecided ]
- Switches:
- -package_id (optional)
- -include_unknown (optional, boolean)
- -include_undecided (optional, boolean)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::version_get_options_not_cached (public)
bug_tracker::version_get_options_not_cached package_id
- Parameters:
- package_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::versions_flush (public)
bug_tracker::versions_flush
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
bug_tracker::versions_p (public)
bug_tracker::versions_p [ -package_id package_id ]
Is the versions feature turned on?
- Switches:
- -package_id (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.