Rename Stalwart's Sieve names for inbuxa, and fail when activation does #3

Merged
jcoffey-dev merged 1 commits from fix/sieve-stalwart-names into main 2026-09-30 18:27:29 +00:00
Owner

inbuxa accepts vnd.inbuxa.while and vnd.inbuxa.expressions, and names its
environment items vnd.inbuxa., with no alias for Stalwart's vnd.stalwart.
names. A script carried over unchanged failed to compile on the target, and
the account was left with no filtering behind a single warning.

When the target lists vnd.inbuxa extensions in its sieveExtensions, export
now renames Stalwart's names in the three places they are names: the strings
of a require list, the item name of an environment test, and
${env.vnd.stalwart.*} references inside strings. A small tokenizer skips
comments and reads quoted strings and text: blocks whole, so other text that
happens to contain the name is copied unchanged. Each rename is printed.
Against a target without the inbuxa names nothing changes.

The activation call is now checked. A method error, or an active script
that could not be created, is logged as an error naming the script and
counted as a failure, so export exits non-zero instead of leaving
filtering off with one warning line.

inbuxa accepts vnd.inbuxa.while and vnd.inbuxa.expressions, and names its environment items vnd.inbuxa.*, with no alias for Stalwart's vnd.stalwart.* names. A script carried over unchanged failed to compile on the target, and the account was left with no filtering behind a single warning. When the target lists vnd.inbuxa extensions in its sieveExtensions, export now renames Stalwart's names in the three places they are names: the strings of a require list, the item name of an environment test, and ${env.vnd.stalwart.*} references inside strings. A small tokenizer skips comments and reads quoted strings and text: blocks whole, so other text that happens to contain the name is copied unchanged. Each rename is printed. Against a target without the inbuxa names nothing changes. The activation call is now checked. A method error, or an active script that could not be created, is logged as an error naming the script and counted as a failure, so export exits non-zero instead of leaving filtering off with one warning line.
jcoffey-dev added 1 commit 2026-09-30 18:24:21 +00:00
Rename Stalwart's Sieve names for inbuxa, and fail when activation does
ci / test (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 2m11s
ci / announce (pull_request) Skipped
470fda6ac8
inbuxa accepts vnd.inbuxa.while and vnd.inbuxa.expressions, and names its
environment items vnd.inbuxa.*, with no alias for Stalwart's vnd.stalwart.*
names. A script carried over unchanged failed to compile on the target, and
the account was left with no filtering behind a single warning.

When the target lists vnd.inbuxa extensions in its sieveExtensions, export
now renames Stalwart's names in the three places they are names: the strings
of a require list, the item name of an environment test, and
${env.vnd.stalwart.*} references inside strings. A small tokenizer skips
comments and reads quoted strings and text: blocks whole, so other text that
happens to contain the name is copied unchanged. Each rename is printed.
Against a target without the inbuxa names nothing changes.

The activation call is now checked. A method error, or an active script
that could not be created, is logged as an error naming the script and
counted as a failure, so export exits non-zero instead of leaving
filtering off with one warning line.
jcoffey-dev merged commit 67891994e6 into main 2026-09-30 18:27:29 +00:00
jcoffey-dev deleted branch fix/sieve-stalwart-names 2026-09-30 18:27:29 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: inbuxa/inbuxa-migrate#3