Here is my 2cent,
If using mono repository, it will become very large and the history is hard to find.
But in the view of developer, I will prefer current design which per module per repo.
But if for packaging as a product (Erp), monorepo will be more acceptable because it can make a new user to easy setup and do not look for modules to setup.
However, it can do it in both.
- Still one module per repo
- Using sub repo module (.gitmodules) for product package
then provide a sh/batch script to auto pull the module
.gitmodules
[submodule âmodules/account_productâ]
path = modules/account_product
url = GitHub - tryton/account_product: Mirror of tryton account_product module
branch = 5.4
[submodule âmodules/stock_splitâ]
path = modules/stock_split
url = GitHub - tryton/stock_split: Mirror of tryton stock_split module
branch = 5.4
[submodule âmodules/stock_product_locationâ]
path = modules/stock_product_location
url = GitHub - tryton/stock_product_location: Mirror of tryton stock_product_location module
branch = 5.4
[submodule âmodules/account_invoice_stockâ]
path = modules/account_invoice_stock
url = GitHub - tryton/account_invoice_stock: Mirror of account_invoice_stock
branch = 5.4
[submodule âmodules/currencyâ]
path = modules/currency
url = GitHub - tryton/currency: Mirror of tryton currency module
branch = 5.4
[submodule âmodules/stock_lotâ]
path = modules/stock_lot
url = GitHub - tryton/stock_lot: Mirror of tryton stock_lot module
branch = 5.4
[submodule âmodules/partyâ]
path = modules/party
url = GitHub - tryton/party: Mirror of tryton party module
branch = 5.4
[submodule âmodules/countryâ]
path = modules/country
url = https://github.com/tryton/country.git
branch = 5.4
[submodule âmodules/purchaseâ]
path = modules/purchase
url = GitHub - tryton/purchase: Mirror of tryton purchase module
branch = 5.4
[submodule âmodules/saleâ]
path = modules/sale
url = GitHub - tryton/sale: Mirror of tryton sale module
branch = 5.4
[submodule âmodules/accountâ]
path = modules/account
url = GitHub - tryton/account: Mirror of tryton account module
branch = 5.4
[submodule âmodules/purchase_requestâ]
path = modules/purchase_request
url = GitHub - tryton/purchase_request: Mirror of purchase_request
branch = 5.4
[submodule âmodules/account_invoiceâ]
path = modules/account_invoice
url = GitHub - tryton/account_invoice: Mirror of tryton account_invoice module
branch = 5.4
[submodule âmodules/stockâ]
path = modules/stock
url = GitHub - tryton/stock: Mirror of tryton stock module
branch = 5.4
[submodule âmodules/purchase_requisitionâ]
path = modules/purchase_requisition
url = GitHub - tryton/purchase_requisition: Mirror of purchase_requisition
branch = 5.4
[submodule âmodules/companyâ]
path = modules/company
url = GitHub - tryton/company: Mirror of tryton company module
branch = 5.4
[submodule âmodules/productâ]
path = modules/product
url = GitHub - tryton/product: Mirror of tryton product module
branch = 5.4
[submodule âmodules/dashboardâ]
path = modules/dashboard
url = GitHub - tryton/dashboard: Mirror of tryton dashboard module
branch = 5.4