Clean up apparently unused RPC functions
Reported by
jrbarnette@chromium.org,
Jan 17 2017
|
||
Issue description
A number of RPC functions have no apparent callers in any
of the expected call sites. That is, they appear to be
unused as RPC functions.
The following are probably entirely unused, and should be
considered for deletion:
add_test
add_user
delete_test
delete_user
get_host_history
modify_acl_group
modify_test
The following may be used as ordinary functions (not RPC
end points). These should either be made private to their
module, or moved to someplace like rpc_utils.py:
canonicalize_suite_name
formatted_now
get_host_num_special_tasks
get_test_control_files_by_build
get_tests_status_counts_by_job_name_label
,
Feb 4 2017
This bug is extended due to further discussions with Richard. I will split it to the following 4 bugs and mark this one "won't fix". 1. crbugs.com/688620 for test related RPCs 2. crbugs.com/688622 for user related RPCs 3. crbugs.com/688625 for acl_group related RPCs 4. crbugs.com/688626 for host_history related RPCs and modules. |
||
►
Sign in to add a comment |
||
Comment 1 by xixuan@chromium.org
, Feb 1 2017Status: Started (was: Available)