Skip to content
This repository has been archived by the owner on Apr 13, 2020. It is now read-only.

Commit

Permalink
[DCK] Remove outdated samples
Browse files Browse the repository at this point in the history
- `l10n-spain` was never a good sample, since only Spanish projects would have it. Since Tecnativa/doodba#86 it's simply not needed in most cases. Devs can check the docs to know the structure, and a vscode snippet has been added. Thus, it can be removed from here.
- `checksumdir` is not used anymore in `module_auto_update` since OCA/server-tools#1190.
- `xlsxwriter` is included in Odoo 10+.
- `requests` is included in Odoo 8+.
  • Loading branch information
yajo committed Feb 26, 2019
1 parent 6ab246b commit c2252fe
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 14 deletions.
20 changes: 20 additions & 0 deletions .vscode/doodba.code-snippets
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// See spec in https://code.visualstudio.com/docs/editor/userdefinedsnippets
{
// See https://github.com/Tecnativa/doodba#optodoocustomsrcreposyaml
"Git aggregator repo": {
"prefix": "repo",
"scope": "yaml",
"body": [
"${10:repo-name}:",
"\tdefaults:",
"\t\tdepth: \\$DEPTH_MERGE",
"\tremotes:",
"\t\t${40:origin}: ${30:https://github.com/${20:OCA}/${10}.git}",
"\ttarget: ${40} \\$ODOO_VERSION",
"\tmerges:",
"\t\t- ${40} \\$ODOO_VERSION",
"\t\t- ${40} refs/pull/${50:1234}/head",
],
"description": "For Loop"
}
}
3 changes: 0 additions & 3 deletions odoo/custom/dependencies/pip.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
checksumdir
git+https://github.com/OCA/openupgradelib.git@master
unicodecsv
unidecode
requests
xlsxwriter
12 changes: 1 addition & 11 deletions odoo/custom/src/repos.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Odoo is always required
# See https://github.com/Tecnativa/doodba#optodoocustomsrcreposyaml
./odoo:
defaults:
# Shallow repositories ($DEPTH_DEFAULT=1) are faster & thinner
Expand All @@ -15,14 +16,3 @@
- ocb $ODOO_VERSION
# Example of a merge of the PR with the number <PR>
# - oca refs/pull/<PR>/head

# Example of an OCA repository
./l10n-spain:
defaults:
depth: $DEPTH_DEFAULT
remotes:
oca: https://github.com/OCA/l10n-spain.git
target:
oca $ODOO_VERSION
merges:
- oca $ODOO_VERSION

0 comments on commit c2252fe

Please sign in to comment.