Add GitHub Actions release workflow and GUI batch processing#39
Open
daimpad wants to merge 2 commits into
Open
Add GitHub Actions release workflow and GUI batch processing#39daimpad wants to merge 2 commits into
daimpad wants to merge 2 commits into
Conversation
- .github/workflows/release.yml: matrix build (Windows/macOS/Linux) on v*.*.* tags via PyInstaller; caches spaCy de_core_news_lg per OS to avoid repeated 560 MB downloads; release job attaches all three binaries to a GitHub Release using GITHUB_TOKEN - NameScrub+ modal: replace single download button with three platform-specific buttons (Windows .exe / macOS / Linux) linking directly to release asset URLs - workflow_dispatch input for manual test builds https://claude.ai/code/session_01EVuoocp6FUTUt4jX9njQrK
9b5befb to
387885a
Compare
- ttk.Progressbar below the text area: indeterminate mode during single- file analysis, determinate mode (per-file steps) during batch runs - "Ordner verarbeiten…" button opens a folder picker, finds all .txt files recursively, confirms with the user (count shown), then processes each file via anonymise() in a background thread writing <name>_anon.txt next to each original; already-anonymised files (_anon suffix) are skipped automatically - UI buttons locked during batch run and restored on completion; status label shows "Verarbeite: filename.txt (N/total)" per step - Both features use the existing threading pattern; no CLI changes https://claude.ai/code/session_01EVuoocp6FUTUt4jX9njQrK
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Item 3 — GitHub Actions Release Workflow (
.github/workflows/release.yml)v*.*.*tags: Windows / macOS / Linux via PyInstaller (cli/build_exe.py)de_core_news_lgper OS to skip the ~560 MB re-download on cache hitsreleasejob (withpermissions: contents: write) downloads all three artifacts and publishes them as assets on a GitHub Release usingGITHUB_TOKENworkflow_dispatchinput for manual test builds without pushing a tagItem 4 — GUI Batch Processing + Progress Bar (
cli/namescrub_gui.py)ttk.Progressbarbelow the text area: indeterminate mode during single-file analysis, determinate mode (per-file steps) during batch runs.txtfiles recursively → confirm dialog with file count → background thread processes each file viaanonymise(), writes<name>_anon.txtbeside each original (skips files already ending in_anon)Verarbeite: filename.txt (N/total)per step; buttons locked during batch run and restored on completionRelease workflow details
windows-latestNameScrub.exeNameScrub-windows.exemacos-latestNameScrubNameScrub-macosubuntu-latestNameScrubNameScrub-linuxTest plan
git tag v1.0.0 && git push origin v1.0.0→ release workflow triggersnamescrub_gui.py: run analysis → progress bar animates and stops.txtfiles → confirm → files appear as*_anon.txthttps://claude.ai/code/session_01EVuoocp6FUTUt4jX9njQrK