Releases: BobKerns/xontrib-xgit
v0.0.7
v0.0.6
What’s Changed
v0.0.5 was a major screwup, with a bug introduced between manual testing and automated & release, and has been withdrawn. My apologies, if I have any early users at this stage!
Repair was greatly hindered by the presence of multiple Heisentests, including one that only occurred
on CI, when triggered for PR but not for push, and only for python before 3.12. Details are below if interested.
🚀 Features
Most planned features haven't been gotten to yet, thanks to chasing Prof. Heisenberg back and forth.
I finally caught him! So thing can proceed in a more orderly pace. Writing tests is now simpler as well.,
so I expect to achieve continuous improvement in reliability. Overall test coverage is at 68%, but critical
areas remain.
- Prepare for release 0.0.6
- New command
Invoker
/Runner
protocol that allows proper session injection
with proper scoping. This incorporates signature-based adaption, e.g. to command-lines,
and ultimately, automatic parsing/type converting of command-line arguments. - A large enough collection of tests to require remodularizing the collection, but not enough
to catch everything that is arising regularly. Switching directories is a current sore spot needing
attention from automated integration testing. - Object size is always an integer now (-1 for N/A).
- Specific GitException exceptions are now thrown for specific situations.
- Don't die when worktree is detached.
- Try to make bullet-proof against detached worktrees.
- This turns out to be critical in CI, which uses shallow clones and detached wortrees.
- Remove test of xgit pwd,.
- This just returns $XGIT now
- the test was orders of magnitude more complex than the SUT.
- Remove module-unloading from tests. This was helpful in isolating tests wen globals were being set during loading, but it introduces HeisenTests when old code (from a prior module loading) remains registered and encountered an exception (or other need for
isinstance
) coming from a new loading of the modules. The primary symptom is try/catch fails to catch what ought be caught. It's all for naught.
We have very limited global state (event handlers, etc.), and we've expunged tests which depend on those, so it's load once and go hence and try not to break anything in the test repo.
But this reveals that many tests are sensitive to the detached state of the CI repo, rather than operating entirely in their own test repo.
This is, unfortunately, out of our control, as it happens at code loading/initialization time.
We'll have to add detached state tests for the code that runs at load time (it's not specific to load time), to be sure to catch these before sending off to CI. - Add
.envrc
fordirenv
. Wthdirenv
the proper virtual environment will be activated when youcd
into the corktree. - If no commit, raise GitNoCheckoutException.
- Events are now fired if the repo, worktree, branch, or commit are changed.
From 0.0.5:
- Allow upward tree navigation.
- Introduce xgit prefix command.
- Add table views
- Much reorganization to facilitate new features.
[0.0.5 still exists on PyPi, since releases can't be withdrawn for global supply-chain-security reasons.
]
v0.0.4
What’s Changed
🚀 Features
- Load data into GitCommit objects (#43) @BobKerns
- Create 'xgit' command with subcommands and preliminary completion.
🔧 Fixes & Refactoring
- Load data into GitCommit objects (#43) @BobKerns
- xontrib reload xgit doesn't fully reload (#42) @BobKerns
- Many more that will make it much easier to add new functionality.
- Many unit tests
👥 List of contributors
What's Changed
- xontrib reload xgit doesn't fully reload by @BobKerns in #42
- Load data into GitCommit objects by @BobKerns in #43
Full Changelog: v0.0.3...v0.0.4
v0.0.3
Unfortunately, shortly after release 0.0.2 I found the reorganization made it impossible to work with the displayed result.
That defeats the purpose, so now there's Release 0.0.3, which is much nicer. Even nicer than 0.0.2 was supposed to be!
What’s Changed
- Release 0.0.3: (#38) @BobKerns
- Bug fixes with interaction and formatting.
- Add xgit.version prompt field.
- Improve and update the documentation for using git-ls and its return values.
👥 List of contributors
v0.0.2
Initial release
Initial release
What's Changed
- README changes, etc. by @BobKerns in #6
- git-pwd was failing to display. by @BobKerns in #15
- Test action fails installing requirements. by @BobKerns in #16
- BobKerns/issue19 by @BobKerns in #20
- ci: mypy finds code via two paths and objects. by @BobKerns in #22
- Need to downgrade to TypeAlias to support earlier pythons. by @BobKerns in #24
New Contributors
Full Changelog: https://github.com/BobKerns/xontrib-xgit/commits/v0.0.1