Module Expr Str ImportFrom alias alias Import alias Import alias identifier TryExcept body Import alias handlers ExceptHandler type NameLoad body Import alias identifier ImportFrom alias alias Import alias Import alias Import alias Import alias Import alias Import alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore TupleLoad Str FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore NameLoad If CompareIn Str NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore SubscriptLoad NameLoad Index Str orelse Assign NameStore SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore SubscriptLoad NameLoad Index Str orelse Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Dict If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body For NameStore NameLoad body If Call AttributeLoad NameLoad attr Str body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Continue If NameLoad body Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Call NameLoad NameLoad Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad Str attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr Dict Str NameLoad Str handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Continue Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str Dict attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str Dict attr NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore NameLoad If CompareIn Str NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore SubscriptLoad NameLoad Index Str orelse Assign NameStore SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore SubscriptLoad NameLoad Index Str orelse Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore ListLoad TupleLoad NameLoad NameLoad TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Dict For TupleStore NameStore NameStore NameLoad body If UnaryOpNot Call NameLoad TupleLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad Str attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Dict For NameStore NameLoad body If CompareIn Str NameLoad body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num orelse Assign NameStore NameLoad Assign NameStore Str TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad attr Str Str If NameLoad body Assign NameStore Call SubscriptLoad NameLoad Index Str Str keyword NameLoad keyword NameLoad keyword Str keyword NameLoad keyword NameLoad keyword NameLoad If Call NameLoad NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr Call AttributeLoad Str attr NameLoad If CompareNotIn Str NameLoad body Assign NameStore Call NameLoad Call NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad keyword NameLoad keyword Str keyword NameLoad keyword NameLoad keyword NameLoad Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad orelse TryExcept body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Return NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list
N/A N/A 
Runner to manage Windows software repo
 __future__ absolute_import print_function N/A os N/A salt.ext.six six N/A N/A N/A msgpack N/A N/A N/A ImportError N/A N/A msgpack_pure msgpack salt.exceptions CommandExecutionError SaltRenderError N/A salt.utils N/A salt.utils.gitfs N/A logging N/A salt.minion N/A salt.loader N/A salt.template N/A log N/A N/A logging getLogger __name__ N/A PER_REMOTE_OVERRIDES N/A ssl_verify genrepo N/A N/A opts fire_event N/A None True N/A N/A 
    Generate winrepo_cachefile based on sls files in the winrepo_dir

    opts
        Specify an alternate opts dict. Should not be used unless this function
        is imported into an execution module.

    fire_event : True
        Fire an event on failure. Only supported on the master.

    CLI Example:

    .. code-block:: bash

        salt-run winrepo.genrepo
     N/A N/A opts None N/A N/A opts __opts__ N/A N/A win_repo opts N/A N/A N/A N/A N/A salt utils warn_until Nitrogen The 'win_repo' config option is deprecated, please use 'winrepo_dir' instead. N/A winrepo_dir N/A opts N/A win_repo N/A N/A winrepo_dir N/A opts N/A winrepo_dir N/A N/A win_repo_mastercachefile opts N/A N/A N/A N/A N/A salt utils warn_until Nitrogen The 'win_repo_mastercachefile' config option is deprecated, please use 'winrepo_cachefile' instead. N/A winrepo_cachefile N/A opts N/A win_repo_mastercachefile N/A N/A winrepo_cachefile N/A opts N/A winrepo_cachefile N/A ret N/A N/A N/A N/A N/A N/A os path exists winrepo_dir N/A N/A N/A N/A os makedirs winrepo_dir N/A renderers N/A N/A N/A salt loader render opts __salt__ N/A N/A root _ files N/A N/A os walk winrepo_dir N/A N/A name files N/A N/A N/A N/A name endswith .sls N/A N/A N/A N/A config N/A N/A N/A salt template compile_template N/A N/A N/A os path join root name renderers N/A opts N/A renderer N/A N/A N/A SaltRenderError N/A exc N/A N/A N/A N/A log debug N/A N/A Failed to render {0}. format N/A N/A N/A os path join root name N/A N/A N/A log debug N/A N/A Error: {0}. format exc N/A N/A config N/A N/A revmap N/A N/A N/A pkgname versions N/A N/A six iteritems config N/A N/A N/A N/A log debug N/A N/A Compiling winrepo data for package '{0}' format pkgname N/A N/A version repodata N/A N/A six iteritems versions N/A N/A N/A N/A log debug N/A N/A Compiling winrepo data for {0} version {1} format pkgname version N/A N/A N/A isinstance version N/A six string_types N/A N/A N/A N/A config N/A pkgname N/A N/A str version N/A N/A N/A config N/A pkgname pop version N/A N/A N/A isinstance repodata dict N/A N/A N/A N/A log debug N/A N/A Failed to compile {0}. format N/A N/A N/A os path join root name N/A fire_event N/A N/A msg N/A N/A Failed to compile {0}. format N/A N/A N/A os path join root name N/A N/A N/A N/A N/A __jid_event__ fire_event N/A error msg progress N/A N/A N/A NameError N/A N/A N/A N/A log error N/A N/A Attempted to fire the an event with the following error, but event firing is not supported: {0} format msg N/A N/A N/A revmap N/A N/A repodata N/A full_name pkgname N/A N/A N/A N/A N/A ret setdefault repo N/A update config N/A N/A N/A N/A N/A ret setdefault name_map N/A update revmap N/A N/A N/A N/A salt utils fopen N/A N/A N/A os path join winrepo_dir winrepo_cachefile w+b repo N/A N/A N/A N/A repo write N/A N/A msgpack dumps ret N/A ret N/A update_git_repos N/A N/A opts clean masterless N/A None False False N/A N/A 
    Checkout git repos containing Windows Software Package Definitions

    opts
        Specify an alternate opts dict. Should not be used unless this function
        is imported into an execution module.

    clean : False
        Clean repo cachedirs which are not configured under
        :conf_master:`winrepo_remotes`.

        .. warning::
            This argument should not be set to ``True`` if a mix of git and
            non-git repo definitions are being used, as it will result in the
            non-git repo definitions being removed.

        .. versionadded:: 2015.8.0

    CLI Examples:

    .. code-block:: bash

        salt-run winrepo.update_git_repos
        salt-run winrepo.update_git_repos clean=True
     N/A N/A opts None N/A N/A opts __opts__ N/A N/A win_repo opts N/A N/A N/A N/A N/A salt utils warn_until Nitrogen The 'win_repo' config option is deprecated, please use 'winrepo_dir' instead. N/A winrepo_dir N/A opts N/A win_repo N/A N/A winrepo_dir N/A opts N/A winrepo_dir N/A N/A win_gitrepos opts N/A N/A N/A N/A N/A salt utils warn_until Nitrogen The 'win_gitrepos' config option is deprecated, please use 'winrepo_remotes' instead. N/A winrepo_remotes N/A opts N/A win_gitrepos N/A N/A winrepo_remotes N/A opts N/A winrepo_remotes N/A winrepo_cfg N/A N/A winrepo_remotes winrepo_dir N/A N/A opts N/A winrepo_remotes_ng N/A opts N/A winrepo_dir_ng N/A ret N/A N/A N/A remotes base_dir winrepo_cfg N/A N/A N/A N/A any N/A N/A N/A N/A salt utils gitfs HAS_GITPYTHON N/A N/A N/A salt utils gitfs HAS_PYGIT2 N/A N/A N/A N/A N/A N/A salt utils is_windows N/A N/A N/A N/A N/A salt utils warn_until Nitrogen N/A N/A winrepo git support now requires either GitPython or pygit2. Please install either GitPython >= {0} (or pygit2 >= {1} with libgit2 >= {2}), clear out {3}, and restart the salt-master service. format N/A N/A N/A salt utils gitfs GITPYTHON_MINVER N/A N/A N/A salt utils gitfs PYGIT2_MINVER N/A N/A N/A salt utils gitfs LIBGIT2_MINVER base_dir N/A winrepo_result N/A N/A remote_info remotes N/A N/A N/A / remote_info N/A N/A targetname N/A N/A N/A remote_info split / N/A -1 N/A N/A targetname remote_info N/A rev HEAD N/A N/A N/A N/A rev remote_url N/A N/A N/A N/A remote_info strip split N/A N/A N/A ValueError N/A N/A remote_url remote_info N/A gittarget N/A N/A N/A N/A N/A os path join base_dir targetname replace . _ N/A masterless N/A N/A result N/A N/A __salt__ N/A state.single git.latest name remote_url rev rev branch winrepo target gittarget force_checkout True force_reset True N/A N/A isinstance result list N/A N/A N/A CommandExecutionError N/A N/A Failed up update winrepo remotes: {0} format N/A N/A join result N/A N/A name result N/A N/A key N/A next N/A iter result N/A result N/A result N/A key N/A N/A mminion N/A N/A N/A salt minion MasterMinion opts N/A result N/A N/A N/A mminion states N/A git.latest remote_url rev rev branch winrepo target gittarget force_checkout True force_reset True N/A N/A winrepo_result N/A N/A result N/A name N/A result N/A result N/A N/A N/A ret update winrepo_result N/A N/A N/A N/A winrepo N/A N/A N/A N/A salt utils gitfs WinRepo opts base_dir N/A N/A N/A winrepo init_remotes remotes PER_REMOTE_OVERRIDES N/A N/A N/A winrepo fetch_remotes N/A clean N/A N/A N/A N/A winrepo clear_old_remotes N/A N/A N/A winrepo checkout N/A N/A N/A Exception N/A exc N/A N/A msg N/A N/A Failed to update winrepo_remotes: {0} format exc N/A N/A N/A log error msg exc_info_on_loglevel N/A logging DEBUG N/A msg N/A N/A N/A ret update N/A winrepo winrepo_dirs N/A ret N/A