Skip to content

Merge development branch into master branch for 1.18.0 #1186

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 110 commits into from
Mar 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
110 commits
Select commit Hold shift + click to select a range
218e7b1
upload only out folder, which is the actual PSSA artifact
bergmeister Jun 2, 2018
d6d60df
Remove build.cmd and related parameters and add note about possible u…
bergmeister Jun 2, 2018
162c584
remove another build.cmd reference
bergmeister Jun 2, 2018
0378f8d
remove .build.ps1 and various cleanup
bergmeister Jun 3, 2018
fd0350f
Revert "remove .build.ps1 and various cleanup"
bergmeister Jun 3, 2018
f7d1fdb
remove only .build.ps1 (one step at a time)
bergmeister Jun 3, 2018
8bd90c5
remove trailing whitespace
bergmeister Jun 3, 2018
263db8b
do not build engine (due to dependency, building rules should be enough)
bergmeister Jun 3, 2018
2884938
fix pssa warning about null comparison
bergmeister Jun 3, 2018
1214ed7
another PSPossibleIncorrectComparisonWithNull fix
bergmeister Jun 3, 2018
5149607
2 more PSPossibleIncorrectComparisonWithNull fix
bergmeister Jun 3, 2018
98ff863
tweak matching of illegal configuration combinations to cater for psv…
bergmeister Jun 3, 2018
a37e743
add powershell and c# extension as recommended extension for vscode
bergmeister Jun 3, 2018
5650405
Do not cache dotnet cli. I turns out to be not a speedup
bergmeister Jun 6, 2018
bcb71a2
add outputtype to get-scriptanayzerrule
bergmeister Jun 8, 2018
001378b
add output type to other cmdlets
bergmeister Jun 8, 2018
419adb8
add missing using statement
bergmeister Jun 8, 2018
c3ad261
fix type for InvokeFormatterCommand
bergmeister Jun 8, 2018
a6d8462
add another type to invoke-scriptanalyzer cmdlet
bergmeister Jun 8, 2018
447c546
Add Outputs to Invoke-Formatter.md documentation
bergmeister Jun 8, 2018
0f7da0e
Trigger Build since to test if AppVeyor issue https://github.com/appv…
bergmeister Jun 8, 2018
a4f3fe4
PSGallery will no longer use PSAvoidUsingConvertToSecureStringWithPla…
edyoung Jul 13, 2018
13310ea
suppress errors running test cases when not admin
edyoung Jul 17, 2018
669a1a9
Support piping files to Invoke-ScriptAnalyzer
edyoung Jul 17, 2018
7c8bcc0
add test cases for piping
edyoung Jul 17, 2018
b035b4d
restart CI
bergmeister Jul 17, 2018
6208566
PR feedback: use Should better
edyoung Jul 18, 2018
a5c84bb
restart ci
bergmeister Jul 18, 2018
b79e2f5
Merge pull request #1040 from PowerShell/add_exclude_switch
JamesWTruher Jul 19, 2018
dc0b4a3
Merge pull request #1009 from bergmeister/PSSA_Artifact
JamesWTruher Jul 19, 2018
a54a99c
Merge pull request #1020 from bergmeister/OutputType
JamesWTruher Jul 19, 2018
6e85ec0
Merge pull request #1011 from bergmeister/remove_build.cmd
JamesWTruher Jul 19, 2018
a5cc361
Make UseCompatibleCmdletsnot throw if default reference desktop-5.1.1…
bergmeister Jul 24, 2018
97d77a9
add tests and add alternative default reference if only wps is targeted
bergmeister Jul 24, 2018
db2aabf
Use TLS 1.2 for bootstrapping dotnet in CI (#1047)
bergmeister Jul 27, 2018
8ae2587
Remove old and redundant test settings file core-6.0.0-alpha-windows.…
bergmeister Aug 20, 2018
5b4bacb
give explicit error on unsupported versions of pscore and document it…
bergmeister Aug 20, 2018
3c706f5
Upgrade Nuget packages and make them more consistent (#1051)
bergmeister Aug 20, 2018
353c2be
Remove RuntimeFrameworkVersion as this is given by the running versio…
bergmeister Aug 20, 2018
7218b2d
Upgrade Microsoft.PowerShell.5.ReferenceAssemblies from 1.0.0 to 1.1.…
bergmeister Aug 21, 2018
1c4b704
Trigger AvoidPositionalParameters rule for function defined and calle…
kalgiz Aug 21, 2018
3c44cf4
Improve test helper to assert against specific diagnostic type
bergmeister Sep 2, 2018
880b765
Update AvoidNullOrEmptyHelpMessageAttribute.md (#1068)
Halkcyon Sep 6, 2018
a5571c5
Don't crash on CIM classes with no superclass (#1046)
edyoung Sep 13, 2018
15eadb8
Updated example and corrected argument type. (#1069)
Halkcyon Sep 15, 2018
f4e77f9
Use RTM version of Microsoft.Management.Infrastructure (#1059)
bergmeister Sep 21, 2018
2d439ff
Fix AlignAssignment rule to calculate alignment position correctly an…
bergmeister Sep 21, 2018
aa4901b
Fix parsing of empty hashtable when string is provided as settings ob…
bergmeister Sep 25, 2018
59277c7
Fix test as bug only occurs when test settings file is present
bergmeister Sep 25, 2018
ae3c26c
Enable command lookup caching by name and filter
SeeminglyScience Oct 1, 2018
1217068
Moved CommandLookupKey to new file
SeeminglyScience Oct 1, 2018
b5a19fa
Merge pull request #1074 from SeeminglyScience/reenable-command-caching
JamesWTruher Oct 3, 2018
0272c25
Merge pull request #1043 from bergmeister/UseCompatibleCmdlets_AllowR…
JamesWTruher Oct 3, 2018
0d81244
Merge pull request #1073 from bergmeister/FixParsingOfEmptySettingsFiles
JamesWTruher Oct 3, 2018
d507f5b
Update PR template to be more similar to the one of PowerShell but st…
bergmeister Oct 10, 2018
7c40607
Update global.json
bergmeister Oct 13, 2018
789151c
Revert previous update of the .net sdk as the AppVeyor Ubuntu image i…
bergmeister Oct 13, 2018
2df52ab
Bump .Net Core SDK version to 2.1.401 (#1086)
wilmardo Oct 23, 2018
1eb9a01
Update, simplify, and consolidate build scripts (#1082)
JamesWTruher Oct 23, 2018
9acf387
Add summary comment to some rules with short description (#1087)
pedrocodacy Oct 29, 2018
1f855ac
Removes update of pwsh since appveyor images are updated (#1084)
wilmardo Oct 30, 2018
888139b
Take module version into account for -SaveDscDependency switch (#1094)
bergmeister Dec 11, 2018
627f063
Install dotnet sdk if missing on Unix as well to fix failing Ubuntu b…
bergmeister Jan 9, 2019
85563d0
Correcting CommunityRules to CommunityAnalyzerRules. (#1119)
kvprasoon Jan 9, 2019
732014d
upgrade from net451 to net452 since net451 is not supported any more …
bergmeister Jan 10, 2019
fc7b083
Mark setting files as content for easier out-of-the-box debugging (#1…
bergmeister Jan 10, 2019
d0aa363
Make the correct example use the declared variable (#1111)
Fonta Jan 10, 2019
c62b8b2
Make Invoke-Formatter cleanup its state in the same way as Invoke-Scr…
bergmeister Jan 12, 2019
7633842
Make PossibleIncorrectComparisonWithNull rule return a SuggestCorrect…
bergmeister Jan 15, 2019
81dc223
Upgrade .Net SDK to 2.2.102 to fix new test failures on AppVeyor's Ub…
bergmeister Jan 15, 2019
41c2719
Fix the "How" section (#1127)
alexandair Jan 16, 2019
7a9d45d
Simplify build scripts even more and upgrade platyPS in Appveyor (#1088)
bergmeister Jan 16, 2019
18c43e6
update analyzer to create diagnostic records for parser errors, rathe…
JamesWTruher Jan 17, 2019
36061f5
update the output in the case that we don't get a build.
JamesWTruher Jan 17, 2019
edaca8e
Fix test failures
JamesWTruher Jan 31, 2019
37c095c
Make sure that you can suppress ParseErrors
JamesWTruher Feb 1, 2019
4c347a1
Fix ordering typo, remove parse errors before counting
JamesWTruher Feb 6, 2019
b3ef54a
Change invocation to not ignore errors
JamesWTruher Feb 7, 2019
8443abf
Add test to its own context block
JamesWTruher Feb 7, 2019
f6f3309
Add tests for permutations of Severity which includes the new ParseEr…
JamesWTruher Feb 7, 2019
d34b8cb
Add 'ParseError' to severity parameter for proxy cmdlet
JamesWTruher Feb 7, 2019
0374851
Change check for help file to use static regex
JamesWTruher Feb 8, 2019
c9915b1
Merge pull request #1130 from JamesWTruher/ParseErrorDiagnostic
JamesWTruher Feb 11, 2019
cfeb7d5
Make it easier to install the dotnet CLI tools (#1139)
JamesWTruher Feb 19, 2019
7d850bb
New PowerShell compatibility rules (#1133)
rjmholt Feb 28, 2019
d1a12b6
Fix names of shipped profiles (#1156)
rjmholt Mar 2, 2019
dff9522
Add Command data files of PowerShell 6.1.0 (#1075)
bergmeister Mar 2, 2019
0574565
Add support for Hashtable syntax of Import-DscRessource for -SaveDscD…
bergmeister Mar 5, 2019
944c5be
Ensure correct disposal with using statement (#1164)
bergmeister Mar 5, 2019
dce4119
Raise minimum required PS version of PS 6 to 6.1.0 due to 6.0 running…
bergmeister Mar 5, 2019
b2ae082
Allow for suppression of custom rules (#1145)
bergmeister Mar 5, 2019
d1c8e57
Update .Net Core SDK from 2.2.103 to 2.2.104 (latest patch) (#1158)
bergmeister Mar 5, 2019
484f405
Add CheckInnerBrace and CheckPipe options to PSUseConsistentWhitespac…
bergmeister Mar 5, 2019
e592dc4
Add command data file for PowerShell v2 (needed to adapt script) (#1091)
bergmeister Mar 5, 2019
c366328
Fix PSUseConsistentIndentationRule to handle pipes correctly when the…
bergmeister Mar 5, 2019
2104f05
Fix settings file array parsing when no commas are present (#1161)
rjmholt Mar 7, 2019
012fd5e
Unify reference to Microsoft.Management.Infrastructure and update Sys…
bergmeister Mar 8, 2019
55d98f2
Add 'UseCorrectCasing' formatting rule for cmdlet/function name (#1117)
bergmeister Mar 8, 2019
a15d260
Translate RuleSuppressionID for custom rules as well (#1144)
bergmeister Mar 8, 2019
a68b139
Fix PSSA for Turkish culture and tests when culture is not en-US (#1099)
bergmeister Mar 8, 2019
f34d956
Increase lock granularity for CommandInfo cache (#1166)
rjmholt Mar 13, 2019
bfec823
Update .Net Core SDK to latest patch for release build (#1171)
bergmeister Mar 13, 2019
9642bf7
Update versions for 1.18.0 Release (#1174)
JamesWTruher Mar 14, 2019
aaa24d9
Change logic for finding the module base to hunt for the module .psd1…
JamesWTruher Mar 15, 2019
dfea64a
Fix regression caused by PR #963 during development of PSSA 1.18.0 wh…
bergmeister Mar 15, 2019
724d2ad
Update platyps to 0.13 (#1172)
bergmeister Mar 15, 2019
dddff05
fix UseCompatibleTypes.md title (#1177)
JamesWTruher Mar 16, 2019
39b389e
Changelog for 1.18.0 (#1170)
bergmeister Mar 16, 2019
035fc2d
Changing back to non-zipped compatibility profiles (#1179)
JamesWTruher Mar 21, 2019
23a18f6
Set Date of 1.18.0 release in Changelog (#1180)
bergmeister Mar 22, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
233 changes: 0 additions & 233 deletions .build.ps1

This file was deleted.

18 changes: 8 additions & 10 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@

## PR Checklist

Note: Tick the boxes below that apply to this pull request by putting an `x` between the square brackets. Please mark anything not applicable to this PR `NA`.

- [ ] PR has a meaningful title
- [ ] Use the present tense and imperative mood when describing your changes
- [ ] Summarized changes
- [ ] User facing documentation needed
- [ ] Change is not breaking
- [ ] Make sure you've added a new test if existing tests do not effectively test the code changed
- [ ] This PR is ready to merge and is not work in progress
- If the PR is work in progress, please add the prefix `WIP:` to the beginning of the title and remove the prefix when the PR is ready
- [ ] [PR has a meaningful title](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)
- Use the present tense and imperative mood when describing your changes
- [ ] [Summarized changes](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)
- [ ] [Change is not breaking](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes)
- [ ] [Make sure all `.cs`, `.ps1` and `.psm1` files have the correct copyright header](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)
- [ ] Make sure you've added a new test if existing tests do not effectively test the code changed and/or updated documentation
- [ ] This PR is ready to merge and is not [Work in Progress](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress).
- If the PR is work in progress, please add the prefix `WIP:` to the beginning of the title and remove the prefix when the PR is ready.
14 changes: 13 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ bld/
# Visual Studo 2015 cache/options directory
.vs/

# VSCode configuration directory
.vscode/

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
Expand Down Expand Up @@ -205,4 +208,13 @@ FakesAssemblies/
*.opt

##Our project binplace location
PSScriptAnalyzer/
PSScriptAnalyzer/

# Vim swap files
*.swp

# Test result file
TestResults.xml

# PSCompatibilityAnalyzer module
PSCompatibilityAnalyzer/out/
8 changes: 8 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"ms-vscode.PowerShell",
"ms-vscode.csharp"
]
}
13 changes: 11 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
// Place your settings in this file to overwrite default and user settings.
{
"editor.tabSize": 4,
"powershell.codeFormatting.preset": "Allman"
}
"powershell.codeFormatting.preset": "Allman",
"[powershell]": {
"files.trimTrailingWhitespace": true
},
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
"/PSCompatibilityAnalyzer/profiles": true,
"/PSCompatibilityAnalyzer/optional_profiles": true
}
}
Loading