feat (plugin-beancount): Add Beancount driver#1476
Conversation
|
All contributors have signed the CLA ✍️ ✅ |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 591deaed67
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
591deae to
eeca7e2
Compare
|
I have read the CLA Document and I hereby sign the CLA. |
Code review: Beancount driverTwo automated reviews ran against this branch: a repo-wide review and a Codex diff-scoped review. They are complementary. Findings below are merged and deduplicated. Parser core, read-only enforcement, and the array-argv Blocking
Runtime bugs (Codex, high confidence)
Confirmed by both reviews
Security
Minor
What is goodParser with includes/cycle guard, in-memory SQLite projection, layered read-only enforcement ( |
|
@datlechin I reworked Beancount to follow the DuckDB-style registry model: it is now I also tightened License check: rustledger is GPL-3.0, and TablePro is AGPLv3, so redistribution is compatible subject to preserving notices/source availability. |
Summary
.beancountfiles as read-only SQL tables.rledgerhelper for BQL support and ledger validation..beancountas a TablePro document type so installed builds can open ledgers from Finder.Closes #1474
Test Plan
xcodebuild test -project TablePro.xcodeproj -scheme TablePro -destination 'platform=macOS' -only-testing:TableProTests/BeancountLedgerParserTests -only-testing:TableProTests/BeancountPluginDriverTests -only-testing:TableProTests/BeancountDriverMetadataTests CODE_SIGNING_ALLOWED=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY="" -skipPackagePluginValidationxcodebuild build -project TablePro.xcodeproj -scheme TablePro -configuration Debug -destination 'platform=macOS' CODE_SIGNING_ALLOWED=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY="" -skipPackagePluginValidationplutil -lint TablePro/Info.plist Plugins/BeancountDriverPlugin/Info.plistswift test --package-path Packages/TableProCore --filter TableProModelsTests.DatabaseTypeTestsscripts/download-rustledger.sh /tmp/tablepro-rledger-pr-check && /tmp/tablepro-rledger-pr-check --version