Repository navigation
fix: close PROJECT_PLAN 1.3 known debts - #104
Merged
Merged
Conversation
- web: APP_VERSION from package __version__; sync fallback versions (0.29.0) - tui: fall back to text shell when textual is missing - apt: skip dpkg -l header rows; brew: use valid 'brew list -1' - tests: real-system RealRepoIntegration tests, version sync test - CHANGELOG: drop stale Planned, merge duplicate 0.6.0, add Unreleased Co-Authored-By: dominicusin <dominicusin@yahoo.com>
Contributor
Author
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Documentation build overview
|
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.
Summary
Fixes all four items in PROJECT_PLAN.md §1.3 "Известные долги и баги". Running the new real-system tests also exposed two real bugs, fixed here too.
Version (
web/app.py)APP_VERSION = __version__. The web app now uses the package version, not its own stale"0.6.1"fallback.__init__.py0.12.0,pyproject.tomlsetuptools_scm.fallback_version0.8.0,CITATION.cff0.6.1. All three are now 0.29.0, the latest tag, andtests/test_version_sync.pychecks they stay equal.TUI without textual
package-maximizer tuiused to exit with an error when thetuiextra was missing. It now prints a hint (pip install 'package-maximizer[tui]') and starts the textMaximizerShellinstead. The two existing tests that expected the error exit are updated.RealRepoIntegration on real systems
tests/test_real_system.py, markedreal_system(the marker is registered inpyproject.toml). It runs the APT tests whendpkg/apt-cacheexist (ubuntu CI) and the Homebrew tests whenbrewexists (macOS CI); otherwise they are skipped.APTParser._parse_dpkg_lread thedpkg -llegend and header lines (Err?=(none)/Reinst-required,Name, …) as packages. Rows are now filtered by the dpkg status column (_DPKG_STATUS_RE).brew list --formula --caskuses two mutually exclusive flags and always failed. BothBrewParser._get_all_installedandRealRepoIntegration._get_installed_brewnow runbrew list -1through the newBrewParser.parse_installed, which also setsstatus="installed". Before, the parser defaulted tocandidate.CHANGELOG
[0.6.0]sections.[Unreleased]with this PR's changes, plus a short summary of releases 0.11.0–0.29.0, which were tagged without CHANGELOG entries.Checks
Reviewer note:
test_real_system.pyruns the realdpkg -l,apt-cache showandbrew list -1on CI hosts. These commands are read-only.Link to Devin session: https://app.devin.ai/sessions/7a195999dfd146d48fbc98f4bab6707a
Open in Devin Desktop: https://app.devin.ai/desktop/session/7a195999dfd146d48fbc98f4bab6707a?variant=devin
Requested by: @dominicusin