Real version in init.lua and require field in module.conf #27
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/documentation
type
enhancement
type
feature
type
handover
type
infrastructure
type
installation
type
maintenance
type
migration
type/refactor
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-core#27
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
require("daw.berhtjan_core").version(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.1", equal toVERSION, andrequire("daw.berhtjan_core").versionreturns it.config/module.confdeclares
require = daw.common. A test checks that the field is aMAJOR.MINOR.PATCHstring. No version bump; the field is set to the targetversion before the next release.
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.