diff --git a/.copier-answers.yml b/.copier-answers.yml index 1255ad8..106b2d3 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,8 +1,9 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v1.2.0 +_commit: v1.3.2 _src_path: https://github.com/trobz/trobz-python-template.git author_email: doaminhtri8183@gmail.com author_username: trisdoan +enable_docs_site: false enable_github_action: true package_name: trobz_local project_description: A developer tool for automating setup and management of local diff --git a/.github/actions/setup-python-env/action.yaml b/.github/actions/setup-python-env/action.yaml index 4ef2e2f..5cfb3fa 100644 --- a/.github/actions/setup-python-env/action.yaml +++ b/.github/actions/setup-python-env/action.yaml @@ -12,12 +12,12 @@ inputs: runs: using: "composite" steps: - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 with: python-version: ${{ inputs.python-version }} - name: Install uv - uses: astral-sh/setup-uv@v6 + uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 with: version: ${{ inputs.uv-version }} enable-cache: 'true' diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml index 23f50ec..659cec1 100644 --- a/.github/workflows/pre-commit.yaml +++ b/.github/workflows/pre-commit.yaml @@ -12,9 +12,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out - uses: actions/checkout@v4 + uses: actions/checkout@v6 - - uses: actions/cache@v4 + - uses: actions/cache@v5 with: path: ~/.cache/pre-commit key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 83e2283..e77a16f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -16,10 +16,14 @@ jobs: permissions: contents: write + outputs: + released: ${{ steps.release.outputs.released }} + tag: ${{ steps.release.outputs.tag }} + steps: - name: Checkout Repository on Release Branch - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ github.ref_name }} diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 70f0223..3b043e0 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -19,7 +19,7 @@ jobs: shell: bash steps: - name: Check out - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Set up the environment uses: ./.github/actions/setup-python-env diff --git a/.gitignore b/.gitignore index a98857a..e36155b 100644 --- a/.gitignore +++ b/.gitignore @@ -147,8 +147,9 @@ activemq-data/ # SageMath parsed files *.sage.py -# Environments -.env +# env files (can opt-in for committing if needed) +.env* +!.env.example .envrc .venv env/ @@ -222,3 +223,7 @@ repomix-output.xml .claude/ .opencode/ release-manifest.json + +# VIM files +.*.sw? +.*.un~ diff --git a/Makefile b/Makefile index 4372ab3..adc04b7 100644 --- a/Makefile +++ b/Makefile @@ -22,8 +22,8 @@ release-dry: ## Simulate the release process and show the next version release-stable: ## Prepare project for stable 1.0.0 release (disables 0.x.x versions) @echo "🚀 Preparing for stable release..." @sed -i 's/allow_zero_version = true/allow_zero_version = false/' pyproject.toml - @echo "✅ Updated pyproject.toml: allow_zero_version = false" - @echo "📝 Next steps:" + @echo "Updated pyproject.toml: allow_zero_version = false" + @echo "Next steps:" @echo " 1. git add pyproject.toml" @echo " 2. git commit -m 'chore: prepare for stable 1.0.0 release'" @echo " 3. Push to main - the next feat/fix commit will trigger 1.0.0" diff --git a/pyproject.toml b/pyproject.toml index fc5bcbf..28956c3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "trobz_local" version = "0.8.0" -description = "" +description = "A developer tool for automating setup and management of local Odoo development environments." authors = [{name = "trisdoan", email = "doaminhtri8183@gmail.com"}] requires-python = ">=3.10" readme = "README.md" @@ -17,7 +17,6 @@ dependencies = [ [project.urls] Repository = "https://github.com/trobz/trobz_local" - [project.scripts] tlc = "trobz_local.main:app"