Skip to content

Commit b0d2940

Browse files
tablackburnclaude
andcommitted
chore: renormalize line endings to LF
Mechanical follow-up to the .gitattributes pin in the previous commit. git add --renormalize . converts all CRLF text files in the index to LF; content is byte-identical, only line endings change. Touches 210 files. Added to .git-blame-ignore-revs in the next commit. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 3960bae commit b0d2940

210 files changed

Lines changed: 48348 additions & 48348 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/CI.yaml

Lines changed: 273 additions & 273 deletions
Large diffs are not rendered by default.
Lines changed: 81 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -1,81 +1,81 @@
1-
name: Publish Module to PowerShell Gallery
2-
3-
on:
4-
push:
5-
branches:
6-
- main
7-
paths:
8-
- 'PlexAutomationToolkit/PlexAutomationToolkit.psd1'
9-
workflow_dispatch:
10-
11-
permissions:
12-
contents: write
13-
14-
jobs:
15-
publish:
16-
name: Publish Module
17-
runs-on: ubuntu-latest
18-
steps:
19-
- name: Checkout
20-
uses: actions/checkout@v6
21-
with:
22-
fetch-depth: 0
23-
24-
- name: Get Module Version
25-
id: version
26-
shell: pwsh
27-
run: |
28-
$manifest = Import-PowerShellDataFile -Path ./PlexAutomationToolkit/PlexAutomationToolkit.psd1
29-
$version = $manifest.ModuleVersion
30-
Write-Host "Module version: $version"
31-
"version=$version" | Out-File -FilePath $env:GITHUB_OUTPUT -Append
32-
33-
- name: Check if Release Exists
34-
id: check_release
35-
shell: bash
36-
env:
37-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38-
run: |
39-
if gh release view "v${{ steps.version.outputs.version }}" > /dev/null 2>&1; then
40-
echo "exists=true" >> $GITHUB_OUTPUT
41-
echo "GitHub release v${{ steps.version.outputs.version }} already exists"
42-
else
43-
echo "exists=false" >> $GITHUB_OUTPUT
44-
echo "GitHub release v${{ steps.version.outputs.version }} does not exist"
45-
fi
46-
47-
- name: Check if PSGallery Version Exists
48-
id: check_psgallery
49-
shell: pwsh
50-
run: |
51-
$version = "${{ steps.version.outputs.version }}"
52-
$published = Find-Module -Name PlexAutomationToolkit -RequiredVersion $version -Repository PSGallery -ErrorAction SilentlyContinue
53-
if ($published) {
54-
Write-Host "PSGallery version $version already exists"
55-
"exists=true" | Out-File -FilePath $env:GITHUB_OUTPUT -Append
56-
} else {
57-
Write-Host "PSGallery version $version not found - will publish"
58-
"exists=false" | Out-File -FilePath $env:GITHUB_OUTPUT -Append
59-
}
60-
61-
- name: Bootstrap
62-
if: steps.check_release.outputs.exists == 'false' || steps.check_psgallery.outputs.exists == 'false'
63-
shell: pwsh
64-
run: ./build.ps1 -Task Init -Bootstrap
65-
66-
- name: Create GitHub Release
67-
if: steps.check_release.outputs.exists == 'false'
68-
shell: bash
69-
env:
70-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
71-
run: |
72-
gh release create "v${{ steps.version.outputs.version }}" \
73-
--title "v${{ steps.version.outputs.version }}" \
74-
--generate-notes
75-
76-
- name: Publish to PSGallery
77-
if: steps.check_psgallery.outputs.exists == 'false'
78-
shell: pwsh
79-
env:
80-
PSGALLERY_API_KEY: ${{ secrets.PSGALLERY_API_KEY }}
81-
run: ./build.ps1 -Task Publish -Bootstrap
1+
name: Publish Module to PowerShell Gallery
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'PlexAutomationToolkit/PlexAutomationToolkit.psd1'
9+
workflow_dispatch:
10+
11+
permissions:
12+
contents: write
13+
14+
jobs:
15+
publish:
16+
name: Publish Module
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v6
21+
with:
22+
fetch-depth: 0
23+
24+
- name: Get Module Version
25+
id: version
26+
shell: pwsh
27+
run: |
28+
$manifest = Import-PowerShellDataFile -Path ./PlexAutomationToolkit/PlexAutomationToolkit.psd1
29+
$version = $manifest.ModuleVersion
30+
Write-Host "Module version: $version"
31+
"version=$version" | Out-File -FilePath $env:GITHUB_OUTPUT -Append
32+
33+
- name: Check if Release Exists
34+
id: check_release
35+
shell: bash
36+
env:
37+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38+
run: |
39+
if gh release view "v${{ steps.version.outputs.version }}" > /dev/null 2>&1; then
40+
echo "exists=true" >> $GITHUB_OUTPUT
41+
echo "GitHub release v${{ steps.version.outputs.version }} already exists"
42+
else
43+
echo "exists=false" >> $GITHUB_OUTPUT
44+
echo "GitHub release v${{ steps.version.outputs.version }} does not exist"
45+
fi
46+
47+
- name: Check if PSGallery Version Exists
48+
id: check_psgallery
49+
shell: pwsh
50+
run: |
51+
$version = "${{ steps.version.outputs.version }}"
52+
$published = Find-Module -Name PlexAutomationToolkit -RequiredVersion $version -Repository PSGallery -ErrorAction SilentlyContinue
53+
if ($published) {
54+
Write-Host "PSGallery version $version already exists"
55+
"exists=true" | Out-File -FilePath $env:GITHUB_OUTPUT -Append
56+
} else {
57+
Write-Host "PSGallery version $version not found - will publish"
58+
"exists=false" | Out-File -FilePath $env:GITHUB_OUTPUT -Append
59+
}
60+
61+
- name: Bootstrap
62+
if: steps.check_release.outputs.exists == 'false' || steps.check_psgallery.outputs.exists == 'false'
63+
shell: pwsh
64+
run: ./build.ps1 -Task Init -Bootstrap
65+
66+
- name: Create GitHub Release
67+
if: steps.check_release.outputs.exists == 'false'
68+
shell: bash
69+
env:
70+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
71+
run: |
72+
gh release create "v${{ steps.version.outputs.version }}" \
73+
--title "v${{ steps.version.outputs.version }}" \
74+
--generate-notes
75+
76+
- name: Publish to PSGallery
77+
if: steps.check_psgallery.outputs.exists == 'false'
78+
shell: pwsh
79+
env:
80+
PSGALLERY_API_KEY: ${{ secrets.PSGALLERY_API_KEY }}
81+
run: ./build.ps1 -Task Publish -Bootstrap

