chore: Remove duplicate source/plugins/ and source/components/ directories #35
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The repo has two parallel directory structures for the same code:
source/packages/— the canonical structure used by the build system (component + plugins here)source/plugins/system/mokosuitefield/andsource/plugins/webservices/mokosuitefield/— duplicate plugin filessource/components/com_mokosuitefield/— duplicate component frontend filesThe SQL install files differ between the two locations (different column names and types), creating confusion about which is authoritative. The
source/packages/plg_system_mokosuitefield/sql/install.mysql.sqlhas more complete schema (JSON columns, condition_rating, photos_before/after, etc.) whilesource/plugins/.../install.sqlhas an older version.Fix
source/packages/is the canonical source for the buildsource/plugins/system/mokosuitefield/(duplicate ofsource/packages/plg_system_mokosuitefield/)source/plugins/webservices/mokosuitefield/(duplicate ofsource/packages/plg_webservices_mokosuitefield/)source/components/com_mokosuitefield/(duplicate ofsource/packages/com_mokosuitefield/— frontend views should live in the component package)source/packages/Branch created:
feature/35-chore-remove-duplicate-source-plugins-an