Skip to content

Commit

Permalink
Merge pull request #603 from lefilament/remove-oca-projects
Browse files Browse the repository at this point in the history
[DEL] remove obsolete OCA_PROJECTS
  • Loading branch information
sbidoul committed Feb 3, 2024
2 parents 63ba962 + 7d4ef8f commit 451de41
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 307 deletions.
98 changes: 0 additions & 98 deletions tools/check_contrib

This file was deleted.

210 changes: 1 addition & 209 deletions tools/oca_projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
"""
Data about OCA Projects, with a few helper functions.
OCA_PROJECTS: dictionary of OCA Projects mapped to the list of related
repository names, based on
https://odoo-community.org/page/List
OCA_REPOSITORY_NAMES: list of OCA repository names
"""
Expand All @@ -21,209 +17,7 @@
from .config import NOT_ADDONS, is_main_branch
from .github_login import login

ALL = ["OCA_PROJECTS", "OCA_REPOSITORY_NAMES", "url"]

OCA_PROJECTS = {
"accounting": [
"account-analytic",
"account-budgeting",
"account-closing",
"account-consolidation",
"account-financial-tools",
"account-financial-reporting",
"account-invoice-reporting",
"account-invoicing",
"account-fiscal-rule",
"operating-unit",
"intrastat",
"mis-builder",
"currency",
"credit-control",
"data-protection",
],
# 'backport': ['OCB',
# ],
"Apps Store": ["apps-store"],
"banking": [
"bank-payment",
"account-reconcile",
"bank-statement-import",
"account-payment",
],
"community": [
"maintainer-tools",
"maintainer-quality-tools",
"runbot-addons",
],
"connector": [
"connector",
"connector-ecommerce",
"queue",
],
"connector AccountEdge": ["connector-accountedge"],
"connector CMIS": ["connector-cmis"],
"connector Infor": ["connector-infor"],
"connector Lengow": ["connector-lengow"],
"connector LIMS": ["connector-lims"],
"connector Magento": ["connector-magento"],
"connector Prestashop": ["connector-prestashop"],
"connector Sage": ["connector-sage"],
"connector Salesforce": ["connector-salesforce"],
"connector SPSCommerce": ["connector-spscommerce"],
"connector WooCommerce": ["connector-woocommerce"],
"crm sales marketing": [
"sale-workflow",
"crm",
"partner-contact",
"sale-financial",
"sale-promotion",
"sale-reporting",
"commission",
"event",
"survey",
],
"document": ["knowledge", "dms"],
"ecommerce": ["e-commerce"],
"edi": ["edi"],
"field-service": ["field-service"],
"financial control": ["margin-analysis"],
"fleet": ["fleet"],
"Infrastructure": ["infrastructure-dns"],
"geospatial": ["geospatial"],
"hr": [
"timesheet",
"hr",
"hr-attendance",
"hr-expense",
"hr-holidays",
"department",
],
"connector-odoo2odoo": ["connector-odoo2odoo"],
"multi-company": ["multi-company"],
"l10n-argentina": ["l10n-argentina"],
"l10n-austria": ["l10n-austria"],
"l10n-belarus": ["l10n-belarus"],
"l10n-belgium": ["l10n-belgium"],
"l10n-brazil": ["l10n-brazil"],
"l10n-cambodia": ["l10n-cambodia"],
"l10n-canada": ["l10n-canada"],
"l10n-chile": ["l10n-chile"],
"l10n-china": ["l10n-china"],
"l10n-colombia": ["l10n-colombia"],
"l10n-costa-rica": ["l10n-costa-rica"],
"l10n-croatia": ["l10n-croatia"],
"l10n-ecuador": ["l10n-ecuador"],
"l10n-estonia": ["l10n-estonia"],
"l10n-ethiopia": ["l10n-ethiopia"],
"l10n-finland": ["l10n-finland"],
"l10n-france": ["l10n-france"],
"l10n-germany": ["l10n-germany"],
"l10n-greece": ["l10n-greece"],
"l10n-india": ["l10n-india"],
"l10n-indonesia": ["l10n-indonesia"],
"l10n-iran": ["l10n-iran"],
"l10n-ireland": ["l10n-ireland"],
"l10n-italy": ["l10n-italy"],
"l10n-japan": ["l10n-japan"],
"l10n-luxemburg": ["l10n-luxemburg"],
"l10n-macedonia": ["l10n-macedonia"],
"l10n-mexico": ["l10n-mexico"],
"l10n-morocco": ["l10n-morocco"],
"l10n-netherlands": ["l10n-netherlands"],
"l10n-norway": ["l10n-norway"],
"l10n-peru": ["l10n-peru"],
"l10n-poland": ["l10n-poland"],
"l10n-portugal": ["l10n-portugal"],
"l10n-romania": ["l10n-romania"],
"l10n-russia": ["l10n-russia"],
"l10n-slovenia": ["l10n-slovenia"],
"l10n-spain": ["l10n-spain"],
"l10n-switzerland": ["l10n-switzerland"],
"l10n-taiwan": ["l10n-taiwan"],
"l10n-thailand": ["l10n-thailand"],
"l10n-turkey": ["l10n-turkey"],
"l10n-united-kingdom": ["l10n-united-kingdom"],
"l10n-uruguay": ["l10n-uruguay"],
"l10n-usa": ["l10n-usa"],
"l10n-venezuela": ["l10n-venezuela"],
"l10n-vietnam": ["l10n-vietnam"],
"logistics": [
"carrier-delivery",
"stock-logistics-barcode",
"stock-logistics-workflow",
"stock-logistics-tracking",
"stock-logistics-warehouse",
"stock-logistics-reporting",
"rma",
"ddmrp",
"wms",
],
"manufacturing": [
"manufacture",
"manufacture-reporting",
],
"management system": ["management-system"],
"pms": ["pms"],
"purchase": [
"purchase-workflow",
"purchase-reporting",
],
"product": [
"product-attribute",
"product-kitting",
"product-variant",
"product-pack",
],
"project / services": [
"project-reporting",
"project-service",
"project-agile",
"contract",
"program",
"business-requirement",
"connector-redmine",
"connector-jira",
],
"social": ["social"],
"storage": ["storage"],
"search-engine": ["search-engine"],
"tools": [
"reporting-engine",
"report-print-send",
"webkit-tools",
"server-tools",
"server-auth",
"server-env",
"server-backend",
"server-brand",
"server-ux",
"community-data-files",
"webhook",
"interface-github",
"iot",
"rest-framework",
"role-policy",
],
"vertical association": ["vertical-association"],
"vertical hotel": ["vertical-hotel"],
"vertical ISP": ["vertical-isp"],
"vertical edition": ["vertical-edition"],
"vertical education": ["vertical-education"],
"vertical medical": ["vertical-medical"],
"vertical NGO": [
"vertical-ngo",
# XXX
],
"vertical construction": ["vertical-construction"],
"vertical real estate": ["vertical-realestate"],
"vertical rental": ["vertical-rental"],
"vertical travel": ["vertical-travel"],
"web": ["web"],
"website": [
"website",
"website-cms",
],
}
ALL = ["OCA_REPOSITORY_NAMES", "url"]


def get_repositories():
Expand Down Expand Up @@ -254,8 +48,6 @@ def get_repositories_and_branches(repos=(), branches=(), branch_filter=is_main_b
except Exception as exc:
print(exc)
OCA_REPOSITORY_NAMES = []
for repos in OCA_PROJECTS.values():
OCA_REPOSITORY_NAMES += repos

OCA_REPOSITORY_NAMES.sort()

Expand Down

0 comments on commit 451de41

Please sign in to comment.