Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

1 change: 1 addition & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
18 changes: 9 additions & 9 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[![Support the OCA](https://odoo-community.org/readme-banner-image)](https://odoo-community.org/get-involved?utm_source=repo-readme)

<!-- /!\ Non OCA Context : Set here the badge of your runbot / runboat instance. -->
[![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)
<!-- /!\ Non OCA Context : Set here the badge of your translation instance. -->
# 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)

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

# Modules for contributors


Version Control Platform allows to import Git information and other kind of contributions in your odoo system

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

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

----
<!-- /!\ Non OCA Context : Set here the full description of your organization. -->
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.
Loading