mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 21:44:16 +02:00
2.7 KiB
2.7 KiB
Bearhub Migration Plan
This plan translates the roadmap into concrete engineering tasks with sequencing and acceptance criteria.
Phase 0: Inventory and Risk Mapping
Tasks:
- Enumerate remaining
bauhreferences:- Python imports
- resource paths
- UI strings
- desktop entries
- log prefixes
- Classify each reference as:
- user-facing
- internal-only
- compatibility-critical
Acceptance:
- Single tracking list with owner and status for each category.
Phase 1: User-Facing Decoupling
Tasks:
- Replace user-visible
bauhnames withBearhub. - Normalize status/notification/error message prefixes.
- Validate desktop launcher and tray naming.
Acceptance:
- No user-facing
bauhin default UI flow. - Docs and runtime naming are aligned.
Phase 2: Namespace Transition Architecture
Tasks:
- Define target namespace:
bearhub. - Create temporary compatibility package:
bauhimports forward tobearhub.
- Define migration order:
- core modules
- qt/view modules
- gem backends
- tests
Acceptance:
- Design note committed with:
- shim scope
- deprecation window
- removal criteria
Phase 3: Incremental Code Migration
Tasks:
- Move modules in small batches.
- Update imports and resource path lookups per batch.
- Keep compatibility imports passing until final cut.
- Run smoke tests after each batch:
- app start
- package search
- install
- uninstall
- update
Acceptance:
- Main application runs from
bearhubnamespace. - Legacy imports still function during transition.
Phase 4: Packaging and Distribution Alignment
Tasks:
- Update
pyproject/entry points to final namespace. - Validate AUR (
bearhub,bearhub-git) install paths and desktop files. - Ensure release tags and checksums reflect migrated structure.
Acceptance:
- Stable and
-gitpackages build/install successfully. - No stale paths in PKGBUILD or runtime scripts.
Phase 5: Compatibility Removal
Tasks:
- Announce shim deprecation in changelog.
- Remove
bauhcompatibility layer after deprecation window. - Run full regression smoke test and release candidate.
Acceptance:
- Codebase is fully
bearhubnamespace. - No required runtime dependency on legacy
bauhpackage structure.
Tracking Template
Use this minimal template per task:
Task: short descriptionOwner: maintainerStatus: todo / in-progress / blocked / doneRisk: low / medium / highVerification: command or scenario used to validate
First Technical Slice (recommended now)
- Add
NAMESPACE_MIGRATION.mdwith exact module move order. - Implement compatibility shim skeleton (
bauh->bearhubforwarding). - Migrate one low-risk module group and validate with smoke test.