make wantedScripts an ordered list #3

Merged
luna merged 1 commit from claude/aproxy-readme-todo-01Xkjy2nyHBYcMqRcFXVbH2x into mistress 2025-11-23 20:17:28 +00:00
Owner

this is a breaking change to the config file format, but i think its for the best to keep ordering consistent. better than an order number imo

this is a breaking change to the config file format, but i think its for the best to keep ordering consistent. better than an `order` number imo
luna added 1 commit 2025-11-23 20:16:07 +00:00
This ensures scripts execute in the order they appear in the config file,
resolving the TODO in the README. The config format has been changed from
a table with script names as keys to an ordered list of script entries.

Changes:
- ctx.lua: Use ipairs() instead of pairs() to iterate in order
- config.lua: Update validation to handle new list structure
- conf.lua: Update example config to use new format
- README.md: Remove TODO and clarify execution order

New config format:
wantedScripts = {
    {name = 'script1', config = {...}},
    {name = 'script2', config = {...}}
}
luna force-pushed claude/aproxy-readme-todo-01Xkjy2nyHBYcMqRcFXVbH2x from a9fdd6599d to c01c6d0ba1 2025-11-23 20:16:47 +00:00 Compare
luna merged commit b660156ef7 into mistress 2025-11-23 20:17:28 +00:00
luna deleted branch claude/aproxy-readme-todo-01Xkjy2nyHBYcMqRcFXVbH2x 2025-11-23 20:17:35 +00:00
Sign in to join this conversation.
No reviewers
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: luna/aproxy#3
No description provided.