Commit Graph
141 Commits
Author SHA1 Message Date
Janik von Rotz bdd83120b7 fix(task): ensure migration script continues on update-module failure
- Modify `migrate` function to prevent exit on `update-module` command failure
- Adjust `remove-ssh-key` script to improve SSH agent detection and cleanup
- Maintain compatibility with existing SSH key handling behavior
2025-11-24 13:50:34 +01:00
Janik von Rotz 84ac8aa1d9 feat(revision): release 19.0.20251121 2025-11-24 13:38:04 +01:00
Janik von Rotz a5a5b9dd28 fix(odoo): add enterprise path to addons path configuration 2025-11-17 21:50:28 +01:00
Janik von Rotz 69f31d8f61 fix(odoo): improve version regex matching and update documentation 2025-11-17 21:47:54 +01:00
Janik von Rotz 2bd0adb099 feat(odoo): support multi-line ADDONS_GIT_REPOS and update documentation 2025-11-14 07:58:37 +01:00
Janik von Rotz d46802c670 feat(ssh): add support for configurable SSH key algorithm and improve key handling 2025-11-13 19:42:04 +01:00
Janik von Rotz 1b5c16d0f1 feat(revision): introduce ODOO_ENTERPRISE_PATH environment variable to configure enterprise modules path 2025-11-10 17:05:57 +01:00
Janik von Rotz 8cab4c9c4e feat(revision): introduce ODOO_ENTERPRISE_PATH environment variable to configure enterprise modules path 2025-11-10 17:03:32 +01:00
Janik von Rotz 4a0528f347 feat(revision): add support for WITHOUT_DEMO environment variable to skip demo data during tests 2025-11-07 17:40:52 +01:00
Janik von Rotz 4e63b479ff feat(revision): add support for WITHOUT_DEMO environment variable to skip demo data during init 2025-11-07 17:33:20 +01:00
Janik von Rotz 2d7dedfaa4 feat(revision): replace find command with ripgrep for faster manifest search 2025-11-07 11:27:57 +01:00
Janik von Rotz b0e413129d feat(revision): update odoo image tags to 20251106 and streamline checkout process 2025-11-07 11:13:50 +01:00
Janik von Rotz 47ec9d982c feat(docker): add ripgrep to odoo image dependencies 2025-11-07 11:01:57 +01:00
Janik von Rotz 0bf782b78f feat(task): add aggregate-git-folders command and improve activate-venv handling
- Add new command `aggregate-git-folders` to run gitaggregate for provided repos.yaml
- Make `activate-venv` a default call for all commands by moving it to the main execution block
- Remove redundant `activate-venv` calls from individual functions
- Improve `activate-venv` function with better error handling and messaging
- Update CHANGELOG.md to reflect the changes
- Fix regex pattern in install-requirements for requirements.txt file detection
- Set default language for Odoo initialization via environment variable
- Remove deprecated `activate-venv` call from version command
2025-11-07 10:54:55 +01:00
Janik von Rotz be51a8263a feat(odoo): support multiline PYTHON_INSTALL and update test dependencies
- Extend `PYTHON_INSTALL` parsing to handle both comma and newline-separated formats
- Update documentation to reflect new multiline support for `PYTHON_INSTALL`
- Modify `install-python-packages` script to differentiate between input formats
- Update test case to use `prometheus-client,pyjwt` as example dependencies
- Improve flexibility for users specifying multiple Python packages via env var
2025-11-05 14:23:02 +01:00
Janik von Rotz 264a19e11b feat(odoo): update image tag to generic version and simplify documentation examples
- Replace specific image tags with generic `18.0` tag in README.md
- Simplify docker-compose and Dockerfile examples to use stable tag
- Improve clarity and maintainability of image customization instructions
2025-11-05 13:51:11 +01:00
Janik von Rotz 4a1edfa5fe feat(odoo): improve addons path resolution and update documentation
- Refactor `set-addons-path` script to use more robust manifest filtering
- Filter modules by Odoo version using `ripgrep` for better performance
- Ensure unique and sorted addon paths in final configuration
- Update `README.md` with detailed `pyproject.toml` example
- Document `repos.yml` usage for git-aggregator
- Improve code readability and maintainability in path resolution logic
2025-11-05 13:50:19 +01:00
Janik von Rotz e8072520e8 feat(task): remove setup-mail command and move script to Odoo image
- Removed `setup-mail` command from taskfile
- Moved `setup-mail` script to Odoo image scripts directory
- Updated Dockerfile to copy `setup-mail` from new location
- Updated README to reflect new location of `setup-mail` script
- Modified `init-db` script to conditionally execute mail setup only when database is initialized
- Added proper shebang line to `setup-mail` script
2025-11-05 08:35:56 +01:00
Janik von Rotz cd8d807a9d feat(odoo): update README with sorted paths and linked scripts
- Reorder image paths alphabetically for better readability
- Add GitHub links to all listed management scripts
- Maintain existing documentation structure and content accuracy
2025-11-03 10:29:28 +01:00
Janik von Rotz 3039bc07df feat(odoo): add script to install Python packages with uv and PyPi check 2025-11-03 10:09:00 +01:00
Janik von Rotz 70b69876de feat(odoo): standardize log function calls in download-git-archive script
- Replace `log_entrypoint` with `log-entrypoint` for consistency
- Ensure uniform error and info logging throughout the script
- Maintain existing functionality and download logic
2025-11-03 09:50:52 +01:00
Janik von Rotz 46156c7066 chore(deps): migrate from requirements.txt to pyproject.toml and uv lock
- Remove `requirements.txt` in favor of `pyproject.toml` dependencies
- Add `uv.lock` file for dependency resolution
- Update `task` script to use `uv sync --active` instead of `uv pip install -r requirements.txt`
- Replace `install-python-packages` script with `sync-python-project` in Odoo image
- Modify Python package installation logic in Odoo container to use `uv sync` with `pyproject.toml`
- Adjust test cases in `task` script to validate new Python project syncing
- Update documentation to reflect changes in Python dependency management
2025-10-31 13:44:13 +01:00
Janik von Rotz 7c45c00f02 docs(agents): expand coding conventions and environment tooling guidelines 2025-10-30 17:06:33 +01:00
Janik von Rotz edb4822012 feat(images/odoo): optimize enterprise module download and update dependencies
- Refactor download-git-archive script to skip redundant downloads using .last_ref tracking
- Enforce bash coding conventions: lowercase variables, proper quoting, and modern conditionals
- Update enterprise, odoo, and themes submodule references
- Bump Python version from 3.10 to 3.11 for version 17.0
2025-10-30 14:19:34 +01:00
Janik von Rotz aaa23bde68 chore(odoo): refine database initialization and SSH key removal logic 2025-10-29 20:12:49 +01:00
Janik von Rotz 069648b278 feat(images/odoo): enforce bash coding conventions and improve git config handling
- Enforce bash coding conventions across all scripts as outlined in new AGENTS.md
- Convert local variables to lowercase and use proper quoting
- Update conditionals to use `[[ ... ]]` and remove `function` keyword
- Add support for setting git author name and email via env vars
- Improve SSH key handling and git operations
- Update documentation and changelog to reflect changes
2025-10-29 19:03:23 +01:00
Janik von Rotz b1a0769e5a feat(odoo): update addons git repos and database version to 18.0 2025-10-28 17:58:30 +01:00
Janik von Rotz f565b36a85 feat(odoo): improve logging and path resolution in set-addons-path script 2025-10-28 17:48:41 +01:00
Janik von Rotz 33feedad16 feat(odoo): update default values for LOGFILE and gevent memory limits 2025-10-28 15:33:29 +01:00
Janik von Rotz 83c7e03b35 feat(odoo): remove editable install flag and update enterprise module path 2025-10-28 13:27:59 +01:00
Janik von Rotz d4812df5e6 feat(readme): remove outdated build workflow badge from odoo image documentation 2025-10-28 08:58:30 +01:00
Janik von Rotz 82feb22ef0 feat(readme): add build workflow badge to odoo image documentation 2025-10-28 08:56:57 +01:00
Janik von Rotz d1eeaaa833 feat(revision): remove support for Odoo 14.0 and add version check command 2025-10-28 08:21:33 +01:00
Janik von Rotz 27be0bfce6 feat(revision): release 15.0.20251021 2025-10-28 07:55:06 +01:00
Janik von Rotz e6ea6f1f35 docs(odoo): add documentation section listing management scripts
- Document all Odoo management scripts available in the image
- Organize script names in alphabetical order for easier reference
- Place new section under existing "Scripts" heading for clarity
2025-10-24 12:58:29 +02:00
Janik von Rotz 6bc1dc0dd8 fix(odoo): prepend extra-addons and enterprise paths in set-addons-path script
- Update log messages to reflect that paths are prepended rather than appended
- Remove redundant conditional check and streamline addons path combination
- Add test case for set-addons-path execution and addons path validation
2025-10-24 09:57:10 +02:00
Janik von Rotz c5a4861b8d fix(odoo): enhance addons path resolution with logging and version filtering 2025-10-24 09:50:29 +02:00
Janik von Rotz 9685115a78 fix(ci): add odoo image test step and improve ssh key handling scripts
* Add `test-image` step in build workflow to validate Odoo image before push
* Improve logging in `add-ssh-key` script by clarifying log message
* Enhance `remove-ssh-key` script with safety checks for SSH agent and file existence
* Fix typo in `test-image` task function for correct image path matching
* Clean up unnecessary blank line in `test-image` task function
2025-10-22 11:46:25 +02:00
Janik von Rotz 22653d3c85 fix(scripts): improve clone-git-addons script reliability and logging
* Remove `set -e` to prevent premature exit on non-error conditions (e.g., git pull with no changes)
* Enhance logging by displaying the full Git URL instead of partial components
* Maintain consistent behavior during addon repository cloning and pulling operations
2025-10-22 09:49:53 +02:00
Janik von Rotz 13665f7cf6 fix(tests): streamline requirement installation and improve script reliability 2025-10-22 09:40:29 +02:00
Janik von Rotz 198b04b2d3 fix(config): replace slimsearch with search plugin and update dependencies
* Switch from `@vuepress/plugin-slimsearch` to `@vuepress/plugin-search` for better search functionality
* Update `LOG_HANDLER` syntax in README.md to remove array notation
* Add `@vuepress/plugin-search` dependency and update lockfile
* Align with cleaner search plugin configuration pattern
2025-10-21 21:01:57 +02:00
Janik von Rotz 50a4751424 fix(scripts): remove redundant log entry in init-db script
* Remove unnecessary debug log statement that was cluttering the output
* Keep only essential logging for database existence check
* Align with cleaner logging practices used elsewhere in the codebase
2025-10-21 20:15:37 +02:00
Janik von Rotz 76a8a75f20 fix(scripts): add set -e to all shell scripts and correct variable assignments in template-odoo-rc 2025-10-21 19:59:34 +02:00
Janik von Rotz c65efae758 fix(config): add missing DB_NAME environment variable assignment in template-odoo-rc
* Introduce `DB_NAME` with empty string as default value to align with other environment variable assignments
* Ensure consistency in environment variable declaration pattern within the template script
2025-10-21 19:23:25 +02:00
Janik von Rotz 349c4c87e2 fix(docs): correct typos and improve clarity in README.md
* Fix trailing whitespace in addons path list
* Clarify that `ADDITIONAL_ODOO_RC` is added to the options section of odoo.conf
* Align description with actual implementation for better user understanding
2025-10-21 18:20:13 +02:00
Janik von Rotz 47fde7fec2 fix(config): correct LOG_HANDLER and LOGFILE variable assignments in template-odoo-rc
* Fix incorrect assignment of `LOG_HANDLER` and `LOGFILE` which were mistakenly using `LIST_DB`'s value
* Ensure each environment variable is assigned its intended default value
* Align with existing pattern of self-referential default assignments for consistency
2025-10-21 18:18:21 +02:00
Janik von Rotz 6471ef10bd fix(docs): correct typos and improve clarity in README.md
* Fix typo: "Not that" → "Note that"
* Improve description of `ODOO_ADDONS_PATH` with clearer default paths
* Clarify module loading paths and their purposes
* Standardize capitalization for "community edition" and "enterprise"
2025-10-21 18:06:29 +02:00
Janik von Rotz 5509aaeede feat(config): add support for custom odoo.conf sections via env vars
- Introduce `ADDITIONAL_ODOO_RC` to append custom config to main section
- Introduce `IR_CONFIG_PARAMETER` to append to ir config section
- Move SSH key parameters from separate variables to `IR_CONFIG_PARAMETER`
- Update documentation and examples for new configuration options
- Fix inconsistent heading in README from "Test" to "Testing"
2025-10-21 17:26:34 +02:00
Janik von Rotz 0fbbd5e1b3 feat(config): reorganize environment variables in template-odoo-rc
- Move SMTP and email-related variables to top section for better readability
- Add new environment variables: DB_MAXCONN, WITHOUT_DEMO
- Remove duplicate SMTP and email variable declarations from lower section
- Maintain existing default values and structure
2025-10-21 17:03:59 +02:00
Janik von Rotz 26b1f56d7f feat(revision): release 18.0.20251008 2025-10-21 11:55:26 +02:00