Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
eed0eaa
Merge pull request #16 from TigreGotico/deps
JarbasAl Feb 25, 2026
e0344f7
Increment Version to 0.2.2a1
JarbasAl Feb 25, 2026
1874ed0
Update Changelog
JarbasAl Feb 25, 2026
04fa35c
docs: add docs/ and examples/ (#22)
JarbasAl May 29, 2026
8b9d7e3
Increment Version to 0.2.2a2
JarbasAl May 29, 2026
a1d8234
Update Changelog
JarbasAl May 29, 2026
a05d49c
docs: add ROADMAP and TODO
JarbasAl May 29, 2026
91e17dd
chore: harden CI and packaging
JarbasAl May 30, 2026
dff207c
fix: correct dialect phonology transforms (#8-#12)
JarbasAl May 30, 2026
55857c2
feat: harden CI to gh-automations@dev, migrate to pyproject, add LICENSE
JarbasAl May 30, 2026
b7f074e
chore: stop tracking TODO.md and ROADMAP.md (local planning only)
JarbasAl May 30, 2026
105e26b
feat: source stress rules from orthography2ipa and ship its pt syllab…
JarbasAl Jun 11, 2026
cd36252
Increment Version to 0.3.0a1
JarbasAl Jun 11, 2026
ad4816d
Update Changelog
JarbasAl Jun 11, 2026
baf3385
fix: positional r/s realisation, prevocalic glides and coda palataliz…
JarbasAl Jun 12, 2026
d1bb86e
Increment Version to 0.3.1a1
JarbasAl Jun 12, 2026
e54c977
Update Changelog
JarbasAl Jun 12, 2026
379635f
feat: dialect-quality pass across the lusophone inventories (#27)
JarbasAl Jun 12, 2026
4647d7f
Increment Version to 0.4.0a1
JarbasAl Jun 12, 2026
25e125b
Update Changelog
JarbasAl Jun 12, 2026
fc8e504
refactor: grounded regional transform layer (#29)
JarbasAl Jun 12, 2026
e24a367
Increment Version to 0.4.0a2
JarbasAl Jun 12, 2026
5ca66bd
Update Changelog
JarbasAl Jun 12, 2026
91a8446
feat: disambiguate heterophonic homographs with bifonia (#33)
JarbasAl Jun 12, 2026
3466546
Increment Version to 0.5.0a1
JarbasAl Jun 12, 2026
0bc1d2a
Update Changelog
JarbasAl Jun 12, 2026
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
20 changes: 20 additions & 0 deletions .github/workflows/build_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Run UnitTests

on:
pull_request:
branches:
- dev
paths:
- 'tests/**'
- 'tugaphone/**'
- '.github/workflows/build_tests.yml'
workflow_dispatch:

jobs:
build_tests:
uses: OpenVoiceOS/gh-automations/.github/workflows/build-tests.yml@dev
with:
branch: dev
test_repo: false
test_location: "tests"
timeout: 15
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: bcoe/conventional-release-labels@v1
- uses: bcoe/conventional-release-labels@v1
16 changes: 16 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Code Coverage

on:
pull_request:
branches: [dev]
workflow_dispatch:

jobs:
coverage:
uses: OpenVoiceOS/gh-automations/.github/workflows/coverage.yml@dev
with:
python_version: '3.11'
coverage_source: 'tugaphone'
test_path: 'tests/'
install_extras: 'test'
min_coverage: 0
10 changes: 10 additions & 0 deletions .github/workflows/license_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: License Check

on:
pull_request:
branches: [dev]
workflow_dispatch:

jobs:
license_check:
uses: OpenVoiceOS/gh-automations/.github/workflows/license-check.yml@dev
13 changes: 13 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Lint

on:
pull_request:
branches: [dev, master]
workflow_dispatch:

jobs:
lint:
uses: OpenVoiceOS/gh-automations/.github/workflows/lint.yml@dev
with:
ruff: true
pre_commit: false # set true if .pre-commit-config.yaml exists
10 changes: 10 additions & 0 deletions .github/workflows/pip_audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: PIP Audit

on:
pull_request:
branches: [dev]
workflow_dispatch:

jobs:
pip_audit:
uses: OpenVoiceOS/gh-automations/.github/workflows/pip-audit.yml@dev
63 changes: 14 additions & 49 deletions .github/workflows/publish_stable.yml
Original file line number Diff line number Diff line change
@@ -1,58 +1,23 @@
name: Stable Release
name: Publish Stable Release

on:
workflow_dispatch:
push:
branches: [master]
workflow_dispatch:

permissions:
contents: write # required for version bump commit and release tag

jobs:
publish_stable:
uses: TigreGotico/gh-automations/.github/workflows/publish-stable.yml@master
secrets: inherit
if: github.actor != 'github-actions[bot]'
uses: OpenVoiceOS/gh-automations/.github/workflows/publish-stable.yml@dev
secrets:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
MATRIX_TOKEN: ${{ secrets.MATRIX_TOKEN }}
with:
branch: 'master'
version_file: 'tugaphone/version.py'
setup_py: 'setup.py'
publish_pypi: true
publish_release: true

publish_pypi:
needs: publish_stable
if: success() # Ensure this job only runs if the previous job succeeds
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: dev
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install Build Tools
run: |
python -m pip install build wheel
- name: version
run: echo "::set-output name=version::$(python setup.py --version)"
id: version
- name: Build Distribution Packages
run: |
python setup.py sdist bdist_wheel
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{secrets.PYPI_TOKEN}}


sync_dev:
needs: publish_stable
if: success() # Ensure this job only runs if the previous job succeeds
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
ref: master
- name: Push master -> dev
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: dev
sync_dev: true
notify_matrix: true
106 changes: 13 additions & 93 deletions .github/workflows/release_workflow.yml
Original file line number Diff line number Diff line change
@@ -1,108 +1,28 @@
name: Release Alpha and Propose Stable

on:
workflow_dispatch:
pull_request:
types: [closed]
branches: [dev]

permissions:
contents: write
pull-requests: write

jobs:
publish_alpha:
if: github.event.pull_request.merged == true
uses: TigreGotico/gh-automations/.github/workflows/publish-alpha.yml@master
secrets: inherit
if: github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch'
uses: OpenVoiceOS/gh-automations/.github/workflows/publish-alpha.yml@dev
secrets:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
MATRIX_TOKEN: ${{ secrets.MATRIX_TOKEN }}
with:
branch: 'dev'
version_file: 'tugaphone/version.py'
setup_py: 'setup.py'
update_changelog: true
publish_prerelease: true
propose_release: true
changelog_max_issues: 100

notify:
if: github.event.pull_request.merged == true
needs: publish_alpha
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Send message to Matrix bots channel
id: matrix-chat-message
uses: fadenb/matrix-chat-message@v0.0.6
with:
homeserver: 'matrix.org'
token: ${{ secrets.MATRIX_TOKEN }}
channel: '!WjxEKjjINpyBRPFgxl:krbel.duckdns.org'
message: |
new ${{ github.event.repository.name }} PR merged! https://github.com/${{ github.repository }}/pull/${{ github.event.number }}

publish_pypi:
needs: publish_alpha
if: success() # Ensure this job only runs if the previous job succeeds
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: dev
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install Build Tools
run: |
python -m pip install build wheel
- name: version
run: echo "::set-output name=version::$(python setup.py --version)"
id: version
- name: Build Distribution Packages
run: |
python setup.py sdist bdist_wheel
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{secrets.PYPI_TOKEN}}


propose_release:
needs: publish_alpha
if: success() # Ensure this job only runs if the previous job succeeds
runs-on: ubuntu-latest
steps:
- name: Checkout dev branch
uses: actions/checkout@v4
with:
ref: dev

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Get version from setup.py
id: get_version
run: |
VERSION=$(python setup.py --version)
echo "VERSION=$VERSION" >> $GITHUB_ENV

- name: Create and push new branch
run: |
git checkout -b release-${{ env.VERSION }}
git push origin release-${{ env.VERSION }}

- name: Open Pull Request from dev to master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# Variables
BRANCH_NAME="release-${{ env.VERSION }}"
BASE_BRANCH="master"
HEAD_BRANCH="release-${{ env.VERSION }}"
PR_TITLE="Release ${{ env.VERSION }}"
PR_BODY="Human review requested!"

# Create a PR using GitHub API
curl -X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: token $GITHUB_TOKEN" \
-d "{\"title\":\"$PR_TITLE\",\"body\":\"$PR_BODY\",\"head\":\"$HEAD_BRANCH\",\"base\":\"$BASE_BRANCH\"}" \
https://api.github.com/repos/${{ github.repository }}/pulls

publish_pypi: true
notify_matrix: true
12 changes: 12 additions & 0 deletions .github/workflows/repo-health.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Repo Health

on:
pull_request:
branches: [dev, master]
workflow_dispatch:

jobs:
repo_health:
uses: OpenVoiceOS/gh-automations/.github/workflows/repo-health.yml@dev
with:
version_file: 'tugaphone/version.py'
27 changes: 27 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Byte-compiled / optimized
__pycache__/
*.py[cod]

# Distribution / packaging
build/
dist/
*.egg-info/
.eggs/
*.egg

# Test / coverage
.coverage
.coverage.*
htmlcov/
.pytest_cache/
.ruff_cache/

# Venv
.venv/
venv/
.env

# Agent pipeline / local-only docs (not part of the published package)
AGENTS.md
TODO.md
ROADMAP.md
50 changes: 41 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,60 @@
# Changelog

## [0.2.0a2](https://github.com/TigreGotico/tugaphone/tree/0.2.0a2) (2026-02-06)
## [0.5.0a1](https://github.com/TigreGotico/tugaphone/tree/0.5.0a1) (2026-06-12)

[Full Changelog](https://github.com/TigreGotico/tugaphone/compare/0.2.0a1...0.2.0a2)
[Full Changelog](https://github.com/TigreGotico/tugaphone/compare/0.4.0a2...0.5.0a1)

**Merged pull requests:**

- Configure Renovate [\#3](https://github.com/TigreGotico/tugaphone/pull/3) ([renovate[bot]](https://github.com/apps/renovate))
- feat: disambiguate heterophonic homographs with bifonia [\#33](https://github.com/TigreGotico/tugaphone/pull/33) ([JarbasAl](https://github.com/JarbasAl))

## [0.2.0a1](https://github.com/TigreGotico/tugaphone/tree/0.2.0a1) (2026-02-06)
## [0.4.0a2](https://github.com/TigreGotico/tugaphone/tree/0.4.0a2) (2026-06-12)

[Full Changelog](https://github.com/TigreGotico/tugaphone/compare/0.1.0a1...0.2.0a1)
[Full Changelog](https://github.com/TigreGotico/tugaphone/compare/0.4.0a1...0.4.0a2)

**Merged pull requests:**

- feat: regional accent transformations [\#1](https://github.com/TigreGotico/tugaphone/pull/1) ([JarbasAl](https://github.com/JarbasAl))
- refactor: grounded regional transform layer [\#29](https://github.com/TigreGotico/tugaphone/pull/29) ([JarbasAl](https://github.com/JarbasAl))

## [0.1.0a1](https://github.com/TigreGotico/tugaphone/tree/0.1.0a1) (2026-02-06)
## [0.4.0a1](https://github.com/TigreGotico/tugaphone/tree/0.4.0a1) (2026-06-12)

[Full Changelog](https://github.com/TigreGotico/tugaphone/compare/0.0.2...0.1.0a1)
[Full Changelog](https://github.com/TigreGotico/tugaphone/compare/0.3.1a1...0.4.0a1)

**Merged pull requests:**

- feat: new phonemizer + postag backends [\#4](https://github.com/TigreGotico/tugaphone/pull/4) ([JarbasAl](https://github.com/JarbasAl))
- feat: dialect-quality pass across the lusophone inventories [\#27](https://github.com/TigreGotico/tugaphone/pull/27) ([JarbasAl](https://github.com/JarbasAl))

## [0.3.1a1](https://github.com/TigreGotico/tugaphone/tree/0.3.1a1) (2026-06-12)

[Full Changelog](https://github.com/TigreGotico/tugaphone/compare/0.3.0a1...0.3.1a1)

**Merged pull requests:**

- fix: positional r/s realisation, prevocalic glides and coda palatalization in the rule cascade [\#26](https://github.com/TigreGotico/tugaphone/pull/26) ([JarbasAl](https://github.com/JarbasAl))

## [0.3.0a1](https://github.com/TigreGotico/tugaphone/tree/0.3.0a1) (2026-06-11)

[Full Changelog](https://github.com/TigreGotico/tugaphone/compare/0.2.2a2...0.3.0a1)

**Merged pull requests:**

- feat: source stress rules from orthography2ipa and ship its pt syllabifier [\#25](https://github.com/TigreGotico/tugaphone/pull/25) ([JarbasAl](https://github.com/JarbasAl))

## [0.2.2a2](https://github.com/TigreGotico/tugaphone/tree/0.2.2a2) (2026-05-29)

[Full Changelog](https://github.com/TigreGotico/tugaphone/compare/0.2.2a1...0.2.2a2)

**Merged pull requests:**

- docs: add docs/ and examples/ [\#22](https://github.com/TigreGotico/tugaphone/pull/22) ([JarbasAl](https://github.com/JarbasAl))

## [0.2.2a1](https://github.com/TigreGotico/tugaphone/tree/0.2.2a1) (2026-02-25)

[Full Changelog](https://github.com/TigreGotico/tugaphone/compare/0.2.1...0.2.2a1)

**Merged pull requests:**

- refactor: upstream some logic to dependencies [\#16](https://github.com/TigreGotico/tugaphone/pull/16) ([JarbasAl](https://github.com/JarbasAl))



Expand Down
Loading