Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: integrate remaining installer hardening - #26

Merged
boGSer98 merged 6 commits into
19.0from
fix/integrate-remaining-installer-hardening
Jun 4, 2026
Merged

boGSer98 merged 6 commits into
19.0from
fix/integrate-remaining-installer-hardening

Conversation

@boGSer98

@boGSer98 boGSer98 commented Jun 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • Integrates the remaining installer hardening changes onto the public 19.0 branch after the stacked PRs were merged into intermediate bases
  • Adds bounded apt lock waits, Odoo core addon path fixes, UTF8/base database initialization, bounded certbot execution, website-name validation, and the /odoo/custom-addons default
  • Replaces superseded PR fix: integrate installer hardening stackΒ #25, which used the already-merged stack branch directly and showed a dirty merge state against 19.0

Root Cause

Only PR #18 was actually present on 19.0. PRs #19-#24 were merged into the stacked intermediate branches, so downloading https://raw.githubusercontent.com/boGSer98/InstallScript/19.0/odoo_install.sh still missed the later hardening commits.

Test Plan

  • python3 -m unittest tests/test_installer_features.py -v
  • bash -n odoo_install.sh
  • scripts/validate.sh
  • git diff --check

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

πŸ’‘ Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4e39aaa7c6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with πŸ‘.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread odoo_install.sh
; This is the password that allows database operations:
admin_passwd = ${OE_SUPERADMIN}
${ODOO_PORT_CONFIG}
db_name = ${ODOO_DATABASE_NAME}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Gate db_name on database initialization

When INITIALIZE_ODOO_DATABASE is set to False to keep the previous installer behavior, the generated config still pins Odoo to ODOO_DATABASE_NAME through db_name. That means installs that intentionally skip the new pre-created database can no longer use the database manager or an existing database with another name unless they also discover and override ODOO_DATABASE_NAME, so the opt-out does not fully disable the new database-selection behavior.

Useful? React with πŸ‘Β / πŸ‘Ž.

@boGSer98
boGSer98 merged commit 45e2841 into 19.0 Jun 4, 2026
2 checks passed
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.

1 participant