Module ImportFrom alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword Call NameLoad Str keyword Num keyword NameLoad keyword Call AttributeLoad NameLoad attr keyword Dict Str Str keyword Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr keyword Call NameLoad Str keyword Num keyword NameLoad keyword Call AttributeLoad NameLoad attr keyword Dict Str Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore ListLoad Str Str Assign NameStore NameLoad Assign NameStore Dict Str Str Dict Str Str Str Str Dict Str Str Assign NameStore Call NameLoad Str Call NameLoad Str Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad vararg kwarg body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad vararg kwarg body Expr Str Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return CompareIsNot Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad vararg kwarg body Expr Str TryExcept body Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad keyword NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Raise Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad vararg kwarg body Expr Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Return NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpMod Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str If BoolOpAnd NameLoad BoolOpOr NameLoad UnaryOpNot NameLoad body Assign NameStore BinOpMod Str TupleLoad Call NameLoad NameLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore NameLoad orelse If NameLoad body Assign NameStore NameLoad orelse Assign NameStore NameLoad Assign NameStore BinOpMod Str TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad If NameLoad body AugAssignAdd NameStore Str Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad If BoolOpAnd UnaryOpNot NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad NameLoad attr If NameLoad body Return NameLoad orelse Return Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Assign NameStore NameLoad If BoolOpAnd NameLoad CompareIn Str NameLoad body Raise Call NameLoad Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str orelse Raise Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str TryExcept body Assign NameStore Call NameLoad keyword NameLoad If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call NameLoad NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad Return Call NameLoad keyword Num ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad Return Call NameLoad keyword Num Return Call NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If UnaryOpNot NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Slice Num Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore BinOpMod Str TupleLoad Str Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad Expr Call NameLoad NameLoad decorator_list
N/A __future__ unicode_literals N/A json N/A logging N/A os collections defaultdict django forms django.conf.urls patterns url django.http HttpResponse django.utils six django.utils.six.moves.urllib.error HTTPError URLError django.utils.six.moves.urllib.parse quote django.utils.translation ugettext_lazy _ django.views.decorators.http require_POST reviewboard.admin.server get_server_url reviewboard.hostingsvcs.forms HostingServiceForm reviewboard.hostingsvcs.hook_utils close_all_review_requests get_review_request_id reviewboard.hostingsvcs.service HostingService reviewboard.scmtools.crypto_utils decrypt_password encrypt_password reviewboard.scmtools.errors FileNotFoundError BeanstalkForm N/A HostingServiceForm N/A N/A beanstalk_account_domain N/A N/A forms CharField label N/A _ Beanstalk account domain max_length 64 required True widget N/A N/A forms TextInput attrs N/A size 60 help_text N/A _ This is the <tt>domain</tt> part of <tt>domain.beanstalkapp.com</tt> N/A beanstalk_repo_name N/A N/A forms CharField label N/A _ Repository name max_length 64 required True widget N/A N/A forms TextInput attrs N/A size 60 N/A Beanstalk N/A HostingService N/A N/A Hosting service support for Beanstalk.

    Beanstalk is a source hosting service that supports Git and Subversion
    repositories. It's available at http://beanstalkapp.com/.
     N/A name Beanstalk N/A needs_authorization True N/A supports_bug_trackers False N/A supports_repositories True N/A supported_scmtools N/A Git Subversion N/A form BeanstalkForm N/A repository_fields N/A Git Subversion N/A path mirror_path git@%(beanstalk_account_domain)s.beanstalkapp.com:/%(beanstalk_account_domain)s/%(beanstalk_repo_name)s.git https://%(beanstalk_account_domain)s.git.beanstalkapp.com/%(beanstalk_repo_name)s.git N/A path https://%(beanstalk_account_domain)s.svn.beanstalkapp.com/%(beanstalk_repo_name)s/ N/A repository_url_patterns N/A patterns N/A url ^hooks/post-receive/$ reviewboard.hostingsvcs.beanstalk.process_post_receive_hook check_repository N/A N/A self beanstalk_account_domain beanstalk_repo_name N/A None None args kwargs N/A N/A Checks the validity of a repository.

        This will perform an API request against Beanstalk to get
        information on the repository. This will throw an exception if
        the repository was not found, and return cleanly if it was found.
         N/A N/A N/A self _api_get_repository beanstalk_account_domain beanstalk_repo_name N/A authorize N/A N/A self username password hosting_url local_site_name N/A None args kwargs N/A N/A Authorizes the Beanstalk repository.

        Beanstalk uses HTTP Basic Auth for the API, so this will store the
        provided password, encrypted, for use in later API requests.
         N/A N/A N/A N/A self account data N/A password N/A encrypt_password password N/A N/A N/A N/A self account save N/A is_authorized N/A N/A self N/A N/A N/A Determines if the account has supported authorization tokens.

        This just checks if there's a password set on the account.
         N/A N/A N/A N/A N/A N/A self account data get password None None N/A get_password N/A N/A self N/A N/A N/A Returns the password for this account.

        This is needed for API calls and for Subversion.
         N/A N/A decrypt_password N/A N/A N/A self account data N/A password N/A get_file N/A N/A self repository path revision base_commit_id N/A None args kwargs N/A N/A Fetches a file from Beanstalk.

        This will perform an API request to fetch the contents of a file.

        If using Git, this will expect a base commit ID to be provided.
         N/A N/A N/A N/A N/A self _api_get_node repository path revision base_commit_id contents True N/A N/A N/A N/A HTTPError URLError N/A N/A N/A FileNotFoundError path revision N/A get_file_exists N/A N/A self repository path revision base_commit_id N/A None args kwargs N/A N/A Determines if a file exists.

        This will perform an API request to fetch the metadata for a file.

        If using Git, this will expect a base commit ID to be provided.
         N/A N/A N/A N/A N/A self _api_get_node repository path revision base_commit_id N/A True N/A N/A N/A N/A HTTPError URLError FileNotFoundError N/A N/A False N/A _api_get_repository N/A N/A self account_domain repository_name N/A N/A N/A url N/A N/A self _build_api_url account_domain N/A repositories/%s.json repository_name N/A N/A N/A self _api_get url N/A _api_get_node N/A N/A self repository path revision base_commit_id contents N/A False N/A N/A is_git N/A N/A N/A repository tool name Git N/A N/A is_git N/A contents N/A base_commit_id N/A N/A url_path N/A blob?id=%s&name=%s N/A N/A quote revision N/A quote N/A N/A N/A os path basename path N/A raw_content True N/A N/A is_git N/A N/A expected_revision base_commit_id N/A N/A expected_revision revision N/A url_path N/A node.json?path=%s&revision=%s N/A N/A quote path N/A quote expected_revision N/A contents N/A N/A url_path &contents=true N/A raw_content False N/A url N/A N/A self _build_api_url N/A N/A self _get_repository_account_domain repository N/A repositories/%s/%s N/A N/A N/A repository extra_data N/A beanstalk_repo_name url_path N/A result N/A N/A self _api_get url raw_content raw_content N/A N/A N/A raw_content contents N/A N/A result N/A result N/A contents N/A result N/A _build_api_url N/A N/A self account_domain url N/A N/A N/A N/A https://%s.beanstalkapp.com/api/%s N/A account_domain url N/A _get_repository_account_domain N/A N/A self repository N/A N/A N/A N/A N/A repository extra_data N/A beanstalk_account_domain N/A _api_get N/A N/A self url raw_content N/A False N/A N/A N/A N/A N/A data headers N/A N/A N/A self client http_get url username N/A N/A self account username password N/A N/A self get_password N/A raw_content N/A N/A data N/A N/A N/A N/A json loads data N/A N/A N/A HTTPError N/A e N/A N/A data N/A N/A e read N/A N/A N/A rsp N/A N/A json loads data N/A N/A N/A N/A rsp None N/A N/A rsp N/A errors rsp N/A N/A N/A Exception N/A N/A ;  join N/A rsp N/A errors N/A N/A N/A Exception N/A N/A six text_type e N/A N/A process_post_receive_hook N/A N/A request N/A args kwargs N/A N/A Closes review requests as submitted automatically after a push. N/A N/A N/A server_url N/A get_server_url request request N/A N/A payload N/A request POST N/A N/A payload N/A N/A json loads N/A N/A request POST N/A payload N/A N/A close_git_review_requests payload server_url N/A N/A payload N/A N/A json loads N/A N/A request POST N/A commit N/A N/A close_svn_review_request payload server_url N/A N/A N/A KeyError N/A e N/A N/A N/A N/A logging error There is no JSON payload in the POST request.: %s e N/A N/A HttpResponse status 415 N/A N/A ValueError N/A e N/A N/A N/A N/A logging error The payload is not in JSON format: %s e N/A N/A HttpResponse status 415 N/A N/A HttpResponse N/A require_POST close_git_review_requests N/A N/A payload server_url N/A N/A N/A Closes all review requests for the git repository.

    A git payload may contain multiple commits. If a commit's commit
    message does not contain a review request ID, it closes based on
    it's commit id.
     N/A review_id_to_commits_map N/A defaultdict list N/A branch_name N/A N/A payload get branch N/A N/A branch_name N/A N/A review_id_to_commits_map N/A commits N/A N/A payload get commits N/A N/A commit commits N/A N/A commit_hash N/A N/A commit get id N/A commit_message N/A N/A commit get message N/A review_request_id N/A get_review_request_id commit_message server_url commit_hash N/A commit_entry N/A %s (%s) N/A branch_name N/A commit_hash N/A 7 N/A N/A N/A N/A review_id_to_commits_map N/A review_request_id append commit_entry N/A N/A close_all_review_requests review_id_to_commits_map N/A close_svn_review_request N/A N/A payload server_url N/A N/A N/A Closes the review request for an SVN repository.

    The SVN payload may contains one commit. If a commit's commit
    message does not contain a review request ID, it does not close
    any review request.
     N/A review_id_to_commits_map N/A defaultdict list N/A commit_message N/A N/A payload get message N/A branch_name N/A N/A payload get changeset_url SVN Repository N/A revision N/A %s %d N/A Revision:  N/A N/A payload get revision N/A review_request_id N/A get_review_request_id commit_message server_url None N/A commit_entry N/A %s (%s) N/A branch_name revision N/A N/A N/A N/A review_id_to_commits_map N/A review_request_id append commit_entry N/A N/A close_all_review_requests review_id_to_commits_map N/A