Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DO NOT MERGE: Custom changes #1

Open
wants to merge 152 commits into
base: master
Choose a base branch
from
Open

DO NOT MERGE: Custom changes #1

wants to merge 152 commits into from

Conversation

carmenbianca
Copy link
Member

Custom changes on top of OCA#117

This PR exists to track + discuss the changes

@carmenbianca
Copy link
Member Author

The failing tests here are ultimately not very interesting.

@carmenbianca
Copy link
Member Author

In 8b8df74 I upped the prettier version for both Odoo 12 and Odoo 14. I get a super weird bug on Fedora 35 where an older version just wipes the contents of all XML files. I'm not sure how to debug that, and it'll be really annoying for development work on OCA 14.0.

Signed-off-by: Carmen Bianca Bakker <[email protected]>
The new tests were copied from the 13.0 template.

Signed-off-by: Carmen Bianca Bakker <[email protected]>
black 19.x doesn't respect trailing commas in lists

flake8 3.4.x does not run on Python <3.8.

The old prettier version doesn't behave correctly on new operating
systems (Fedora 35).

pylint-odoo 3.5.0 doesn't work on Python <3.10.

Signed-off-by: Carmen Bianca Bakker <[email protected]>
Signed-off-by: Carmen Bianca Bakker <[email protected]>
Signed-off-by: Carmen Bianca Bakker <[email protected]>
Conflicts:
	src/.github/workflows/{% if ci == 'GitHub' %}test.yml{% endif %}.jinja
	src/.github/workflows/{% if github_enable_stale_action %}stale.yml{% endif %}
sbidoul and others added 30 commits August 11, 2024 16:15
[IMP] Include .pkg in .gitignore
prettier 3.x with prettier-xml plugin is affected by prettier/prettier#15696
Ubuntu 20.04 uses Python3.8
[IMP] Set OCA_ENABLE_CHECKLOG_ODOO by default starting with Odoo 18.0
Don't enforce po pretty format that raises if a msgid has the same
value as the msgstr. As weblate has those values, it will lead
to problems.

Moreover, in some languages, some translations can have the same
value as the original language.
[FIX] oca-check-po: don't check po-pretty-format
[FIX] Move enable_checklog_odoo check outside of nested conditional
Silence ruff configuration warnings for 18
The configuration file format has changed, and
it does work well with pre-commit.

So we keep the previous version for now.
[IMP] pre-commmit: Run prettier and eslint as local hooks and update versions in v18
…ylint-odoo-to-enable-support-for-v18

[FIX] pre-commit: update pylint odoo to enable valid-odoo-versions key for v18
Update GitHub checkout action from v3 to v4 in workflow
To silence the warning message:
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Bump checkout and setup-python GitHub actions
…lid PRs, if no test are executed.

Trouble introduced since OCA#271 on V18 branch
…-test

[FIX] Add checklog-odoo configuration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.