-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP Integration #983
PHP Integration #983
Conversation
tuxology
commented
Feb 29, 2024
•
edited by karan-batavia
Loading
edited by karan-batavia
- integrate PHP Frontend from upstream Joern into Privado
- vendor PHP Parser from upstream fork into Privado and use it
- Use 4GB heap size for the tests to run in CI.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall changes look good to me, If we can also have some test cases around PHP parsing and tagging that would be great
Can we please have some tests on the basic tagging process? Let's ensure the integration stays solid from the start itself. |
Sure! |
Also, when are we planning to release these changes? Let's make sure we don't conflict with the C# release on Monday. |
16e41a5
to
a883357
Compare
@tuxology Test failed because PHP parser could not be executed.
The path doesn't look right to me. Is this the intended path for vendoring the parser? |
@pawan-privado It looks like this is only happening in Github - the path for |
The reason why we did not notice this happen in our dev machines is because we had the required |
src/test/scala/ai/privado/languageEngine/php/tagger/source/FieldIdentifierTaggingTests.scala
Outdated
Show resolved
Hide resolved
src/test/scala/ai/privado/languageEngine/php/tagger/source/IdentifierTaggingTest.scala
Outdated
Show resolved
Hide resolved
src/test/scala/ai/privado/languageEngine/php/tagger/source/IdentifierTaggingTest.scala
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
src/test/scala/ai/privado/languageEngine/php/tagger/source/FieldIdentifierTaggingTests.scala
Show resolved
Hide resolved
src/test/scala/ai/privado/languageEngine/php/tagger/source/LiteralTaggingTests.scala
Show resolved
Hide resolved
@pawan-privado Take a merge of dev, they we are good to go |
* Check-in `PhpProcessor` * Check in taggers * Fix crash on scanning and address review comment * fix: `PhpProcessor` should take in `S3DatabaseDetailsCache` --------- Co-authored-by: Suchakra Sharma <[email protected]>
a43ca07
to
5dee600
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM