Example #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()
Example #2
0
    def __call__(self):
        """Go through all distributions and release them if needed *and* wanted
        """
        self.get_all_distributions()
        self.filter_distros()
        if not self.offline:
            self.check_pending_local_changes()
        self.check_changes_to_be_released()
        self.ask_what_to_release()

        if not self.test and len(self.distributions) > 0:
            self.release_all()
            self._create_commit_message()
            self.update_buildout()
            # push cfg files so that jenkins gets them already
            push_cfg_files()
            self.update_batou()