Commit Graph
657 Commits
Author SHA1 Message Date
Janik von Rotz 2ba9d0bbb6 feat(task): improve module upload with dynamic versioning and naming
- Use `get-module-version` to dynamically determine module version
- Extract module name using `basename` for consistent file naming
- Update zip file path to include module name and version
- Adjust upload summary to use dynamic module name and version variables
- Maintain existing upload logic and Nextcloud integration
2025-11-03 11:35:06 +01:00
Janik von Rotz 06196ac8c8 feat(docker): update build command to accept output parameter and improve platform handling
- Change `build` task signature from `[folder][--push]` to `[folder][output]`
- Replace hardcoded `--push` flag with flexible `docker_output` variable
- Standardize platform variable naming to uppercase `PLATFORM`
- Maintain existing build logic and Docker image tagging behavior
2025-11-03 09:53:42 +01:00
Janik von Rotz c2b17acbd2 feat(deps): add Odoo 19.0 support and update dependencies
- Add repo templates for Odoo 19.0 with comprehensive configuration
- Update README to include Odoo 19.0 in supported versions
- Simplify Odoo install command by removing redundant pip install step
- Add lxml_html_clean to requirements for HTML sanitization
- Add copier to requirements for repository templating
- Improve task install function with better OS-specific handling
- Update .gitignore patterns and tmp directory handling
- Set https://www.mint-system.ch/ as maintainer-tools args in pre-commit config
2025-11-01 16:53:22 +01:00
Janik von Rotz ac169401e4 revert(deps): switch back to requirements.txt and remove uv sync
- Reintroduce `requirements.txt` for Python dependencies
- Replace `uv sync --active` with `uv pip install -r requirements.txt` in install script
- Update venv directory references from `venv*` to `.venv*` in scripts and .gitignore
- Remove unused shell.nix and Nix-related documentation
- Adjust task template to use default `.venv` instead of versioned environments
2025-10-31 17:03:16 +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 d62a09404a chore(task): refactor variable declarations and exports for consistency
- Use direct export syntax for all variables
- Replace local variable assignments with exported variables
- Standardize variable naming to uppercase
- Remove redundant local declarations before export
- Improve code clarity and reduce verbosity in template generation functions
2025-10-31 11:21:53 +01:00
Janik von Rotz ae4b8fa66c chore(task): enforce bash coding conventions and modernize syntax
- Convert function declarations to use modern syntax without 'function' keyword
- Replace uppercase variable names with lowercase equivalents
- Use proper quoting for variables and command substitutions
- Replace legacy test conditions with modern [[ ]] syntax
- Update string literals to use single quotes where appropriate
- Improve readability and maintainability of bash scripts
2025-10-31 09:27:56 +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 627f56c97b feat(task): export MODULE_SUMMARY and enhance OCA readme generation with org name 2025-10-29 17:17:05 +01:00
Janik von Rotz cf8866c464 feat(docs): snippets 2025-10-29 16:18:45 +01:00
Janik von Rotz 71dff5dd68 feat(task): export PYTHONPATH and restore editable install flags 2025-10-29 14:47:16 +01:00
Janik von Rotz 3b1ac50160 feat(task): refactor environment variable handling and remove redundant container tag assignments 2025-10-28 15:20:56 +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 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 581224f515 feat(revision): release 19.0.20251021 2025-10-28 08:04:36 +01:00
Janik von Rotz 97f0798257 feat(revision): release 16.0 2025-10-28 08:01:58 +01:00
Janik von Rotz 27be0bfce6 feat(revision): release 15.0.20251021 2025-10-28 07:55:06 +01:00
Janik von Rotz a21514f1c3 fix(oca): ensure readme folder is created before copying template files
- Add mkdir command to create readme directory if it doesn't exist
- Copy readme template files after ensuring target directory exists
- Reorder commands to follow logical sequence of operations
2025-10-24 10:11:31 +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 e167a44d0a fix(core): comment out odoo-build setup with hatch-odoo in install function 2025-10-22 17:40:30 +02:00
Janik von Rotz 9dd6dbae1f fix(core): rename native to source and add hatch-odoo support
* Rename `native` option to `source` in task commands and documentation
* Add `hatch-odoo` dependency and configure pyproject.toml for Odoo builds
* Introduce `start hatch` command option for running Odoo with hatch
* Update compose template with `DB_NAME` and `DB_FILTER` environment variables
* Add `LIST_DB` environment variable with default value
* Improve install script to setup odoo-build with hatch-odoo
* Update help table and documentation to reflect new options and changes
* Add pre-migrate.py template file
2025-10-22 16:50:22 +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 b17a691389 fix(ci): add multi-platform support for odoo image build 2025-10-22 09:44:41 +02:00
Janik von Rotz 78a127e598 feat(config): replace ODOO_INIT_DEMO_DATA with WITHOUT_DEMO and refactor ir.config_parameter handling
* **BREAKING**: Replaced `ODOO_INIT_DEMO_DATA` with `WITHOUT_DEMO` to align with Odoo's native config option
* Migrate SSH key and other parameters from individual env vars to `IR_CONFIG_PARAMETER`
* Update template-odoo-rc to dynamically build `IR_CONFIG_PARAMETER` from env vars
* Adjust task script logic to use `WITHOUT_DEMO` consistently
* Update README and CHANGELOG to reflect breaking change and new usage patterns
2025-10-21 17:31:49 +02:00
Janik von Rotz fe80d58af5 feat(task): rename upgrade-module to migrate-module for consistency with odoo-module-migrator 2025-10-17 14:10:20 +02:00
Janik von Rotz 35b7862686 feat(repo): add task and workflow templates to build and publish modules as python packages 2025-10-17 11:37:14 +02:00
Janik von Rotz 4fa8b17e4d feat(revision): release 18.0.20251008 2025-10-15 16:58:46 +02:00
Janik von Rotz 9771f5a9c1 feat(odoo): replace upgrade_code with odoo-module-migrator for module upgrades 2025-10-15 15:33:55 +02:00
Janik von Rotz 21b6c9e59d feat(revision): release 18.0.20251008 2025-10-15 10:32:45 +02:00
Janik von Rotz a83f7b1176 feat(revision): release 18.0.20251008 2025-10-15 10:32:32 +02:00
Janik von Rotz 1676949553 feat(revision): release 18.0.20251008 2025-10-15 10:31:28 +02:00
Janik von Rotz 723c98c3f3 feat(odoo): add git-aggregator support and prefix entrypoint echos with ENTRYPOINT 2025-10-15 10:05:39 +02:00
Janik von Rotz 816a17cbca fix(docs,task): correct manifestoo casing and replace git pull with git fetch in revision script 2025-10-13 21:54:22 +02:00
Janik von Rotz 0b98c12840 feat(revision): release 16.0.20251008 2025-10-13 19:37:52 +02:00
Janik von Rotz 276b238228 feat(odoo): add support for automatic modules list update and improve database initialization checks
- Added `AUTO_UPDATE_MODULES_LIST` environment variable to trigger modules list update on container start
- Created new `update-modules-list` script to refresh available modules from addons path
- Introduced `check-database-initialized` utility script to verify database initialization status
- Refactored database initialization and module operations to use the new check
- Updated documentation to include new functionality and commands
- Added git-aggregator to requirements for improved dependency management
- Updated compose template and task scripts to support the new functionality
2025-09-27 14:05:33 +02:00
Janik von Rotz 5fb7b6e6d0 fix(task): remove addons/website and addons/sale_workflow submodules and update .gitmodules and versions 2025-09-22 11:57:56 +02:00
Janik von Rotz 2462524dca feat(task): create views directory and update manifest message formatting in generate-module-snippet 2025-09-22 10:11:00 +02:00
Janik von Rotz a2c680aa60 feat(task): rename scaffold commands to generate for consistency 2025-09-22 10:04:18 +02:00
Janik von Rotz ba12ca7d52 feat(docs): improve agent documentation and add oca module generation support 2025-09-17 14:18:52 +02:00
Janik von Rotz cc86142880 feat(docs): update 2025-09-17 12:00:54 +02:00
Janik von Rotz 4705e370ea feat(task): refactor task script and update documentation to improve usability and readability 2025-09-17 10:20:09 +02:00
Janik von Rotz df78f2d577 feat(task): update command for cloning addons from 'git-clone-addons' to 'clone-git-addons' 2025-09-15 14:17:13 +02:00
Janik von Rotz 712101897d feat(revision): release 18.0.20250909 2025-09-12 17:08:02 +02:00
Janik von Rotz f85591a269 feat(revision): release 18.0 2025-09-12 09:47:08 +02:00
Janik von Rotz 1455702c6a feat(revision): release 17.0.20250909 2025-09-11 16:37:33 +02:00
Janik von Rotz 1abb139ada feat(revision): release 16.0.20250909 2025-09-11 16:24:16 +02:00
Janik von Rotz 25e9eb58d9 feat(task): simplify shallow clone detection in git folder management functions 2025-09-11 15:51:30 +02:00
Janik von Rotz da249e044d feat(task): improve remove-git-folders command with confirmation prompt 2025-09-11 15:38:18 +02:00
Janik von Rotz a3da7d91bc feat(revision): release 16.0.20250819 2025-09-05 16:35:17 +02:00