.gitignore

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
# Don't check in the Output dir
2-
Output/
3-
4-
scratch/
5-
6-
testResults.xml
7-
codeCoverage.xml
8-
coverage.xml
9-
out/
10-
11-
# Don't check in local integration test settings (contains tokens)
12-
tests/local.settings.ps1
13-
14-
# Secret vault password
15-
local.secrets.json
16-
17-
# Claude Code local settings
18-
.claude/
1+
# Don't check in the Output dir
2+
Output/
3+
4+
scratch/
5+
6+
testResults.xml
7+
codeCoverage.xml
8+
coverage.xml
9+
out/
10+
11+
# Don't check in local integration test settings (contains tokens)
12+
tests/local.settings.ps1
13+
14+
# Secret vault password
15+
local.secrets.json
16+
17+
# Claude Code local settings
18+
.claude/

.vscode/extensions.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
{
2-
// See http://go.microsoft.com/fwlink/?LinkId=827846
3-
// for the documentation about the extensions.json format
4-
"recommendations": [
5-
"ms-vscode.PowerShell",
6-
"DavidAnson.vscode-markdownlint"
7-
]
8-
}
1+
{
2+
// See http://go.microsoft.com/fwlink/?LinkId=827846
3+
// for the documentation about the extensions.json format
4+
"recommendations": [
5+
"ms-vscode.PowerShell",
6+
"DavidAnson.vscode-markdownlint"
7+
]
8+
}

.vscode/settings.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
{
2-
"files.trimTrailingWhitespace": true,
3-
"files.insertFinalNewline": true,
4-
"editor.insertSpaces": true,
5-
"editor.tabSize": 4,
6-
"powershell.codeFormatting.autoCorrectAliases": true,
7-
"powershell.codeFormatting.avoidSemicolonsAsLineTerminators": true,
8-
"powershell.codeFormatting.trimWhitespaceAroundPipe": true,
9-
"powershell.codeFormatting.useConstantStrings": true,
10-
"powershell.codeFormatting.useCorrectCasing": true,
11-
"powershell.codeFormatting.whitespaceBetweenParameters": true
12-
}
1+
{
2+
"files.trimTrailingWhitespace": true,
3+
"files.insertFinalNewline": true,
4+
"editor.insertSpaces": true,
5+
"editor.tabSize": 4,
6+
"powershell.codeFormatting.autoCorrectAliases": true,
7+
"powershell.codeFormatting.avoidSemicolonsAsLineTerminators": true,
8+
"powershell.codeFormatting.trimWhitespaceAroundPipe": true,
9+
"powershell.codeFormatting.useConstantStrings": true,
10+
"powershell.codeFormatting.useCorrectCasing": true,
11+
"powershell.codeFormatting.whitespaceBetweenParameters": true
12+
}

0 commit comments

Comments
 (0)