Skip to content

Commit f45f8f5

Browse files
authored
Merge pull request #2 from dixmit/18.0-copier
Update from template
2 parents 31a2df8 + 1ec8586 commit f45f8f5

6 files changed

Lines changed: 39 additions & 28 deletions

File tree

.copier-answers.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Do NOT update manually; changes here will be overwritten by Copier
2-
_commit: v1.35
2+
_commit: v1.36
33
_src_path: https://github.com/OCA/oca-addons-repo-template.git
44
additional_ruff_rules: []
55
ci: GitHub
@@ -16,12 +16,13 @@ include_wkhtmltopdf: false
1616
odoo_test_flavor: Both
1717
odoo_version: 18.0
1818
org_name: Odoo Community Association (OCA)
19-
org_slug: OCA-contributors
19+
org_slug: OCA
2020
rebel_module_groups: []
21-
repo_description: ''
22-
repo_name: Modules for contributors
23-
repo_slug: contributors-module
24-
repo_website: https://github.com/OCA-contributors/contributors-module
21+
repo_description: Version Control Platform allows to import Git information and other
22+
kind of contributions in your odoo system
23+
repo_name: Version Control Platform configuration
24+
repo_slug: version-control-platform
25+
repo_website: https://github.com/OCA/version-control-platform
2526
use_pyproject_toml: true
2627
use_ruff: true
2728

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
- uses: actions/setup-python@v5
1818
with:
1919
python-version: "3.11"
20+
cache: 'pip'
2021
- name: Get python version
2122
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
2223
- uses: actions/cache@v4

.github/workflows/test.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,16 @@ jobs:
6565
run: oca_init_test_database
6666
- name: Run tests
6767
run: oca_run_tests
68+
- name: Upload screenshots from JS tests
69+
uses: actions/upload-artifact@v4
70+
if: ${{ failure() }}
71+
with:
72+
name: Screenshots of failed JS tests - ${{ matrix.name }}${{ join(matrix.include) }}
73+
path: /tmp/odoo_tests/${{ env.PGDATABASE }}
74+
if-no-files-found: ignore
6875
- uses: codecov/codecov-action@v4
6976
with:
7077
token: ${{ secrets.CODECOV_TOKEN }}
7178
- name: Update .pot files
7279
run: oca_export_and_push_pot https://x-access-token:${{ secrets.GIT_PUSH_TOKEN }}@github.com/${{ github.repository }}
73-
if: ${{ matrix.makepot == 'true' && github.event_name == 'push' && github.repository_owner == 'OCA-contributors' }}
80+
if: ${{ matrix.makepot == 'true' && github.event_name == 'push' && github.repository_owner == 'OCA' }}

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ repos:
4848
# update the NOT INSTALLABLE ADDONS section above
4949
- id: oca-update-pre-commit-excluded-addons
5050
- id: oca-fix-manifest-website
51-
args: ["https://github.com/OCA-contributors/contributors-module"]
51+
args: ["https://github.com/OCA/version-control-platform"]
5252
- id: oca-gen-addon-readme
5353
args:
5454
- --addons-dir=.
5555
- --branch=18.0
56-
- --org-name=OCA-contributors
57-
- --repo-name=contributors-module
56+
- --org-name=OCA
57+
- --repo-name=version-control-platform
5858
- --if-source-changed
5959
- --keep-source-digest
6060
- --convert-fragments-to-markdown

.pylintrc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -99,22 +99,22 @@ enable=anomalous-backslash-in-string,
9999
translation-positional-used,
100100
website-manifest-key-not-valid-uri,
101101
external-request-timeout,
102-
# messages that do not cause the lint step to fail
103-
consider-merging-classes-inherited,
102+
missing-manifest-dependency,
103+
too-complex,,
104104
create-user-wo-reset-password,
105105
dangerous-filter-wo-user,
106-
deprecated-module,
107106
file-not-used,
108-
invalid-commit,
109-
missing-manifest-dependency,
110107
missing-newline-extrafiles,
111-
missing-readme,
112108
no-utf8-coding-comment,
113-
odoo-addons-relative-import,
114109
old-api7-method-defined,
115-
redefined-builtin,
116-
too-complex,
117110
unnecessary-utf8-coding-comment,
111+
# messages that do not cause the lint step to fail
112+
consider-merging-classes-inherited,
113+
deprecated-module,
114+
invalid-commit,
115+
missing-readme,
116+
odoo-addons-relative-import,
117+
redefined-builtin,
118118
manifest-external-assets
119119

120120

README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1+
[![Support the OCA](https://odoo-community.org/readme-banner-image)](https://odoo-community.org/get-involved?utm_source=repo-readme)
12

2-
<!-- /!\ Non OCA Context : Set here the badge of your runbot / runboat instance. -->
3-
[![Pre-commit Status](https://github.com/OCA-contributors/contributors-module/actions/workflows/pre-commit.yml/badge.svg?branch=18.0)](https://github.com/OCA-contributors/contributors-module/actions/workflows/pre-commit.yml?query=branch%3A18.0)
4-
[![Build Status](https://github.com/OCA-contributors/contributors-module/actions/workflows/test.yml/badge.svg?branch=18.0)](https://github.com/OCA-contributors/contributors-module/actions/workflows/test.yml?query=branch%3A18.0)
5-
[![codecov](https://codecov.io/gh/OCA-contributors/contributors-module/branch/18.0/graph/badge.svg)](https://codecov.io/gh/OCA-contributors/contributors-module)
6-
<!-- /!\ Non OCA Context : Set here the badge of your translation instance. -->
3+
# Version Control Platform configuration
4+
[![Runboat](https://img.shields.io/badge/runboat-Try%20me-875A7B.png)](https://runboat.odoo-community.org/builds?repo=OCA/version-control-platform&target_branch=18.0)
5+
[![Pre-commit Status](https://github.com/OCA/version-control-platform/actions/workflows/pre-commit.yml/badge.svg?branch=18.0)](https://github.com/OCA/version-control-platform/actions/workflows/pre-commit.yml?query=branch%3A18.0)
6+
[![Build Status](https://github.com/OCA/version-control-platform/actions/workflows/test.yml/badge.svg?branch=18.0)](https://github.com/OCA/version-control-platform/actions/workflows/test.yml?query=branch%3A18.0)
7+
[![codecov](https://codecov.io/gh/OCA/version-control-platform/branch/18.0/graph/badge.svg)](https://codecov.io/gh/OCA/version-control-platform)
8+
[![Translation Status](https://translation.odoo-community.org/widgets/version-control-platform-18-0/-/svg-badge.svg)](https://translation.odoo-community.org/engage/version-control-platform-18-0/?utm_source=widget)
79

810
<!-- /!\ do not modify above this line -->
911

10-
# Modules for contributors
11-
12-
12+
Version Control Platform allows to import Git information and other kind of contributions in your odoo system
1313

1414
<!-- /!\ do not modify below this line -->
1515

@@ -32,4 +32,6 @@ policy. Consult each module's `__manifest__.py` file, which contains a `license`
3232
that explains its license.
3333

3434
----
35-
<!-- /!\ Non OCA Context : Set here the full description of your organization. -->
35+
OCA, or the [Odoo Community Association](http://odoo-community.org/), is a nonprofit
36+
organization whose mission is to support the collaborative development of Odoo features
37+
and promote its widespread use.

0 commit comments

Comments
 (0)