コード例 #1
0
def get_repositories():
    gh = login()
    all_repos = [
        repo.name for repo in gh.iter_user_repos('OCA')
        if repo.name not in NOT_ADDONS
    ]
    return all_repos
コード例 #2
0
def get_repositories_and_branches(branches=BRANCHES):
    gh = login()
    for repo in gh.iter_user_repos('OCA'):
        if repo.name in NOT_ADDONS:
            continue
        for branch in repo.iter_branches():
            if branches and branch.name not in branches:
                continue
            yield repo.name, branch.name
コード例 #3
0
def get_repositories():
    ignored = set([
        'odoo-community.org',
        'community-data-files',
        'contribute-md-template',
        'website',
        ])
    gh = login()
    all_repos = [repo.name for repo in gh.iter_user_repos('OCA')
                 if repo not in ignored]
    return all_repos
コード例 #4
0
def get_repositories():
    ignored = set([
        'odoo-community.org',
        'community-data-files',
        'contribute-md-template',
        'website',
    ])
    gh = login()
    all_repos = [
        repo.name for repo in gh.iter_user_repos('OCA') if repo not in ignored
    ]
    return all_repos
コード例 #5
0
def get_repositories():
    ignored = {
        "odoo-community.org",
        "contribute-md-template",
        "maintainer-tools",
        "maintainer-quality-tools",
        "odoo-sphinx-autodoc",
        "openupgradelib",
        "connector-magento-php-extension",
        "OCB",
        "OpenUpgrade",
        "pylint-odoo",
    }
    gh = login()
    all_repos = [repo.name for repo in gh.iter_user_repos("OCA") if repo.name not in ignored]
    return all_repos
コード例 #6
0
def get_repositories():
    ignored = {
        'odoo-community.org',
        'contribute-md-template',
        'maintainer-tools',
        'maintainer-quality-tools',
        'odoo-sphinx-autodoc',
        'openupgradelib',
        'connector-magento-php-extension',
        'OCB',
        'OpenUpgrade',
        'pylint-odoo',
    }
    gh = login()
    all_repos = [repo.name for repo in gh.iter_user_repos('OCA')
                 if repo.name not in ignored]
    return all_repos
コード例 #7
0
def get_repositories():
    ignored = {
        'odoo-community.org',
        'contribute-md-template',
        'maintainer-tools',
        'maintainer-quality-tools',
        'odoo-sphinx-autodoc',
        'openupgradelib',
        'connector-magento-php-extension',
        'OCB',
        'OpenUpgrade',
        'pylint-odoo',
    }
    gh = login()
    all_repos = [repo.name for repo in gh.iter_user_repos('OCA')
                 if repo not in ignored]
    return all_repos