Skip to content

Commit 2facc14

Browse files
authored
Merge pull request #45 from PowerShell/dev
Release of version 1.3.0.0 of xBitlocker
2 parents 3475f35 + f7799ad commit 2facc14

36 files changed

+4236
-1697
lines changed

.MetaTestOptIn.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[
2+
"Common Tests - Validate Markdown Files",
3+
"Common Tests - Validate Module Files",
4+
"Common Tests - Validate Script Files",
5+
"Common Tests - Validate Example Files",
6+
"Common Tests - Validate Example Files To Be Published",
7+
"Common Tests - Required Script Analyzer Rules",
8+
"Common Tests - New Error-Level Script Analyzer Rules",
9+
"Common Tests - Custom Script Analyzer Rules",
10+
"Common Tests - Flagged Script Analyzer Rules",
11+
"Common Tests - Relative Path Length",
12+
"Common Tests - Validate Markdown Links"
13+
]

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Needed for publishing of examples, build worker defaults to core.autocrlf=input.
2+
* text eol=crlf

.github/ISSUE_TEMPLATE/General.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
name: General question or documentation update
3+
about: If you have a general question or documentation update suggestion around the resource module.
4+
---
5+
<!--
6+
Your feedback and support is greatly appreciated, thanks for contributing!
7+
-->
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
---
2+
name: Problem with a resource
3+
about: If you have a problem, bug, or enhancement with a resource in this resource module.
4+
---
5+
<!--
6+
Your feedback and support is greatly appreciated, thanks for contributing!
7+
8+
ISSUE TITLE:
9+
Please prefix the issue title with the resource name, e.g.
10+
'ResourceName: Short description of my issue'
11+
12+
ISSUE DESCRIPTION (this template):
13+
Please provide information regarding your issue under each header below.
14+
Write N/A under any headers that do not apply to your issue, or if the
15+
information is not available.
16+
17+
NOTE! Sensitive information should be obfuscated.
18+
19+
PLEASE KEEP THE HEADERS.
20+
21+
You may remove this comment block, and the other comment blocks,
22+
but please keep the headers.
23+
-->
24+
#### Details of the scenario you tried and the problem that is occurring
25+
26+
#### Verbose logs showing the problem
27+
28+
#### Suggested solution to the issue
29+
30+
#### The DSC configuration that is used to reproduce the issue (as detailed as possible)
31+
```powershell
32+
# insert configuration here
33+
```
34+
35+
#### The operating system the target node is running
36+
<!--
37+
Please provide as much as possible about the target node, for example
38+
edition, version, build and language.
39+
On OS with WMF 5.1 the following command can help get this information.
40+
41+
Get-ComputerInfo -Property @(
42+
'OsName',
43+
'OsOperatingSystemSKU',
44+
'OSArchitecture',
45+
'WindowsVersion',
46+
'WindowsBuildLabEx',
47+
'OsLanguage',
48+
'OsMuiLanguages')
49+
-->
50+
51+
#### Version and build of PowerShell the target node is running
52+
<!--
53+
To help with this information, please run this command:
54+
$PSVersionTable
55+
-->
56+
57+
#### Version of the DSC module that was used ('dev' if using current dev branch)
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: New resource proposal
3+
about: If you have a new resource proposal that you think should be added to this resource module.
4+
---
5+
<!--
6+
Thank you for contributing and making this resource module better!
7+
8+
ISSUE TITLE:
9+
Please prefix the issue title with a proposed resource name,
10+
e.g. 'NewResourceName: New resource proposal'
11+
12+
ISSUE DESCRIPTION (this template):
13+
Please propose the new resource under each header below.
14+
15+
PLEASE KEEP THE HEADERS, but you may remove this comment block.
16+
-->
17+
### Description
18+
19+
### Proposed properties
20+
21+
### Special considerations or limitations

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<!--
2+
Thanks for submitting a Pull Request (PR) to this project.
3+
Your contribution to this project is greatly appreciated!
4+
5+
Please prefix the PR title with the resource name,
6+
e.g. 'ResourceName: My short description'.
7+
If this is a breaking change, then also prefix the PR title
8+
with 'BREAKING CHANGE:',
9+
e.g. 'BREAKING CHANGE: ResourceName: My short description'.
10+
11+
You may remove this comment block, and the other comment blocks, but please
12+
keep the headers and the task list.
13+
-->
14+
#### Pull Request (PR) description
15+
<!--
16+
Replace this comment block with a description of your PR.
17+
-->
18+
19+
#### This Pull Request (PR) fixes the following issues
20+
<!--
21+
If this PR does not fix an open issue, replace this comment block with None.
22+
If this PR resolves one or more open issues, replace this comment block with
23+
a list the issues using a GitHub closing keyword, e.g.:
24+
- Fixes #123
25+
- Fixes #124
26+
-->
27+
28+
#### Task list
29+
<!--
30+
To aid community reviewers in reviewing and merging your PR, please take
31+
the time to run through the below checklist and make sure your PR has
32+
everything updated as required.
33+
34+
Change to [x] for each task in the task list that applies to your PR.
35+
For those task that don't apply to you PR, leave those as is.
36+
-->
37+
- [ ] Added an entry under the Unreleased section of the change log in the CHANGELOG.md.
38+
Entry should say what was changed, and how that affects users (if applicable).
39+
- [ ] Resource documentation added/updated in README.md.
40+
- [ ] Resource parameter descriptions added/updated in README.md, schema.mof
41+
and comment-based help.
42+
- [ ] Comment-based help added/updated.
43+
- [ ] Localization strings added/updated in all localization files as appropriate.
44+
- [ ] Examples appropriately added/updated.
45+
- [ ] Unit tests added/updated. See [DSC Resource Testing Guidelines](https://github.com/PowerShell/DscResources/blob/master/TestsGuidelines.md).
46+
- [ ] Integration tests added/updated (where possible). See [DSC Resource Testing Guidelines](https://github.com/PowerShell/DscResources/blob/master/TestsGuidelines.md).
47+
- [ ] New/changed code adheres to [DSC Resource Style Guidelines](https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md) and [Best Practices](https://github.com/PowerShell/DscResources/blob/master/BestPractices.md).

.github/stale.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Configuration for probot-stale - https://github.com/probot/stale
2+
3+
limitPerRun: 30
4+
5+
pulls:
6+
daysUntilStale: 14
7+
daysUntilClose: false
8+
exemptProjects: true
9+
exemptMilestones: true
10+
staleLabel: abandoned
11+
exemptLabels:
12+
- needs review
13+
- on hold
14+
- waiting for CLA pass
15+
16+
markComment: >
17+
Labeling this pull request (PR) as abandoned since it has gone 14 days or more
18+
since the last update. An abandoned PR can be continued by another contributor.
19+
The abandoned label will be removed if work on this PR is taken up again.
20+
21+
issues:
22+
daysUntilStale: 30
23+
daysUntilClose: 40
24+
exemptProjects: true
25+
exemptMilestones: true
26+
staleLabel: stale
27+
exemptLabels:
28+
- bug
29+
- enhancement
30+
- tests
31+
- documentation
32+
- resource proposal
33+
- on hold
34+
35+
markComment: >
36+
This issue has been automatically marked as stale because
37+
it has not had activity from the community in the last 30 days. It will be
38+
closed if no further activity occurs within 10 days. If the issue is labelled
39+
with any of the work labels (e.g bug, enhancement, documentation, or tests)
40+
then the issue will not auto-close.
41+
42+
closeComment: >
43+
This issue has been automatically closed because it is has not had activity
44+
from the community in the last 40 days.

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@
99
"powershell.codeFormatting.ignoreOneLineBlock": false,
1010
"powershell.codeFormatting.preset": "Custom",
1111
"files.trimTrailingWhitespace": true,
12-
"files.insertFinalNewline": true
12+
"files.insertFinalNewline": true,
13+
"powershell.scriptAnalysis.settingsPath": ".vscode\\analyzersettings.psd1"
1314
}

CHANGELOG.md

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
# Change log for xBitlocker
2+
3+
## Unreleased
4+
5+
## 1.3.0.0
6+
7+
- Update appveyor.yml to use the default template.
8+
- Added default template files .gitattributes, and .vscode settings.
9+
- Fixes most PSScriptAnalyzer issues.
10+
- Fix issue where AutoUnlock is not set if requested, if the disk was
11+
originally encrypted and AutoUnlock was not used.
12+
- Add remaining Unit Tests for xBitlockerCommon.
13+
- Add Unit tests for MSFT_xBLTpm
14+
- Add remaining Unit Tests for xBLAutoBitlocker
15+
- Add Unit tests for MSFT_xBLBitlocker
16+
- Moved change log to CHANGELOG.md file
17+
- Fixed Markdown validation warnings in README.md
18+
- Added .MetaTestOptIn.json file to root of module
19+
- Add Integration Tests for module resources
20+
- Rename functions with improper Verb-Noun constructs
21+
- Add comment based help to any functions without it
22+
- Update Schema.mof Description fields
23+
- Fixes issue where Switch parameters are passed to Enable-Bitlocker even if
24+
the corresponding DSC resource parameter was set to False (Issue #12)
25+
26+
## 1.2.0.0
27+
28+
- Converted appveyor.yml to install Pester from PSGallery instead of from
29+
Chocolatey.
30+
- Added Codecov support.
31+
- Updated appveyor.yml to use the one in template.
32+
- Added folders for future unit and integration tests.
33+
- Added Visual Studio Code formatting settings.
34+
- Added .gitignore file.
35+
- Added markdown lint rules.
36+
- Fixed encoding on README.md.
37+
- Added `PowerShellVersion = '4.0'`, and updated copyright information, in the
38+
module manifest.
39+
- Fixed issue which caused Test to incorrectly succeed on fully decrypted
40+
volumes when correct Key Protectors were present
41+
([issue #13](https://github.com/PowerShell/xBitlocker/issues/13))
42+
- Fixed issue which caused xBLAutoBitlocker to incorrectly detect Fixed vs
43+
Removable volumes.
44+
([issue #11](https://github.com/PowerShell/xBitlocker/issues/11))
45+
- Fixed issue which made xBLAutoBitlocker unable to encrypt volumes with drive
46+
letters assigned.
47+
([issue #10](https://github.com/PowerShell/xBitlocker/issues/10))
48+
- Fixed an issue in CheckForPreReqs function where on Server Core the
49+
installation of the non existing Windows Feature
50+
'RSAT-Feature-Tools-BitLocker-RemoteAdminTool' was erroneously checked.
51+
([issue #8](https://github.com/PowerShell/xBitlocker/issues/8))
52+
53+
## 1.1.0.0
54+
55+
- Versioning updates
56+
57+
## 1.0.1.1
58+
59+
- Reduced the number of acceptable values for PrimaryProtector in
60+
xBLAutoBitlocker and xBLBitlocker.
61+
- Changed the properties that are returned by Get-TargetResource in
62+
xBLAutoBitlocker, xBLBitlocker, and xBLTpm.
63+
- Fixed issue which caused protectors to be continually re-added.
64+
65+
## 1.0.0.0
66+
67+
- Initial release with the following resources
68+
- xBLAutoBitlocker
69+
- xBLBitlocker
70+
- xBLTpm

0 commit comments

Comments
 (0)