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
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
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
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
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
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
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