コード例 #1
0
def bootstrap_issues():
    """
    Bootstraps Github issues with default configuration.
    """
    auth = github.get_auth()
    github.delete_existing_labels(auth)
    github.create_labels(auth)
    github.create_tickets(auth)
コード例 #2
0
ファイル: fabfile.py プロジェクト: ktzhu/nbn-commencement
def bootstrap_issues():
    """
    Bootstraps Github issues with default configuration.
    """
    auth = github.get_auth()
    github.delete_existing_labels(auth)
    github.create_labels(auth)
    github.create_tickets(auth)
コード例 #3
0
ファイル: issues.py プロジェクト: BenHeubl/lookatthis
def bootstrap():
    """
    Bootstraps Github issues with default configuration.
    """
    auth = github.get_auth()
    github.delete_existing_labels(auth)
    github.create_labels(auth)
    github.create_tickets(auth)
    github.create_milestones(auth)
    github.create_hipchat_hook(auth)
コード例 #4
0
def bootstrap():
    """
    Bootstraps Github issues with default configuration.
    """
    auth = github.get_auth()
    github.delete_existing_labels(auth)
    github.create_labels(auth)
    github.create_tickets(auth)
    github.create_milestones(auth)
    github.create_hipchat_hook(auth)
コード例 #5
0
ファイル: issues.py プロジェクト: livlab/anne-lister-books
def bootstrap():
    """
    Bootstraps Github issues with default configuration.
    """
    if app_config.PROJECT_SLUG == '$NEW_PROJECT_SLUG':
        print 'You can\'t run the issues bootstrap until you\'ve set PROJECT_SLUG in app_config.py!'
        return

    auth = github.get_auth()
    github.delete_existing_labels(auth)
    github.create_labels(auth)
    github.create_tickets(auth)
    github.create_milestones(auth)
コード例 #6
0
ファイル: issues.py プロジェクト: nprapps/app-template
def bootstrap():
    """
    Bootstraps Github issues with default configuration.
    """
    if app_config.PROJECT_SLUG == '$NEW_PROJECT_SLUG':
        logger.warn('You can\'t run the issues bootstrap until you\'ve set PROJECT_SLUG in app_config.py!')
        return

    auth = github.get_auth()
    github.delete_existing_labels(auth)
    github.create_labels(auth)
    github.create_tickets(auth)
    github.create_milestones(auth)
    github.create_hipchat_hook(auth)
コード例 #7
0
def from_file(path):
    """
    Import a list of a issues from any CSV formatted like default_tickets.csv.
    """
    auth = github.get_auth()
    github.create_tickets(auth, path)
コード例 #8
0
ファイル: __init__.py プロジェクト: nprapps/musicgame
def import_issues(path):
    """
    Import a list of a issues from any CSV formatted like default_tickets.csv.
    """
    auth = github.get_auth()
    github.create_tickets(auth, path)