Repository navigation
Add offline tool revision and explicit GitHub version check - #3
Draft
SomeSunlight wants to merge 5 commits into
Draft
SomeSunlight wants to merge 5 commits into
SomeSunlight wants to merge 5 commits into
Conversation
6 tasks
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.
Implements Issue #2 using the accepted ContextCanon Development Workflow convention (CCW-014/CCW-017).
Minimal CLI, without refactoring existing export scripts
The existing
confluenceDumpToHTML.py,htmlToDoc.pyand other export/editor scripts are unchanged. Added a small, dependency-light package entry point:The same interface is available as
confluencebridge ...after package installation.--versionworks fully offline and reads the executing checkout's branch/HEAD/dirty state or the resolved installed PEP 610 Git-URL SHA. No Confluence credentials, browser, workspace, generated HTML or PDF are read or modified.Only explicit
version checkcontacts the public SomeSunlight/ConfluenceBridge GitHub API, anonymously, with bounded response/timeout. Compare exact Git commits and ancestry:up to date(exit 0),behind/ahead/diverged(exit 1),unknown(exit 2; never fabricates currency). Never updates/pulls/installs files or contacts Confluence. No credentials are transmitted.Version source correction
The documented latest release baseline was
3.0.1in CHANGELOG while the inherited packagingsetup.pystill declared0.0.1. Nowconfluence_dump.__version__is the single source used by runtime and setup.py. This has no relation to Confluence content page version numbers ormanifest.jsonschema version1.0; neither was changed.Deterministic tests and CI
--version, malformed origins/payloads, timeouts and read-only operation.7528e4a(run #42858067060). The final PLAN/STATE-only documentation checkpoint receives a fresh exact-head rerun.Owner smoke test — no full export environment necessary
Test in a temporary clone without installing anything:
Or install only the version entrypoint in a disposable Python environment:
python -m pip install --no-deps "git+https://github.com/SomeSunlight/ConfluenceBridge.git@agent/2-version-check" confluencebridge --version confluencebridge version checkThe PR branch should be
up to dateif it has not moved; comparison withmainmay correctly sayaheadwhile this change remains unmerged.ContextCanon onboarding deliberately not included: this repository currently lacks any authored/accepted Context Node. Tracking normative inheritance separately in Issue #4; this focused PR applies the already accepted rule directly and links its authoritative guidance.
Draft PR — owner approval required before squash merge.