Module Import alias Import alias Import alias Import alias Import alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body With Call NameLoad BinOpMod Str NameLoad Str NameStore body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Index Str Call NameLoad AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad BinOpAdd AttributeLoad NameLoad attr Str keyword SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Print BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Print BinOpMod Str Call AttributeLoad Str attr NameLoad Assign AttributeStore NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign AttributeStore NameLoad attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Str attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TupleLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Print BinOpMod Str Call NameLoad NameLoad For NameStore NameLoad body If Call NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad SubscriptLoad NameLoad Index Str orelse Assign NameStore Call AttributeLoad NameLoad attr Num Num Expr Yield TupleLoad NameLoad SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Print BinOpMod Str Call AttributeLoad Str attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call NameLoad NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr BinOpAdd Str NameLoad keyword BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr BinOpAdd Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Str AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Index Num If NameLoad body Return SubscriptLoad Call AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args NameParam defaults body For NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str body Print BinOpMod Str SubscriptLoad NameLoad Index Str Print Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Dict For NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str body Print BinOpMod Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Str Str For NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str body Print BinOpMod Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str For NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str body Print BinOpMod Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str For NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str body Print BinOpMod Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str ListComp SubscriptLoad NameLoad Index Str comprehension NameStore SubscriptLoad NameLoad Index Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str body If NameLoad body Print BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str ListComp SubscriptLoad NameLoad Index Str comprehension NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num decorator_list decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr
N/A N/A os N/A shlex N/A random N/A sys N/A yaml N/A pwd N/A N/A N/A os path dirname N/A N/A N/A os path abspath __file__ N/A N/A N/A N/A sys path append N/A N/A N/A os path dirname pwd N/A config utils ManageSfUtils utils GerritGitUtils pysflib.sfredmine RedmineUtils utils JenkinsUtils utils get_cookie utils is_present utils ssh_run_cmd SFProvisioner N/A object N/A N/A  This provider is only intended for testing
    SF backup/restore and update. It provisions some
    user datas in a SF installation based on a resourses.yaml
    file. Later those data can be checked by its friend
    the SFChecker.

    Provisioned data should remain really simple.
     __init__ N/A N/A self N/A N/A N/A N/A open N/A %s/resources.yaml pwd r rsc N/A N/A N/A self resources N/A N/A yaml load rsc N/A N/A N/A N/A config USERS N/A N/A config ADMIN_USER N/A auth_cookie N/A get_cookie N/A config ADMIN_USER N/A N/A N/A config USERS N/A N/A config ADMIN_USER N/A password N/A N/A self msu N/A ManageSfUtils N/A config GATEWAY_URL N/A N/A self ggu N/A GerritGitUtils N/A config ADMIN_USER N/A config ADMIN_PRIV_KEY_PATH N/A N/A N/A config USERS N/A N/A config ADMIN_USER N/A email N/A N/A self ju N/A JenkinsUtils N/A N/A self rm N/A RedmineUtils N/A N/A config GATEWAY_URL /redmine/ auth_cookie N/A N/A N/A config USERS N/A N/A config ADMIN_USER N/A auth_cookie N/A create_project N/A N/A self name N/A N/A N/A N/A  Creating project %s ... name N/A N/A N/A N/A self msu createProject name N/A config ADMIN_USER N/A push_files_in_project N/A N/A self name files N/A N/A N/A N/A  Add files(%s) in a commit ... N/A N/A , join files N/A N/A self url N/A ssh://%s@%s:29418/%s N/A N/A config ADMIN_USER N/A config GATEWAY_HOST name N/A clone_dir N/A N/A N/A self ggu clone N/A self url name config_review False N/A N/A self clone_dir clone_dir N/A f files N/A N/A N/A N/A N/A file N/A N/A N/A os path join clone_dir f w write data N/A N/A N/A N/A self ggu git_add clone_dir N/A f N/A N/A N/A N/A self ggu add_commit_for_all_new_additions clone_dir N/A N/A N/A N/A self ggu direct_push_branch clone_dir master N/A create_issues_on_project N/A N/A self name issues N/A N/A N/A N/A  Create %s issue(s) for that project ... N/A len issues N/A i issues N/A N/A N/A is_present SFRedmine N/A N/A issue N/A N/A N/A self rm create_issue name N/A i N/A name N/A N/A issue N/A N/A random randint 1 100 N/A N/A N/A issue N/A i N/A review N/A create_jenkins_jobs N/A N/A self name jobnames N/A N/A N/A N/A  Create Jenkins jobs(%s)  ... N/A N/A , join jobnames N/A jobname jobnames N/A N/A N/A N/A N/A self ju create_job N/A %s_%s N/A name jobname N/A create_pads N/A N/A self amount N/A N/A N/A N/A create_pasties N/A N/A self amount N/A N/A N/A N/A simple_login N/A N/A self user N/A N/A N/A log as user to make the user listable N/A N/A get_cookie user N/A N/A N/A config USERS N/A user N/A password N/A create_review N/A N/A self project issue N/A N/A N/A Very basic review creator for statistics and restore tests
        purposes. N/A N/A N/A N/A self ggu config_review N/A self clone_dir N/A N/A N/A N/A self ggu add_commit_in_branch N/A self clone_dir N/A branch_ issue commit N/A test

