diff options
| -rw-r--r-- | CHANGELOG.md | 15 | ||||
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | RELEASING.md | 29 | ||||
| -rw-r--r-- | parley/ctl.py | 2 | ||||
| -rw-r--r-- | parley/daemon.py | 2 | ||||
| -rw-r--r-- | parley/ibus_engine.py | 2 | ||||
| -rw-r--r-- | pyproject.toml | 7 | ||||
| -rw-r--r-- | tests/test_release_metadata.py | 4 |
8 files changed, 11 insertions, 52 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index ded7652..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,15 +0,0 @@ -# Changelog - -## 1.0.0 — 2026-07-24 - -First release of Parley. - -- Local microphone recording through FFmpeg and PipeWire Pulse compatibility. -- Local Parakeet transcription through `transcribe-cli`. -- Persistent transcript storage and clipboard fallback. -- Automatic semantic text insertion through a passthrough IBus engine. -- Animated in-field transcription indicator using IBus preedit text. -- Per-user D-Bus daemon and `parleyctl` client. -- GNOME Shell top-bar status extension. -- systemd user service and Arch Linux package recipe. -- Optional TOML configuration with system-oriented defaults. @@ -70,7 +70,7 @@ The model is not stored in this repository. The current runtime build also depen End-to-end insertion is confirmed in Firefox, Chrome, Visual Studio Code, LibreOffice, and Ghostty. Broader application and input-method results live in the [IBus test matrix](docs/IBUS_BAKEOFF.md). -See the [changelog](CHANGELOG.md) and [project specification](SPEC.md) for release details and architecture. +See the [project specification](SPEC.md) for architecture and implementation details. ## Development diff --git a/RELEASING.md b/RELEASING.md deleted file mode 100644 index 43abf88..0000000 --- a/RELEASING.md +++ /dev/null @@ -1,29 +0,0 @@ -# Releasing Parley - -1. Update the version in `pyproject.toml`, `parley/__init__.py`, and the Arch - `PKGBUILD`; update `CHANGELOG.md`. -2. Run the release checks: - - ```bash - python -m unittest discover -s tests - ruff check parley tests - ruff format --check parley tests - bash -n scripts/* packaging/arch/PKGBUILD - node --check extension/extension.js - gnome-extensions pack --force --out-dir=/tmp extension - ``` - -3. Manually test recording, cancellation, clipboard fallback, IBus insertion, - the in-field spinner, daemon restart, shortcut, and Shell extension in a - fresh GNOME session. -4. Commit the release and create an annotated tag: - - ```bash - git tag -a v1.0.0 -m "Parley 1.0.0" - git push origin main v1.0.0 - ``` - -5. Build and install `packaging/arch/PKGBUILD` after the tag is available from - GitHub. Repeat the smoke test using only packaged files. -6. Create the GitHub release from `CHANGELOG.md` and attach the Arch package if - desired. diff --git a/parley/ctl.py b/parley/ctl.py index 8ae7450..32dead2 100644 --- a/parley/ctl.py +++ b/parley/ctl.py @@ -1,5 +1,7 @@ """Thin command-line client for the Parley D-Bus daemon.""" +# ruff: noqa: E402 # GI versions must be selected before repository imports. + import argparse import sys diff --git a/parley/daemon.py b/parley/daemon.py index fe7bc29..ac76b84 100644 --- a/parley/daemon.py +++ b/parley/daemon.py @@ -1,5 +1,7 @@ """Per-user GObject/D-Bus daemon for Parley.""" +# ruff: noqa: E402 # GI versions must be selected before repository imports. + from importlib.resources import files import signal import sys diff --git a/parley/ibus_engine.py b/parley/ibus_engine.py index 92c4a4c..77f1d9e 100644 --- a/parley/ibus_engine.py +++ b/parley/ibus_engine.py @@ -1,5 +1,7 @@ """Persistent passthrough IBus engine hosted by the Parley daemon.""" +# ruff: noqa: E402 # GI versions must be selected before repository imports. + import gi gi.require_version("GLib", "2.0") diff --git a/pyproject.toml b/pyproject.toml index 93adade..9e09947 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ requires = ["setuptools>=77"] build-backend = "setuptools.build_meta" [project] -name = "parley-dictation" +name = "parley" version = "1.0.0" description = "Local-first dictation for GNOME" readme = "README.md" @@ -31,8 +31,3 @@ include = ["parley*"] [tool.pytest.ini_options] testpaths = ["tests"] - -[tool.ruff.lint.per-file-ignores] -"parley/ctl.py" = ["E402"] -"parley/daemon.py" = ["E402"] -"parley/ibus_engine.py" = ["E402"] diff --git a/tests/test_release_metadata.py b/tests/test_release_metadata.py index 60374ff..164f7c4 100644 --- a/tests/test_release_metadata.py +++ b/tests/test_release_metadata.py @@ -13,7 +13,9 @@ ROOT = Path(__file__).resolve().parent.parent class ReleaseMetadataTests(unittest.TestCase): def test_versions_are_consistent(self) -> None: with (ROOT / "pyproject.toml").open("rb") as source: - project_version = tomllib.load(source)["project"]["version"] + project = tomllib.load(source)["project"] + self.assertEqual(project["name"], "parley") + project_version = project["version"] pkgbuild = (ROOT / "packaging/arch/PKGBUILD").read_text(encoding="utf-8") package_version = re.search(r"^pkgver=(.+)$", pkgbuild, re.MULTILINE) |
