Skip to content

Take Development to Master for next release #484

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

Merged
merged 41 commits into from
Mar 29, 2016
Merged

Conversation

raghushantha
Copy link
Member

This change is Reviewable

Kapil Borle and others added 30 commits February 17, 2016 19:42
Fixes to UseToExportFieldsInManifest rule.
Instead of using ast.extent property for comparing empty string or null argument we use the parsed values.
…eAttribute

Fixes to AvoidNullOrEmptyHelpMessageAttribute.
Fix a custom rule path bug that prevented loading rules with version in their path.
Add conditions to check if indexing does not take place on a null valued Value property.

If a PowerShell based custom rule does't have comment based help, the engine throws an error. This occurs because the lack of comment based help results in a null value for the Value property of the dynamically typed description variable.
Changes the AppVeyor os image to WMF 5
Fix loading custom rules that do not have comment help
Modifies error messages of AvoidUsernameAndPasswordParams and UsePSCredentialType rules.
…PlainText rule.

The severity showed by Get-ScriptAnalyzerRule and Invoke-ScriptAnalyzer for this rule were different. This
was because scriptanalyzer defines two types of severities, viz., RuleSeverity and DiagnosticSeverity and
the severity levels were not consistent.

This commit makes the severity level consistent by setting them both to Warning.
Fix severity inconsistency in AvoidUsingConvertToSecureStringWithPlainText and UseIdenticalParametersDSC
kilasuit and others added 11 commits March 22, 2016 14:18
We need this capability in the PowerShell extension for VSCode to enable it to use an external settings file.  This will allow users of the extension to be able to customize the default settings.
…es-profile

Updates the Initialize method to process the profile parameter.
Filters the rules based on their severity before passing them the AST for
analysis.

Prior to the fix, the severity filter was applied on diagnostic records.
This was inefficient as Invoke-ScriptAnalyzer would run all the rules
irrespective of the given severity and then filter the diagnostic records
to extract the results that corresponded to the given severity.
Rules are filtered prior to creating tasks (threads). This avoids
creating unnecessary tasks as opposed to the earlier approach where
rule invocation was decided within their corresponding tasks.
Fixes scope name comparison.

Fixes #473
…tyFilter

Fix severity filtering while invoking script analyzer
@kapilmb
Copy link

kapilmb commented Mar 29, 2016

Reviewed 2 of 2 files at r1, 1 of 1 files at r2, 21 of 22 files at r3, 3 of 3 files at r8.
Review status: all files reviewed at latest revision, all discussions resolved.


Comments from the review on Reviewable.io

@kapilmb
Copy link

kapilmb commented Mar 29, 2016

:lgtm:


Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.


Comments from the review on Reviewable.io

@raghushantha raghushantha merged commit bcdef95 into master Mar 29, 2016
@daviwil
Copy link
Contributor

daviwil commented Mar 29, 2016

Does this include @rkeithhill's latest PR? It'd be ideal if that was included in the next release.

@daviwil
Copy link
Contributor

daviwil commented Mar 29, 2016

Whoops, ignore that comment, I just saw that it's in there :)

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.

8 participants