Is this a new feature request?
Wanted change
Would it be possible for the unstable and nightly tagged releases to patch in the version.py::__baseline__
The normal releases are built from the source distributions, which already patch the version.py file: https://github.com/sabnzbd/sabnzbd/blob/efecefdd3b2901aae334dede8b0fb06882bfeab9/builder/package.py#L235
The develop branch used for unstable and nightly have __baseline__ = "unknown" so SABnzbd attempts to use git rev-parse to find the commit which fails.
https://github.com/sabnzbd/sabnzbd/blob/efecefdd3b2901aae334dede8b0fb06882bfeab9/sabnzbd/__init__.py#L453-L461
Reason for change
I'd like to know which commit issue reports from the nightly or unstable releases are for to help determine if issues have already been resolved.
2025-12-12 10:50:42,434::INFO::[misc:1332] [sabnzbd.misc.run_command] Running external command: ['git', 'rev-parse', '--short', 'HEAD']
2025-12-12 10:50:42,434::DEBUG::[misc:1333] Popen arguments: {'stdout': -1, 'stderr': -2, 'bufsize': 0, 'startupinfo': None, 'creationflags': 0, 'text': True, 'encoding': 'utf8', 'errors': 'replace', 'cwd': '/app/sabnzbd'}
2025-12-12 10:50:42,436::INFO::[__init__:461] Commit = unknown
Proposed code change
I'm not sure where it all fits but sabnzbd/version.py just needs __baseline__ = "unknown" replacing with __baseline__ = "THE FULL COMMIT HASH"
Is this a new feature request?
Wanted change
Would it be possible for the unstable and nightly tagged releases to patch in the version.py::__baseline__
The normal releases are built from the source distributions, which already patch the version.py file: https://github.com/sabnzbd/sabnzbd/blob/efecefdd3b2901aae334dede8b0fb06882bfeab9/builder/package.py#L235
The develop branch used for unstable and nightly have
__baseline__ = "unknown"so SABnzbd attempts to usegit rev-parseto find the commit which fails.https://github.com/sabnzbd/sabnzbd/blob/efecefdd3b2901aae334dede8b0fb06882bfeab9/sabnzbd/__init__.py#L453-L461
Reason for change
I'd like to know which commit issue reports from the nightly or unstable releases are for to help determine if issues have already been resolved.
Proposed code change
I'm not sure where it all fits but sabnzbd/version.py just needs
__baseline__ = "unknown"replacing with__baseline__ = "THE FULL COMMIT HASH"