Exemplo n.º 1
0
def publish_cfg_files(debug=False):
    """Push buildout .cfg files on a remote server

    :param debug: controls how much output is shown to the user
    :type debug: bool
    """
    configure_logging(debug)
    check_connection()
    push_cfg_files()
Exemplo n.º 2
0
def update_distribution_changelog(path, debug=False):
    """Update CHANGES.rst with the git changelog

    :param path: filesystem path of the distribution about to release
    :type path: str
    :param debug: controls how much output is shown to the user
    :type debug: bool
    """
    configure_logging(debug)
    changelog = UpdateDistChangelog(path, branch='master')
    changelog()
Exemplo n.º 3
0
def full_release(
    path='src',
    test=False,
    filter_distributions=None,
    debug=False,
    offline=False,
    branch='master',
):
    """Release all distribution found on src/

    :param path: where to look for filter to release
    :type path: str
    :param test: if distributions will be released or only an overview
      about what's pending to be released
    :type test: bool
    :param filter_distributions: only distributions that match the given
      string will be considered to release (multiples can be specified
      space-separated)
    :type filter_distributions: str
    :param debug: controls how much output is shown to the user
    :type debug: bool
    :param offline: controls if network will be used (turns test on as well)
    :type offline: bool
    :param branch: which branch should be used as a base for comparsion
    :type branch: string
    """
    configure_logging(debug)
    check_connection()
    release_all = FullRelease(
        path=path,
        test=test,
        filter_distributions=filter_distributions,
        offline=offline,
        branch=branch,
    )
    release_all()