Manufacturing 0.4.4: Machine file folders can be tidied with media reorganize
Manufacturing 0.4.4 lets PhoenixKit’s mix phoenix_kit.media.reorganize task tidy the attachment folders of machines, so folders made before a parent folder was configured can be moved under it in one go.
The task plans to move each machine’s existing folder under the parent that the :attachments_parent_folder setting names, and fills in a machine’s missing link to its folder. Folders it cannot place safely are reported instead of moved: duplicates, stray copies, folders of deleted machines, and every folder when the setting’s function fails or answers the root. With a working setting, old empty upload folders named machine-attachment-pending-* go to the trash. Without the setting the task only reports and moves or trashes nothing.
Upgrading
The reorganize task needs PhoenixKit 2.24.0 or later. Nothing changes on a site that does not run it.
Full release notes: Manufacturing 0.4.4
0.4.4 · 16 September 2026
Added
- Media reorganizer source for machines (
PhoenixKitManufacturing.MediaReorganizer, registered viamedia_reorganizer/0, used by core’smix phoenix_kit.media.reorganizeon phoenix_kit ≥ 2.24.0). Plans moving existing machine attachment folders under the parent set by the:attachments_parent_folderhook and fills in any missingdata["files_folder_uuid"]pointers. Folders it can’t place safely are reported instead of moved: duplicates, stray copies, orphans of deleted machines, and folders when the hook fails or returns root. Stale emptymachine-attachment-pending-*folders are trashed. Without a configured hook, it only produces reports.
Changed
- Updated dependencies:
phoenix_kit2.24.0,phoenix_kit_comments0.4.8,phoenix_kit_entities0.4.15,phoenix_kit_locations0.5.1,phoenix_live_view1.2.12.
Manufacturing 0.4.4. Install or update: {:phoenix_kit_manufacturing, "~> 0.4"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.