From 1ec858678111849e3ffb3332137e3c4d3eda0ff7 Mon Sep 17 00:00:00 2001 From: Enric Tobella Date: Fri, 23 Jan 2026 14:48:14 +0100 Subject: [PATCH] Update from template --- .copier-answers.yml | 13 +++++++------ .github/workflows/pre-commit.yml | 1 + .github/workflows/test.yml | 9 ++++++++- .pre-commit-config.yaml | 6 +++--- .pylintrc | 18 +++++++++--------- README.md | 20 +++++++++++--------- 6 files changed, 39 insertions(+), 28 deletions(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index 452647a..0a7b5c9 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,5 +1,5 @@ # Do NOT update manually; changes here will be overwritten by Copier -_commit: v1.35 +_commit: v1.36 _src_path: https://github.com/OCA/oca-addons-repo-template.git additional_ruff_rules: [] ci: GitHub @@ -16,12 +16,13 @@ include_wkhtmltopdf: false odoo_test_flavor: Both odoo_version: 18.0 org_name: Odoo Community Association (OCA) -org_slug: OCA-contributors +org_slug: OCA rebel_module_groups: [] -repo_description: '' -repo_name: Modules for contributors -repo_slug: contributors-module -repo_website: https://github.com/OCA-contributors/contributors-module +repo_description: Version Control Platform allows to import Git information and other + kind of contributions in your odoo system +repo_name: Version Control Platform configuration +repo_slug: version-control-platform +repo_website: https://github.com/OCA/version-control-platform use_pyproject_toml: true use_ruff: true diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 5eb021e..852a074 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -17,6 +17,7 @@ jobs: - uses: actions/setup-python@v5 with: python-version: "3.11" + cache: 'pip' - name: Get python version run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV - uses: actions/cache@v4 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 495e265..97ed5df 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -65,9 +65,16 @@ jobs: run: oca_init_test_database - name: Run tests run: oca_run_tests + - name: Upload screenshots from JS tests + uses: actions/upload-artifact@v4 + if: ${{ failure() }} + with: + name: Screenshots of failed JS tests - ${{ matrix.name }}${{ join(matrix.include) }} + path: /tmp/odoo_tests/${{ env.PGDATABASE }} + if-no-files-found: ignore - uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} - name: Update .pot files run: oca_export_and_push_pot https://x-access-token:${{ secrets.GIT_PUSH_TOKEN }}@github.com/${{ github.repository }} - if: ${{ matrix.makepot == 'true' && github.event_name == 'push' && github.repository_owner == 'OCA-contributors' }} + if: ${{ matrix.makepot == 'true' && github.event_name == 'push' && github.repository_owner == 'OCA' }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a9c18b0..3798b9d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -48,13 +48,13 @@ repos: # update the NOT INSTALLABLE ADDONS section above - id: oca-update-pre-commit-excluded-addons - id: oca-fix-manifest-website - args: ["https://github.com/OCA-contributors/contributors-module"] + args: ["https://github.com/OCA/version-control-platform"] - id: oca-gen-addon-readme args: - --addons-dir=. - --branch=18.0 - - --org-name=OCA-contributors - - --repo-name=contributors-module + - --org-name=OCA + - --repo-name=version-control-platform - --if-source-changed - --keep-source-digest - --convert-fragments-to-markdown diff --git a/.pylintrc b/.pylintrc index d103ffc..197cb67 100644 --- a/.pylintrc +++ b/.pylintrc @@ -99,22 +99,22 @@ enable=anomalous-backslash-in-string, translation-positional-used, website-manifest-key-not-valid-uri, external-request-timeout, - # messages that do not cause the lint step to fail - consider-merging-classes-inherited, + missing-manifest-dependency, + too-complex,, create-user-wo-reset-password, dangerous-filter-wo-user, - deprecated-module, file-not-used, - invalid-commit, - missing-manifest-dependency, missing-newline-extrafiles, - missing-readme, no-utf8-coding-comment, - odoo-addons-relative-import, old-api7-method-defined, - redefined-builtin, - too-complex, unnecessary-utf8-coding-comment, + # messages that do not cause the lint step to fail + consider-merging-classes-inherited, + deprecated-module, + invalid-commit, + missing-readme, + odoo-addons-relative-import, + redefined-builtin, manifest-external-assets diff --git a/README.md b/README.md index ff0013f..fcebc52 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,15 @@ +[![Support the OCA](https://odoo-community.org/readme-banner-image)](https://odoo-community.org/get-involved?utm_source=repo-readme) - -[![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) -[![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) -[![codecov](https://codecov.io/gh/OCA-contributors/contributors-module/branch/18.0/graph/badge.svg)](https://codecov.io/gh/OCA-contributors/contributors-module) - +# Version Control Platform configuration +[![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) +[![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) +[![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) +[![codecov](https://codecov.io/gh/OCA/version-control-platform/branch/18.0/graph/badge.svg)](https://codecov.io/gh/OCA/version-control-platform) +[![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) -# Modules for contributors - - +Version Control Platform allows to import Git information and other kind of contributions in your odoo system @@ -32,4 +32,6 @@ policy. Consult each module's `__manifest__.py` file, which contains a `license` that explains its license. ---- - +OCA, or the [Odoo Community Association](http://odoo-community.org/), is a nonprofit +organization whose mission is to support the collaborative development of Odoo features +and promote its widespread use.