Commit Graph
65 Commits
Author SHA1 Message Date
Janik von Rotz 854239e07e chore(migration): update pre-migrate script to use new upgrade util import and simplify rename_xmlid call 2025-11-26 14:00:09 +01:00
Janik von Rotz 6ca90b5cb4 feat(snippet): add new subscription filter view and update snippet template
- Add new XML snippet for subscription OCA pending filter view
- Update task help text parameter from 'id' to 'name' for create-snippet command
- Add new snippet template with inherit structure and field insertion example
2025-11-24 14:42:00 +01:00
Janik von Rotz e6f79583f1 fix(templates): update manifest website URL and add new submodules for Odoo 18.0 2025-11-17 12:18:35 +01:00
Janik von Rotz a0382add31 feat(task): refactor taskfile template for improved consistency and readability
- Replace `#!/bin/bash` shebang with `#!/usr/bin/env bash` for portability
- Standardize conditional checks using `[[ ]]` instead of `[ ]`
- Remove `function` keyword from all function declarations
- Use `local` keyword for variables inside functions to limit scope
- Convert variable names to snake_case for consistency
- Improve quoting consistency by using single quotes where appropriate
- Enhance readability of help table generation and command descriptions
- Update string comparisons and loop conditions for better clarity
- Refactor build and publish functions to use local variables
- Improve error handling and output messages in publish function
- Standardize directory traversal and file checking logic in docs function
2025-11-05 17:04:47 +01:00
Janik von Rotz fb6710256a feat(task): refactor git folder management functions and improve variable scoping
- Remove `function` keyword from all function declarations for consistency
- Use `local` keyword for variables inside functions to limit scope
- Replace `test -z` and `test -n` with `[[ -z ]]` and `[[ -n ]]` for better readability
- Standardize variable naming to snake_case
- Update template variables in `odoo_revision` file
- Update `.gitmodules.csv` with new commit references for submodules
2025-11-05 10:45:49 +01:00
Janik von Rotz 7db12640cb feat(task): update documentation generation to use markdown templates and add development status
- Replace RST templates with MD templates for module documentation
- Move LICENSE copy step after OCA readme generation
- Add `development_status` field to module manifest template
- Rename `DESCRIPTION.rst`, `CONTRIBUTORS.rst`, and `USAGE.rst` to `.md` extensions
- Maintain existing documentation generation logic and structure
2025-11-04 11:20:31 +01:00
Janik von Rotz 95efe161eb feat(task): replace generate-module-docs with generate-oca-module-docs and update documentation generation
- Replace `generate-module-docs` command with `generate-oca-module-docs` for OCA-compliant README generation
- Remove redundant template copying logic from documentation generation
- Delete unused `templates/README.rst` file
- Update help table to reflect command changes
- Rename internal function `template-module-readme` for clarity
- Adjust module scaffolding logic accordingly
2025-11-04 11:09:05 +01:00
Janik von Rotz 271b45c9c9 feat(workflow): update build-and-publish workflow to target 16.0 branch
- Change trigger branch from "18.0" to "16.0"
- Maintain existing job structure and environment variables
- Ensure consistent workflow execution for correct Odoo version
2025-11-04 09:17:52 +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 0eb7f72ae7 chore(ci): add GitHub Actions workflow for building and publishing with uv 2025-10-31 15:41:36 +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 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 cf8866c464 feat(docs): snippets 2025-10-29 16:18:45 +01:00
Janik von Rotz 6fc05e6277 fix(templates): add pre-migrate.py to rename model and field in sale_subscription module 2025-10-22 17:20:24 +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 2571b417e0 feat(templates): remove configuration section from README as no additional configurations are needed 2025-10-17 15:34:25 +02:00
Janik von Rotz 4b4e205ae2 feat(templates): remove coding-guidelines.py hook from pre-commit config for Odoo 18.0 2025-10-17 14:20:54 +02:00
Janik von Rotz e712aa2ea3 feat(templates): remove coding-guidelines.py script as it is no longer needed for Odoo 18.0 2025-10-17 14:14:24 +02:00
Janik von Rotz 2921f0c1d0 feat(templates): remove redundant install function and update submodule references for Odoo 18.0 2025-10-17 13:25:04 +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 17a6016774 fix(templates): correct XML formatting and ensure newline in __init__.py 2025-09-22 10:02:47 +02:00
Janik von Rotz 74ef3f1b6e feat(task): remove unused commands and update install dependencies 2025-09-18 10:32:00 +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 3a594bea84 fix(.gitignore): ignore tmp directories and taskfiles in templates 2025-08-27 08:39:30 +02:00
Janik von Rotz d81ca76748 feat(task): add support for sourcing build binaries and create thirdparty directory 2025-08-27 08:35:29 +02:00
Janik von Rotz 5c06da6aaa feat(template): improve repository initialization with dynamic README generation 2025-08-22 16:59:11 +02:00
Janik von Rotz 5818de0059 feat(task): remove update-repo-docs command and integrate its functionality into docs command 2025-08-19 16:05:16 +02:00
Janik von Rotz 6c0f07104e fix(template): update task template and submodule references in versions/18.0 2025-06-27 17:06:54 +02:00
Janik von Rotz 952ec448ae feat(tempaltes): allow OPL-1 2025-05-19 17:33:35 +02:00
Janik von Rotz 2f0c23248f feat(templates): add conding guidelines check 2025-05-07 08:50:03 +02:00
Janik von Rotz 87425b27fd feat(templates): new inherit template 2025-05-04 10:48:07 +02:00
Janik von Rotz 135c7d66d5 feat(templates): update 2025-05-02 16:20:21 +02:00
Janik von Rotz 4283b48789 feat(version): update 15.0 refs 2025-05-01 15:06:46 +02:00
Janik von Rotz 17aa774473 feat(templates): improve help output formatting and fix typo
- Refactor help table formatting using constants
- Fix typo in docs command description
- Update CHANGELOG.md with release date
2025-04-28 18:47:30 +02:00
Janik von Rotz 4982e12199 feat: update license 2025-04-08 16:08:32 +02:00
Janik von Rotz 237f063bb1 feat(templates): convert to odoo 18.0 2025-04-05 09:18:41 +02:00
Janik von Rotz 3f588b62e3 feat(templates): lint rules 2025-03-20 16:49:16 +01:00
Janik von Rotz edba0f8103 feat: new Odoo revisions 2025-03-19 17:04:00 +01:00
Janik von Rotz d0ad954bad feat(templates): udpate from oca-addons-repo-template 2025-03-12 16:50:41 +01:00
Janik von Rotz 4524189ec1 feat: sync from 17.0 2025-03-10 16:40:22 +01:00
Janik von Rotz 8f4735c698 chore: docs 2025-03-03 11:59:18 +01:00
Janik von Rotz 6102ba5de8 feat(templates): rename docs 2025-02-24 10:39:10 +01:00
Janik von Rotz a76499a6ef feat: sync from 17.0 2025-02-24 10:24:32 +01:00
Janik von Rotz ede3eecb8d feat: sync from 18.0 2025-02-13 17:24:07 +01:00
Janik von Rotz 92d1527599 feat(templates): allow opl-1 2025-02-13 11:56:43 +01:00
Janik von Rotz 6ca3da6312 fix: snippet 2025-02-06 16:38:11 +01:00
Janik von Rotz e06cff1152 fix: author in template files 2025-02-06 13:44:13 +01:00
Janik von Rotz 9a3aaf3810 feat: support podman 2025-01-23 21:58:57 +01:00
Janik von Rotz b3f81b6228 feat: ref 2025-01-22 10:21:23 +01:00