init.lua: carry the library version in a version field #15
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-lua-net#15
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
require("daw.net").versionreturns the version of the library, so that themodule-manager can check
[requires.lua.daw-lua-net](seeDAW/daw-module-manager#31).
Acceptance criteria
init.luahas aversionstring field with the real version, equal toVERSIONversionfrom the returned tablemake testandfragjan code .passTechnical notes
make diststep; the value is maintained by hand witheach release and is not the sentinel
<DAW_SED_REPLACE_VERSION>.init.lua.Done 2026-11-18
init.luacarriesversion = "2.2.1", equal toVERSION, andrequire("daw.net").versionreturns it. A test checks that the field is aMAJOR.MINOR.PATCHstring. Released as 2.2.1 onmain(tagv2.2.1).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.