Real version in init.lua and require field in module.conf #17
Labels
No labels
coordination/cross-repo
coordination/needed
effort
large
effort
medium
effort
small
meta/duplicate
meta/planning
meta/wontfix
priority
high
priority
low
priority
medium
session
blocker
session
handover
session
next
status
blocked
status
done
status
in-progress
status
review
status
to-go
type
admin
type
bug
type
config
type
deployment
type
docs
type
enhancement
type
feature
type
handover
type
infrastructure
type
installation
type
maintenance
type
migration
type
research
type
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
DAW/daw-modul-berhtjan-cli#17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
Goal
The module-manager reads the installed version of this core module from the
versionfield of itsinit.luatable (see DAW/daw-module-manager#31), andchecks the
[requires.lua.<lib>]sections of this module.conf.Acceptance criteria
versionininit.luais the real version, equal toVERSION, instead of<DAW_SED_REPLACE_VERSION>[requires.lua.<lib>]section ofconfig/module.confhas arequirefield (e.g.require = daw.common)make testandfragjan code .passTechnical notes
make diststep; the value is maintained by hand witheach release.
Done 2026-11-18
init.luacarriesversion = "2.2.0", equal toVERSION, replacing themake distsentinel, andrequire("daw.berhtjan_cli").versionreturns it.config/module.confdeclaresrequire = daw.commonandrequire = daw.berhtjan_core. The sentinel test is replaced by a test thatthe field is a
MAJOR.MINOR.PATCHstring. No version bump.fragjan codeandmake test(Lua 5.4 and 5.1) pass.The field is kept by hand until
bumpand a check keep it in step withVERSION(DAW/fragjan#158). Used by DAW/daw-module-manager#31.