-
Notifications
You must be signed in to change notification settings - Fork 6
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
fix: Fix three small issues and transition codebase to SPDX identifiers #347
base: main
Are you sure you want to change the base?
Conversation
Integration Test Report 399 files ±0 399 suites ±0 13m 38s ⏱️ + 3m 8s Results for commit 39efea5. ± Comparison against base commit e0ab4f8. This pull request removes 103 and adds 103 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
2f894c7
to
39efea5
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.
I know this is a lot of files, but most are just adding SPDX headers, and the rest are mostly just spotless formatting or a renamed folder.
The actual bug fixes are in the Protobuf.g4 file and a couple comments in proto files to prevent regressions.
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.
Other than the grammar changes the should be changed to match what I committed already it all looks good :-) I hope the package renames are not going to be merge hell.
pbj-core/pbj-compiler/src/main/antlr/com/hedera/hashgraph/protoparser/grammar/Protobuf3.g4
Show resolved
Hide resolved
0fe7dae
to
ae1a5f6
Compare
I rebased in all the prior changes. The change to apply heiro configuration globally was harder (mostly because it forces spotless universally and documentation is minimal, so the choice is either do no quality checks or break the pbj-core layout, until we get the pbj-core code files annotated properly). |
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.
Review applies to .github/workflows/zxc-compile-pbj-code.yaml
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.
Review and approve files assigned to devops-ci
team.
* Fixes #145 * Renamed `intergration` to `integration` globally * Fixes #217 * Added documentation comments before `syntax`, `import`, `package`, `option`, and `reserved` keywords in grammar * The root cause is the change to docComment to make it non-skipped, so we have to add it everywhere. Skipped comments (the `//` type) can be absolutely anywhere because the grammar _skips_ them. * Note, this _might_ also fix #319 Signed-off-by: Joseph Sinclair <121976561+jsync-swirlds@users.noreply.github.com>
* Replaced copyright notices with SPDX license identifiers * Added SPDX identifiers where needed * In particular, the integration tests had no headers, so added to all files. Signed-off-by: Joseph Sinclair <121976561+jsync-swirlds@users.noreply.github.com>
* Added spotless configurations * Also updated omnibus proto and antlr grammar * Adjusted grammar slightly and added some comments to the `everything.proto` test file * This adddresses some elements of processing reserved and oneof fields, but still cannot completely address docComments at the _end_ of a oneof block. Signed-off-by: Joseph Sinclair <121976561+jsync-swirlds@users.noreply.github.com>
* Removed license-header.txt to avoid spotless forcing the old header style back in. * Removed quality check requirement from pbj-core until the team has a chance to fix the problematic files. * There is no option to disable only spotless with the new plugin, so we're stuck with a heavy-handed approach here. Signed-off-by: Joseph Sinclair <121976561+jsync-swirlds@users.noreply.github.com>
* Removed extra doc comment entries for top-level items. Signed-off-by: Joseph Sinclair <121976561+jsync-swirlds@users.noreply.github.com>
f0fa610
ae1a5f6
to
f0fa610
Compare
full codebase
pbj integration tests
intergration
tointegration
globallypbj core
format exceptions added.
reserved
field orsyntax
keyword #217syntax
,import
,package
,option
,and
reserved
keywords in grammarwe have to add it everywhere. Skipped comments (the
//
type) can beabsolutely anywhere because the grammar skips them.
/**...*/
) as tokens #319of onof blocks) will be needed.