Milestone 2.2: remove, update, available and outdated #25

Closed
opened 2026-11-08 14:10:22 +01:00 by michael · 3 comments
Owner

Goal

Install, update and remove modules from the registry index, and show what is
available and what is outdated.

Scope

  • remove(opts): delete an installed module, regenerate the module map,
    report the result through the common result protocol
  • available(opts): modules and versions in the local index, with tier and
    compatibility with the host
  • outdated(opts): installed modules for which the index has a newer
    compatible version
  • update: install a newer version of one module (or all outdated ones)
    using the existing install with opts.upgrade
  • keep the manifest of an installed module so that its files can be
    verified later (today only the files are installed)
  • dependencies between modules (requires.lua, provides) are evaluated; a
    module that others depend on is not removed silently
  • DAW/daw-module-manager#17 (failed module map or resource catalog regeneration)

Acceptance criteria

  • remove, available, outdated and update are API functions with tests
  • removing a module leaves no files and a current module map
  • make test passes under Lua 5.1 and 5.4
## Goal Install, update and remove modules from the registry index, and show what is available and what is outdated. ## Scope - [x] remove(opts): delete an installed module, regenerate the module map, report the result through the common result protocol - [x] available(opts): modules and versions in the local index, with tier and compatibility with the host - [x] outdated(opts): installed modules for which the index has a newer compatible version - [x] update: install a newer version of one module (or all outdated ones) using the existing install with opts.upgrade - [x] keep the manifest of an installed module so that its files can be verified later (today only the files are installed) - [x] dependencies between modules (requires.lua, provides) are evaluated; a module that others depend on is not removed silently - [ ] DAW/daw-module-manager#17 (failed module map or resource catalog regeneration) ## Acceptance criteria - [x] remove, available, outdated and update are API functions with tests - [x] removing a module leaves no files and a current module map - [x] make test passes under Lua 5.1 and 5.4
Author
Owner

Status after v2.0.0: remove (with confirmation, dependents through [requires.module.], the module map made again), available, outdated and update are done, with tests. 'update' needs an id; without one it shows 'outdated'. Open: keeping the manifest of an installed module so that its files can be verified later (it is not installed today), and DAW/daw-module-manager#17.

Status after v2.0.0: remove (with confirmation, dependents through [requires.module.<id>], the module map made again), available, outdated and update are done, with tests. 'update' needs an id; without one it shows 'outdated'. Open: keeping the manifest of an installed module so that its files can be verified later (it is not installed today), and DAW/daw-module-manager#17.
Author
Owner

Status check against develop (2026-11-18). Implemented with tests: remove, available, outdated, update and verify_installed. The manifest of an installed module is kept and checked by verify. Dependencies between modules (requires.module) are evaluated and a module that others depend on is not removed silently (status dependents_present). Open: requires.lua. is not evaluated (DAW/daw-module-manager#31) and the regeneration of the resource catalogs (DAW/daw-module-manager#17). The other scope items can be ticked.

Status check against develop (2026-11-18). Implemented with tests: remove, available, outdated, update and verify_installed. The manifest of an installed module is kept and checked by verify. Dependencies between modules (requires.module) are evaluated and a module that others depend on is not removed silently (status dependents_present). Open: requires.lua.<lib> is not evaluated (DAW/daw-module-manager#31) and the regeneration of the resource catalogs (DAW/daw-module-manager#17). The other scope items can be ticked.
Author
Owner

Status check against develop (2026-11-21): all scope items are done and ticked except the resource catalog regeneration, which is tracked in DAW/daw-module-manager#17. Closing; DAW/daw-module-manager#17 stays open.

Status check against develop (2026-11-21): all scope items are done and ticked except the resource catalog regeneration, which is tracked in DAW/daw-module-manager#17. Closing; DAW/daw-module-manager#17 stays open.
michael 2026-11-21 11:11:30 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
DAW/daw-module-manager#25
No description provided.