Skip to content

Commit

Permalink
[INIT] 18.0: Replace version numbers.
Browse files Browse the repository at this point in the history
  • Loading branch information
legalsylvain committed Sep 30, 2024
1 parent 0e9db39 commit cf9e7a4
Show file tree
Hide file tree
Showing 10 changed files with 33 additions and 30 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/documentation-commit.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# On each push in 17.0 branch,
# On each push in 18.0 branch,
# AND if the coverage file changed,
# build documentation branch and commit the changes
# so that the changes are visible on the website
Expand All @@ -8,7 +8,7 @@ name: Build and commit documentation

on:
push:
paths: ["docsource/modules160-170.rst"]
paths: ["docsource/modules170-180.rst"]

jobs:
documentation-commit:
Expand All @@ -27,7 +27,7 @@ jobs:
uses: actions/checkout@v2
with:
repository: odoo/odoo
ref: "17.0"
ref: "18.0"
fetch-depth: 1
path: odoo
- name: Configuration
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: pre-commit
on:
pull_request:
branches:
- "17.0*"
- "18.0*"
push:
branches:
- "17.0"
- "17.0-ocabot-*"
- "18.0"
- "18.0-ocabot-*"

jobs:
pre-commit:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: Test OpenUpgrade migration

on:
push:
branches: ["17.0*"]
branches: ["18.0*"]
pull_request:

