github-actions[bot] commented on PR #2973:
URL: https://github.com/apache/jackrabbit-oak/pull/2973#issuecomment-4796627091
# Commit-Check ❌
```
Commit rejected by Commit-Check.
(c).-.(c) (c).-.(c) (c).-.(c) (c).-.(c) (c).-.(c)
/ ._. \ / ._. \ / ._. \ / ._. \ / ._. \
__\( C )/__ __\( H )/__ __\( E )/__ __\( C )/__ __\( K )/__
(_.-/'-'\-._)(_.-/'-'\-._)(_.-/'-'\-._)(_.-/'-'\-._)(_.-/'-'\-._)
|| E || || R || || R || || O || || R ||
_.' '-' '._ _.' '-' '._ _.' '-' '._ _.' '-' '._ _.' '-' '._
(.-./`-´\.-.)(.-./`-´\.-.)(.-./`-´\.-.)(.-./`-´\.-.)(.-./`-´\.-.)
`-´ `-´ `-´ `-´ `-´ `-´ `-´ `-´ `-´ `-´
Commit rejected.
Type message check failed ==> Add index tag support to user query
(QueryBuilder#setIndexTag)
Allow user/group queries to force a specific index by exposing a new
QueryBuilder#setIndexTag(String) method. When set, the generated XPath
statement is augmented with an "option(index tag <tag>)" clause (see the
Oak query-engine index-tag query option).
- oak-jackrabbit-api: add default no-op setIndexTag(String) to the
QueryBuilder interface so existing implementors remain source/binary
compatible; bump the exported package version (minor) accordingly.
- oak-core: XPathQueryBuilder stores the tag; UserQueryManager appends
the option clause to the statement and validates the tag against
[a-zA-Z0-9_]+ to prevent query injection.
- Tests for the new builder accessor and for the generated statement
(valid tag executes, invalid tag is rejected).
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
The commit message should follow Conventional Commits. See
https://www.conventionalcommits.org
Suggest: Use <type>(<scope>): <description>, where <type> is one of: feat,
fix, docs, style, refactor, test, chore, perf, build, ci
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]