Skip to content
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

Install WartRemover For #331 #442

Merged
merged 26 commits into from
Sep 29, 2023
Merged

Install WartRemover For #331 #442

merged 26 commits into from
Sep 29, 2023

Conversation

reid-spencer
Copy link
Contributor

Use WartRemover to identify code issues and in response either:

  • use an alternative coding style that is wart-free
  • use SuppressWarnings judiciously and sparingly
  • configure wart remover in the build to avoid the warnings

reid-spencer and others added 26 commits September 23, 2023 19:54
Signed-off-by: reidspencer <reid.spencer@yoppworks.com>
Signed-off-by: reidspencer <reid.spencer@yoppworks.com>
Signed-off-by: reidspencer <reid.spencer@yoppworks.com>
Signed-off-by: reidspencer <reid.spencer@yoppworks.com>
This hopefully makes compilation faster, avoids a scala 3
documentation slowdown, re-enables sealed traits, etc.

This is test up through commands module

Signed-off-by: reidspencer <reid.spencer@yoppworks.com>
Signed-off-by: reidspencer <reid.spencer@yoppworks.com>
Signed-off-by: reidspencer <reid.spencer@yoppworks.com>
Signed-off-by: reidspencer <reid.spencer@yoppworks.com>
Signed-off-by: reidspencer <reid.spencer@yoppworks.com>
Signed-off-by: reidspencer <reid.spencer@yoppworks.com>
Signed-off-by: reidspencer <reid.spencer@yoppworks.com>
Signed-off-by: reidspencer <reid.spencer@yoppworks.com>
Signed-off-by: reidspencer <reid.spencer@yoppworks.com>
Also adjust testkit tests because resolution is working better and also
affects usage and output change based on new or better messages

Signed-off-by: reidspencer <reid.spencer@yoppworks.com>
Signed-off-by: reidspencer <reid.spencer@yoppworks.com>
Signed-off-by: reidspencer <reid.spencer@yoppworks.com>
And its test fails randomly

Signed-off-by: reidspencer <reid.spencer@yoppworks.com>
Signed-off-by: reidspencer <reid.spencer@yoppworks.com>
* Abandon the old algorithm
* Base algorithm on finding the "anchor" node in the model
* Anchor node can be:
  * "Root" (root of model),
  * First Ancestor (of the PathId) that matches PathId first element
  * A unique element in the SymTab that matches PathId first element
* Don't resolve every path reference every time, use the resolution
  map built so far to resolve common paths.
* Refactor into functions with names that make sense
* Still passes all path resolution tests in all modules.

Signed-off-by: reidspencer <reid.spencer@yoppworks.com>
* Testing passes for Reid (only) .. hardcoded paths
* can specify both options and the .conf file
* auto-configures libraries for testing
* Can use riddl-testkit capabilities

Signed-off-by: reidspencer <reid.spencer@yoppworks.com>
Signed-off-by: reidspencer <reid.spencer@yoppworks.com>
Signed-off-by: reidspencer <reid.spencer@yoppworks.com>
Signed-off-by: reidspencer <reid.spencer@yoppworks.com>
Signed-off-by: reidspencer <reid.spencer@yoppworks.com>
@reid-spencer reid-spencer merged commit 50cdffd into main Sep 29, 2023
3 of 5 checks passed
@reid-spencer reid-spencer deleted the 331-add-sqa-to-ci-workflow branch September 29, 2023 12:28
@reid-spencer reid-spencer linked an issue Sep 29, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integrate SCA into GitHub workflow
1 participant