[us-commits] [ehb54/ultrascan3] 7eb866: fix: restrict Sphinx dirty-check to source files t...

emre brookes noreply at github.com
Mon Jun 29 11:11:47 MDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/ehb54/ultrascan3
  Commit: 7eb866b9fcef86510463852edf2b6db9c2010dce
      https://github.com/ehb54/ultrascan3/commit/7eb866b9fcef86510463852edf2b6db9c2010dce
  Author: aaron-auc <aaron at aucsolutions.com>
  Date:   2026-06-27 (Sat, 27 Jun 2026)

  Changed paths:
    M doc/manual/source/conf.py

  Log Message:
  -----------
  fix: restrict Sphinx dirty-check to source files to match revision.sh

The conf.py generate_version_metadata() was running git diff against all
tracked files with no path filter. On a macOS release build, a non-source
file (doc, script, etc.) was modified, causing conf.py to mark the build
dirty and embed Δ in the Qt Help namespace/version string — even though
revision.sh (splash screen) correctly showed no dirty flag because it
already restricts to *.h *.cpp *.ui *.qrc.

Fix: add the same -- *.h *.cpp *.ui *.qrc pathspec filter to both git diff
calls in conf.py so the dirty indicator is consistent with revision.sh.

Closes #936

Co-Authored-By: Claude Sonnet 4.6 <noreply at anthropic.com>


  Commit: 52636d73ba151811a714c312eaae23119fbc3e22
      https://github.com/ehb54/ultrascan3/commit/52636d73ba151811a714c312eaae23119fbc3e22
  Author: emre brookes <ehb54 at users.noreply.github.com>
  Date:   2026-06-29 (Mon, 29 Jun 2026)

  Changed paths:
    M doc/manual/source/conf.py

  Log Message:
  -----------
  Merge pull request #464 from ehb54/issue-936

fix: restrict Sphinx dirty-check to source files (issue #936)


Compare: https://github.com/ehb54/ultrascan3/compare/37dfa3e81496...52636d73ba15

To unsubscribe from these emails, change your notification settings at https://github.com/ehb54/ultrascan3/settings/notifications


More information about the us-commits mailing list