Skip to content

[15.0][MIG] web_widget_mermaid#2308

Closed
TheRealRoboHeart wants to merge 10 commits intoOCA:15.0from
TheRealRoboHeart:15.0-mig-web_widget_mermaid
Closed

[15.0][MIG] web_widget_mermaid#2308
TheRealRoboHeart wants to merge 10 commits intoOCA:15.0from
TheRealRoboHeart:15.0-mig-web_widget_mermaid

Conversation

@TheRealRoboHeart
Copy link

Migration of module web_widget_mermaid from v12.0 to v15.0

Using the last official version of module web_widget_mermaid as a base
for the migration to v15.0
Using new asset definition via manifest and changed from static
mermaid.js file to external CDN.
Removed web_widget_mermaid_default_theme.scss and
web_widget_mermaid_view.xml from mainfest (detailed description in
upcoming commits)
This file is no longer needed since assets are now defined in
manifest file.
Fixed ESLint messages. Due to issue with mermaid call, the definition
has been moved to init and was deactivated for rule 'no-undef'.
Inline comments has been moved to additional lines.
Since it seems like null values are no longer working for theme
parameter, theme has been set to 'base' and theme config can completely
move to web_widget_mermaid.js.
web_widget_mermaid_default_theme.scss will be removed in upcoming
commit.
SCSS file of default theme can be removed since the theme config moved
to web_widget_mermaid.js.
@oca-clabot
Copy link

Hey @TheRealRoboHeart, thank you for your Pull Request.

It looks like some users haven't signed our Contributor License Agreement, yet.
You can read and sign our full Contributor License Agreement here: https://odoo-community.org/page/cla
Here is a list of the users:

Appreciation of efforts,
OCA CLAbot

• Add contributor: RoboHeart
• Remove 'Upgrading' section from USAGE.rst
by oca-gen-addon-readme
@TheRealRoboHeart TheRealRoboHeart marked this pull request as ready for review September 30, 2022 12:26
Copy link
Member

@tarteo tarteo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, tested locally

@ivantodorovich
Copy link
Contributor

Thanks for the work done!

Please follow the steps described in https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-15.0#how-to to perform a migration. When migrating a module, we need to keep and respect the commit history: not simply copy & paste the code.

@bosd
Copy link
Contributor

bosd commented Dec 6, 2023

What is the status of this one?

@etobella
Copy link
Member

/ocabot rebase

@OCA-git-bot
Copy link
Contributor

@etobella The rebase process failed, because command git push --force TheRealRoboHeart tmp-pr-2308:15.0-mig-web_widget_mermaid failed with output:

remote: Repository not found.
fatal: repository 'https://github.com/TheRealRoboHeart/web/' not found

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@bosd
Copy link
Contributor

bosd commented Jan 31, 2024

@dreispt
Copy link
Member

dreispt commented Mar 2, 2024

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 15.0-ocabot-merge-pr-2308-by-dreispt-bump-nobump, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Mar 2, 2024
Signed-off-by dreispt
@OCA-git-bot
Copy link
Contributor

@dreispt The merge process could not be finalized, because command /tmp/tmp43e738b6/bin/python setup.py bdist_wheel --dist-dir /tmp/tmpigy2aeeo --bdist-dir /tmp/tmp1ez540ix --python-tag py3 failed with output:

/tmp/tmp43e738b6/lib/python3.8/site-packages/setuptools_scm/_integration/setuptools.py:30: RuntimeWarning: 
ERROR: setuptools==57.5.0 is used in combination with setuptools_scm>=8.x

Your build configuration is incomplete and previously worked by accident!
setuptools_scm requires setuptools>=61

Suggested workaround if applicable:
 - migrating from the deprecated setup_requires mechanism to pep517/518
   and using a pyproject.toml to declare build dependencies
   which are reliably pre-installed before running the build tools

  warnings.warn(
error in setup command: /tmp/tmpsb7c07ax/setup/web_widget_mermaid/odoo/addons must contain exactly one installable Odoo addon dir, found []

@dreispt
Copy link
Member

dreispt commented Mar 9, 2024

Superseded by #2763

@dreispt dreispt closed this Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants