Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/setup-python-env/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 7 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down Expand Up @@ -222,3 +223,7 @@ repomix-output.xml
.claude/
.opencode/
release-manifest.json

# VIM files
.*.sw?
.*.un~
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -17,7 +17,6 @@ dependencies = [

[project.urls]
Repository = "https://github.com/trobz/trobz_local"

[project.scripts]
tlc = "trobz_local.main:app"

Expand Down