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

Changes for version 4.0 #86

Merged
merged 19 commits into from
Sep 23, 2020
Merged

Changes for version 4.0 #86

merged 19 commits into from
Sep 23, 2020

Conversation

kibeha
Copy link
Collaborator

@kibeha kibeha commented Sep 17, 2020

Closes #22
Closes #25
Closes #27
Closes #30
Closes #31
Closes #38
Closes #44
Closes #45
Closes #48
Closes #57
Closes #77
Closes #78
Closes #79
Closes #81
Closes #84
Closes #85

kibeha added 19 commits August 26, 2020 09:05
Use of codehilite markdown extension for syntax highlighting and line numbers of SQL & PL/SQL.
… to G-3310 and G-3320. Fixed links for these rules in PDF.
…ason and importance of consistency. Converted all code examples to lowercase (thanks Philipp for https://www.salvis.com/blog/2020/08/28/formatting-sql-code-blocks-in-markdown-files/ )
…ns in different branches of the same IF or CASE statement.
…samples that automatic script didn't handle. Fixed a few typos along the way.
…l variables that are not used by a subsequent statement.
…trigger if primary key is assigned in trigger.
@kibeha kibeha added this to the v4.0 milestone Sep 17, 2020
Copy link
Collaborator

@PhilippSalvisberg PhilippSalvisberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think !!! missing "Unsupported in PL/SQL Cop Validators" should be added to introduction.md. Probably not under "Severity of the rule". Maybe an addition chapter.

Copy link
Collaborator

@PhilippSalvisberg PhilippSalvisberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The following rules are currently not supported by a PL/SQL Cop validator:

  • G-3160 (cannot identify type of a column)
  • G-5010 (cannot identify logging framework and where it should be applied)
  • G-8410 (cannot identify where an application lock would make sense)
  • G-8510 (cannot know where the use of application_info is sensible)

They should be tagged with "!!! missing "Unsupported in PL/SQL Cop Validators"

Copy link
Collaborator

@PhilippSalvisberg PhilippSalvisberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The table B in the appendix.md should be updated.

  • changed rule numbers
  • new rules

Copy link
Collaborator

@PhilippSalvisberg PhilippSalvisberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work. Thanks Kim!

I scanned the following

  • each changed file
  • browsed through every HTML page
  • browsed through the complete PDF

All of my comments are suggestions. Feel free to ignore them or apply them later. Up to you. You may merge this PR whenever you are ready.

There were a lot of changes due to the change of keywords from uppercase to lowercase. And not all codes were changed automatically. And finding the missing ones was possible only with looking at the source/result manually.

Thanks again.
Philipp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment