Skip to content

Add GitHub Actions release workflow and GUI batch processing#39

Open
daimpad wants to merge 2 commits into
mainfrom
claude/namescrub-anonymization-app-33mU4
Open

Add GitHub Actions release workflow and GUI batch processing#39
daimpad wants to merge 2 commits into
mainfrom
claude/namescrub-anonymization-app-33mU4

Conversation

@daimpad

@daimpad daimpad commented Jun 8, 2026

Copy link
Copy Markdown
Owner

Summary

Item 3 — GitHub Actions Release Workflow (.github/workflows/release.yml)

  • Matrix build on v*.*.* tags: Windows / macOS / Linux via PyInstaller (cli/build_exe.py)
  • Caches spaCy de_core_news_lg per OS to skip the ~560 MB re-download on cache hits
  • release job (with permissions: contents: write) downloads all three artifacts and publishes them as assets on a GitHub Release using GITHUB_TOKEN
  • workflow_dispatch input for manual test builds without pushing a tag
  • NameScrub+ modal updated: single download button replaced with three platform buttons (Windows .exe / macOS / Linux) linking directly to release asset URLs

Item 4 — GUI Batch Processing + Progress Bar (cli/namescrub_gui.py)

  • ttk.Progressbar below the text area: indeterminate mode during single-file analysis, determinate mode (per-file steps) during batch runs
  • New "Ordner verarbeiten…" button: folder picker → finds all .txt files recursively → confirm dialog with file count → background thread processes each file via anonymise(), writes <name>_anon.txt beside each original (skips files already ending in _anon)
  • Status label shows Verarbeite: filename.txt (N/total) per step; buttons locked during batch run and restored on completion

Release workflow details

Runner Output Release asset
windows-latest NameScrub.exe NameScrub-windows.exe
macos-latest NameScrub NameScrub-macos
ubuntu-latest NameScrub NameScrub-linux

Test plan

  • Push a tag: git tag v1.0.0 && git push origin v1.0.0 → release workflow triggers
  • All three build jobs complete; release created with binaries attached
  • NameScrub+ modal shows three platform download buttons
  • In namescrub_gui.py: run analysis → progress bar animates and stops
  • Click "Ordner verarbeiten…" → pick a folder with .txt files → confirm → files appear as *_anon.txt

https://claude.ai/code/session_01EVuoocp6FUTUt4jX9njQrK

- .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
@daimpad daimpad force-pushed the claude/namescrub-anonymization-app-33mU4 branch from 9b5befb to 387885a Compare June 8, 2026 09:20
- 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
@daimpad daimpad changed the title Add GitHub Actions release workflow for NameScrub+ Desktop binaries Add progress bar and batch folder processing to Desktop GUI Jun 8, 2026
@daimpad daimpad changed the title Add progress bar and batch folder processing to Desktop GUI Add GitHub Actions release workflow and GUI batch processing Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants