Rewrite metadata parser #257
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
java
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
java-gi/java-gi!257
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "metadata-parser"
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?
The first version of the metadata parser was one big file that tried to do everything, so it was a bit messy and buggy. This PR is a rewrite into a separate Scanner, Parser and Matcher class.
The metadata format also slightly changed; the old version used regular expressions but "?" and "*" acted as glob wildcards; the new version uses actual glob patterns.