jobs:
Expand Down Expand Up @@ -44,19 +44,19 @@ jobs:
run: createdb $DB
- name: DB Restore
run: |
wget -q -O- $DOWNLOADS/16.0.psql | pg_restore -d $DB --no-owner
wget -q -O- $DOWNLOADS/17.0.psql | pg_restore -d $DB --no-owner
- name: Check out Odoo
uses: actions/checkout@v2
with:
repository: odoo/odoo
ref: "17.0"
ref: "18.0"
fetch-depth: 1
path: odoo
- name: Check out previous Odoo
uses: actions/checkout@v2
with:
repository: odoo/odoo
ref: "16.0"
ref: "17.0"
fetch-depth: 1
path: odoo-old
- name: Check out OpenUpgrade
Expand Down Expand Up @@ -101,15 +101,15 @@ jobs:
# select modules and perform the upgrade
MODULES_OLD=$(\
sed -n '/^+========/,$p' \
openupgrade/docsource/modules160-170.rst \
openupgrade/docsource/modules170-180.rst \
| grep "Done\|Partial\|Nothing" \
| grep -v "theme_" \
| sed -rn 's/((^\| *\|del\| *)|^\| *)([0-9a-z_]*)[ \|].*/\3/g p' \
| sed '/^\s*$/d' \
| paste -d, -s)
MODULES_NEW=$(\
sed -n '/^+========/,$p' \
openupgrade/docsource/modules160-170.rst \
openupgrade/docsource/modules170-180.rst \
| grep "Done\|Partial\|Nothing" \
| grep -v "theme_" \
| sed -rn 's/((^\| *\|new\| *)|^\| *)([0-9a-z_]*)[ \|].*/\3/g p' \
Expand Down
2 changes: 1 addition & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ manifest-required-authors=Odoo Community Association (OCA)
manifest-required-keys=license
manifest-deprecated-keys=description,active
license-allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3
valid-odoo-versions=17.0
valid-odoo-versions=18.0

[MESSAGES CONTROL]
disable=all
Expand Down
2 changes: 1 addition & 1 deletion .pylintrc-mandatory
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ manifest-required-authors=Odoo Community Association (OCA)
manifest-required-keys=license
manifest-deprecated-keys=description,active
license-allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3
valid-odoo-versions=17.0
valid-odoo-versions=18.0

[MESSAGES CONTROL]
disable=all
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

[![Pre-commit Status](https://github.com/OCA/OpenUpgrade/actions/workflows/pre-commit.yml/badge.svg?branch=17.0)](https://github.com/OCA/OpenUpgrade/actions/workflows/pre-commit.yml?query=branch%3A17.0)
[![Build Status](https://github.com/OCA/OpenUpgrade/actions/workflows/test.yml/badge.svg?branch=17.0)](https://github.com/OCA/OpenUpgrade/actions/workflows/test.yml?query=branch%3A17.0)
[![codecov](https://codecov.io/gh/OCA/OpenUpgrade/branch/17.0/graph/badge.svg)](https://codecov.io/gh/OCA/OpenUpgrade)
[![Pre-commit Status](https://github.com/OCA/OpenUpgrade/actions/workflows/pre-commit.yml/badge.svg?branch=18.0)](https://github.com/OCA/OpenUpgrade/actions/workflows/pre-commit.yml?query=branch%3A18.0)
[![Build Status](https://github.com/OCA/OpenUpgrade/actions/workflows/test.yml/badge.svg?branch=18.0)](https://github.com/OCA/OpenUpgrade/actions/workflows/test.yml?query=branch%3A18.0)
[![codecov](https://codecov.io/gh/OCA/OpenUpgrade/branch/18.0/graph/badge.svg)](https://codecov.io/gh/OCA/OpenUpgrade)

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

Expand All @@ -23,8 +23,8 @@ Available addons
----------------
addon | version | maintainers | summary
--- | --- | --- | ---
[openupgrade_framework](openupgrade_framework/) | 17.0.1.0.0 | [![legalsylvain](https://github.com/legalsylvain.png?size=30px)](https://github.com/legalsylvain) [![StefanRijnhart](https://github.com/StefanRijnhart.png?size=30px)](https://github.com/StefanRijnhart) [![hbrunn](https://github.com/hbrunn.png?size=30px)](https://github.com/hbrunn) | Module to integrate in the server_wide_modules option to make upgrades between two major revisions.
[openupgrade_scripts](openupgrade_scripts/) | 17.0.1.0.1 | | Module that contains all the migrations analysis and scripts for migrate Odoo SA modules.
[openupgrade_framework](openupgrade_framework/) | 18.0.1.0.0 | [![legalsylvain](https://github.com/legalsylvain.png?size=30px)](https://github.com/legalsylvain) [![StefanRijnhart](https://github.com/StefanRijnhart.png?size=30px)](https://github.com/StefanRijnhart) [![hbrunn](https://github.com/hbrunn.png?size=30px)](https://github.com/hbrunn) | Module to integrate in the server_wide_modules option to make upgrades between two major revisions.
[openupgrade_scripts](openupgrade_scripts/) | 18.0.1.0.1 | | Module that contains all the migrations analysis and scripts for migrate Odoo SA modules.

[//]: # (end addons)

Expand Down
4 changes: 2 additions & 2 deletions openupgrade_scripts/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ Openupgrade Scripts

|badge1| |badge2| |badge3| |badge4| |badge5|

This module is a containers of migration script to migrate from 16.0 to
17.0 version.
This module is a containers of migration script to migrate from 17.0 to
18.0 version.

**Table of contents**

Expand Down
2 changes: 1 addition & 1 deletion openupgrade_scripts/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Odoo Community Association (OCA)",
"website": "https://github.com/OCA/OpenUpgrade",
"category": "Migration",
"version": "17.0.1.0.1",
"version": "18.0.1.0.0",
"license": "AGPL-3",
"depends": ["base"],
"images": ["static/description/banner.jpg"],
Expand Down
4 changes: 2 additions & 2 deletions openupgrade_scripts/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
This module is a containers of migration script to migrate from 16.0 to
17.0 version.
This module is a containers of migration script to migrate from 17.0 to
18.0 version.
15 changes: 9 additions & 6 deletions openupgrade_scripts/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@

/*
:Author: David Goodger ([email protected])
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
:Copyright: This stylesheet has been placed in the public domain.

Default cascading style sheet for the HTML output of Docutils.
Despite the name, some widely supported CSS2 features are used.

See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
customize this style sheet.
Expand Down Expand Up @@ -274,7 +275,7 @@
margin-left: 2em ;
margin-right: 2em }

pre.code .ln { color: grey; } /* line numbers */
pre.code .ln { color: gray; } /* line numbers */
pre.code, code { background-color: #eeeeee }
pre.code .comment, code .comment { color: #5C6576 }
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
Expand All @@ -300,7 +301,7 @@
span.pre {
white-space: pre }

span.problematic {
span.problematic, pre.problematic {
color: red }

span.section-subtitle {
Expand Down Expand Up @@ -369,8 +370,8 @@ <h1 class="title">Openupgrade Scripts</h1>
!! source digest: sha256:3cb15c664a340eb7bbf13cf5062e582f1221d6433d0f22033885de27bb1f64d4
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/OpenUpgrade/tree/17.0/openupgrade_scripts"><img alt="OCA/OpenUpgrade" src="https://img.shields.io/badge/github-OCA%2FOpenUpgrade-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/OpenUpgrade-17-0/OpenUpgrade-17-0-openupgrade_scripts"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/OpenUpgrade&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module is a containers of migration script to migrate from 16.0 to
17.0 version.</p>
<p>This module is a containers of migration script to migrate from 17.0 to
18.0 version.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
Expand Down Expand Up @@ -416,7 +417,9 @@ <h1><a class="toc-backref" href="#toc-entry-4">Credits</a></h1>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h2>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<a class="reference external image-reference" href="https://odoo-community.org">
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
</a>
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.</p>
Expand Down

0 comments on commit cf9e7a4

Please sign in to comment.