Bug: %s issue N/A N/A N/A N/A self ggu review_push_branch N/A self clone_dir N/A branch_ issue N/A create_local_user N/A N/A self username password email N/A N/A N/A N/A N/A N/A self msu create_user username password email N/A command N/A N/A self cmd N/A N/A N/A N/A ssh_run_cmd N/A N/A N/A os path expanduser ~/.ssh/id_rsa root N/A config GATEWAY_HOST N/A N/A shlex split cmd N/A compute_checksum N/A N/A self f N/A N/A N/A out N/A N/A N/A self command N/A md5sum %s f N/A 0 N/A out N/A N/A N/A N/A N/A out split N/A 0 N/A provision N/A N/A self N/A N/A N/A cmd N/A N/A self resources N/A commands N/A N/A N/A Execute command %s N/A cmd N/A cmd N/A N/A N/A self command N/A cmd N/A cmd N/A checksum_list N/A N/A checksum N/A N/A self resources N/A checksum N/A N/A N/A Compute checksum for file %s N/A checksum N/A file N/A N/A checksum_list N/A N/A checksum N/A file N/A N/A self compute_checksum N/A checksum N/A file N/A N/A N/A yaml dump checksum_list N/A file /tmp/pc_checksums.yaml w N/A user N/A N/A self resources N/A local_users N/A N/A N/A Create local user %s N/A user N/A username N/A N/A N/A self create_local_user N/A user N/A username N/A user N/A password N/A user N/A email N/A u N/A N/A self resources N/A users N/A N/A N/A log in as %s N/A u N/A name N/A N/A N/A self simple_login N/A u N/A name N/A project N/A N/A self resources N/A projects N/A N/A N/A Create user datas for %s N/A project N/A name N/A N/A N/A self create_project N/A project N/A name N/A N/A N/A self push_files_in_project N/A project N/A name N/A N/A f N/A name N/A f N/A project N/A files N/A N/A i review N/A N/A self create_issues_on_project N/A project N/A name N/A project N/A issues N/A N/A review N/A N/A N/A Create review for bug %i in %s N/A i N/A project N/A name N/A N/A N/A self create_review N/A project N/A name N/A str i N/A N/A N/A self create_jenkins_jobs N/A project N/A name N/A N/A j N/A name N/A j N/A project N/A jobnames N/A N/A N/A self create_pads 2 N/A N/A N/A self create_pasties 2 N/A N/A N/A p N/A SFProvisioner N/A N/A N/A p provision