Skip to content

Commit a0ab3d1

Browse files
Merge pull request #30 from Geta/upgrade/cms13
Upgrade/cms13
2 parents 42a9ed4 + f2da8a4 commit a0ab3d1

268 files changed

Lines changed: 331 additions & 23301 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/build.yml

Lines changed: 5 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -7,43 +7,11 @@ on:
77
types: [opened, synchronize, reopened]
88
jobs:
99
build:
10-
name: Build and analyze
10+
name: Build and test
1111
runs-on: windows-latest
1212
steps:
13-
- name: Set up JDK 17
14-
uses: actions/setup-java@v4
15-
with:
16-
java-version: 17
17-
distribution: 'zulu' # Alternative distribution options are available.
1813
- uses: actions/checkout@v4
19-
with:
20-
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
21-
- name: Cache SonarQube Cloud packages
22-
uses: actions/cache@v4
23-
with:
24-
path: ~\sonar\cache
25-
key: ${{ runner.os }}-sonar
26-
restore-keys: ${{ runner.os }}-sonar
27-
- name: Cache SonarQube Cloud scanner
28-
id: cache-sonar-scanner
29-
uses: actions/cache@v4
30-
with:
31-
path: ${{ runner.temp }}\scanner
32-
key: ${{ runner.os }}-sonar-scanner
33-
restore-keys: ${{ runner.os }}-sonar-scanner
34-
- name: Install SonarQube Cloud scanner
35-
if: steps.cache-sonar-scanner.outputs.cache-hit != 'true'
36-
shell: powershell
37-
run: |
38-
New-Item -Path ${{ runner.temp }}\scanner -ItemType Directory
39-
dotnet tool update dotnet-sonarscanner --tool-path ${{ runner.temp }}\scanner
40-
- name: Build and analyze
41-
env:
42-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
44-
shell: powershell
45-
run: |
46-
${{ runner.temp }}\scanner\dotnet-sonarscanner begin /k:"Geta_${{ github.event.repository.name }}" /o:"geta" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.opencover.reportsPaths=**/**/coverage.opencover.xml
47-
dotnet build
48-
dotnet test --filter Category!=Integration /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput=coverage
49-
${{ runner.temp }}\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"
14+
- name: Build
15+
run: dotnet build src/Geta.Optimizely.ContentTypeIcons/Geta.Optimizely.ContentTypeIcons.csproj -c Release
16+
- name: Test
17+
run: dotnet test tests/Geta.Optimizely.ContentTypeIcons.Tests/Geta.Optimizely.ContentTypeIcons.Tests.csproj -c Release --no-build

.github/workflows/release.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,12 @@ jobs:
1818
run: |
1919
$version = ("${{github.ref_name}}").Remove(0, 1)
2020
echo "VERSION=$version" >> $env:GITHUB_ENV
21-
- name: Release
22-
run: |
23-
echo "${env:VERSION}"
24-
dotnet build --configuration Release /p:Version=${{env.VERSION}}
21+
- name: Build
22+
run: dotnet build src/Geta.Optimizely.ContentTypeIcons/Geta.Optimizely.ContentTypeIcons.csproj -c Release /p:Version=${{env.VERSION}}
2523
- name: Test
26-
run: dotnet test --configuration Release /p:Version=${{env.VERSION}} --no-build
24+
run: dotnet test tests/Geta.Optimizely.ContentTypeIcons.Tests/Geta.Optimizely.ContentTypeIcons.Tests.csproj -c Release /p:Version=${{env.VERSION}} --no-build
2725
- name: Pack
28-
run: dotnet pack --configuration Release /p:Version=${{env.VERSION}} --no-build --output .
26+
run: dotnet pack src/Geta.Optimizely.ContentTypeIcons/Geta.Optimizely.ContentTypeIcons.csproj -c Release /p:Version=${{env.VERSION}} --no-build --output .
2927
- name: Push
3028
run: |
3129
dotnet nuget push Geta.Optimizely.ContentTypeIcons.${{env.VERSION}}.nupkg --source https://nuget.pkg.github.com/Geta/index.json --api-key ${{env.GITHUB_TOKEN}}

.gitignore

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Local development settings with credentials
2+
appsettings.Development.json
3+
.claude/
4+
*.nupkg
5+
16
# Build Folders (you can keep bin if you'd like, to store dlls and pdbs)
27
[Bb]in/
38
[Oo]bj/
@@ -110,3 +115,15 @@ UpgradeLog*.XML
110115
License.config
111116
*.orig
112117
/.idea/
118+
119+
# Removed sandbox (using Aspire instead)
120+
sandbox/
121+
122+
# App_Data junction to Foundation submodule
123+
src/Geta.Optimizely.ContentTypeIcons.Web/App_Data/
124+
125+
# CMS UI module zips (auto-extracted by MSBuild from NuGet packages)
126+
src/Geta.Optimizely.ContentTypeIcons.Web/modules/_protected/
127+
128+
# Local SQL init script (run manually on fresh DB)
129+
src/Geta.Optimizely.ContentTypeIcons.Web/init-foundation-schema.sql

.gitmodules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[submodule "sub/geta-foundation-core"]
2+
path = sub/geta-foundation-core
3+
url = https://github.com/Geta/geta-foundation-core
4+
branch = upgrade/cms13-2

CHANGELOG.md

Lines changed: 27 additions & 0 deletions

Geta.Optimizely.ContentTypeIcons.sln

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
1-
1+
22
Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 17
44
VisualStudioVersion = 17.0.31903.59
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Geta.Optimizely.ContentTypeIcons", "src\Geta.Optimizely.ContentTypeIcons\Geta.Optimizely.ContentTypeIcons.csproj", "{BFE13B85-6889-44EF-BC5A-188C540186B7}"
77
EndProject
8-
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Sandbox", "Sandbox", "{E0B839F3-5F6A-44FE-AECE-4730CA5B2E66}"
9-
EndProject
108
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Geta.Optimizely.ContentTypeIcons.EnumGenerator", "src\Geta.Optimizely.ContentTypeIcons.EnumGenerator\Geta.Optimizely.ContentTypeIcons.EnumGenerator.csproj", "{E59EF540-4245-40AE-AFDE-C6DC55F1EC3D}"
119
EndProject
1210
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{F066608B-F984-40F2-AD66-F56E314EE584}"
1311
EndProject
1412
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Geta.Optimizely.ContentTypeIcons.Tests", "tests\Geta.Optimizely.ContentTypeIcons.Tests\Geta.Optimizely.ContentTypeIcons.Tests.csproj", "{D291CD9F-3E08-4BE0-927C-6CCDD95A8DDE}"
1513
EndProject
16-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AlloyMvcTemplates", "sandbox\Alloy\AlloyMvcTemplates.csproj", "{172A9CEB-BB37-452A-B4AB-B70835A1AE51}"
14+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "geta-foundation-core", "geta-foundation-core", "{4F9C2A8B-D5E3-5F6A-CA45-8D7E9F3A2C1B}"
15+
EndProject
16+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Foundation", "sub\geta-foundation-core\src\Foundation\Foundation.csproj", "{5A0D3B9C-E6F4-4A7B-DB56-9E8FA0B3D2C1}"
17+
EndProject
18+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Foundation.AppHost", "sub\geta-foundation-core\src\Foundation.AppHost\Foundation.AppHost.csproj", "{6B1E4CAD-F7A5-4B8C-EC67-AF90B1C4E3D2}"
19+
EndProject
20+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Foundation.AppHost.ServiceDefaults", "sub\geta-foundation-core\src\Foundation.AppHost.ServiceDefaults\Foundation.AppHost.ServiceDefaults.csproj", "{7C2F5DBE-A8B6-4C9D-FD78-B0A1C2D5F4E3}"
1721
EndProject
1822
Global
1923
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -33,17 +37,27 @@ Global
3337
{D291CD9F-3E08-4BE0-927C-6CCDD95A8DDE}.Debug|Any CPU.Build.0 = Debug|Any CPU
3438
{D291CD9F-3E08-4BE0-927C-6CCDD95A8DDE}.Release|Any CPU.ActiveCfg = Release|Any CPU
3539
{D291CD9F-3E08-4BE0-927C-6CCDD95A8DDE}.Release|Any CPU.Build.0 = Release|Any CPU
36-
{172A9CEB-BB37-452A-B4AB-B70835A1AE51}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
37-
{172A9CEB-BB37-452A-B4AB-B70835A1AE51}.Debug|Any CPU.Build.0 = Debug|Any CPU
38-
{172A9CEB-BB37-452A-B4AB-B70835A1AE51}.Release|Any CPU.ActiveCfg = Release|Any CPU
39-
{172A9CEB-BB37-452A-B4AB-B70835A1AE51}.Release|Any CPU.Build.0 = Release|Any CPU
40+
{5A0D3B9C-E6F4-4A7B-DB56-9E8FA0B3D2C1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
41+
{5A0D3B9C-E6F4-4A7B-DB56-9E8FA0B3D2C1}.Debug|Any CPU.Build.0 = Debug|Any CPU
42+
{5A0D3B9C-E6F4-4A7B-DB56-9E8FA0B3D2C1}.Release|Any CPU.ActiveCfg = Release|Any CPU
43+
{5A0D3B9C-E6F4-4A7B-DB56-9E8FA0B3D2C1}.Release|Any CPU.Build.0 = Release|Any CPU
44+
{6B1E4CAD-F7A5-4B8C-EC67-AF90B1C4E3D2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
45+
{6B1E4CAD-F7A5-4B8C-EC67-AF90B1C4E3D2}.Debug|Any CPU.Build.0 = Debug|Any CPU
46+
{6B1E4CAD-F7A5-4B8C-EC67-AF90B1C4E3D2}.Release|Any CPU.ActiveCfg = Release|Any CPU
47+
{6B1E4CAD-F7A5-4B8C-EC67-AF90B1C4E3D2}.Release|Any CPU.Build.0 = Release|Any CPU
48+
{7C2F5DBE-A8B6-4C9D-FD78-B0A1C2D5F4E3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
49+
{7C2F5DBE-A8B6-4C9D-FD78-B0A1C2D5F4E3}.Debug|Any CPU.Build.0 = Debug|Any CPU
50+
{7C2F5DBE-A8B6-4C9D-FD78-B0A1C2D5F4E3}.Release|Any CPU.ActiveCfg = Release|Any CPU
51+
{7C2F5DBE-A8B6-4C9D-FD78-B0A1C2D5F4E3}.Release|Any CPU.Build.0 = Release|Any CPU
4052
EndGlobalSection
4153
GlobalSection(SolutionProperties) = preSolution
4254
HideSolutionNode = FALSE
4355
EndGlobalSection
4456
GlobalSection(NestedProjects) = preSolution
4557
{D291CD9F-3E08-4BE0-927C-6CCDD95A8DDE} = {F066608B-F984-40F2-AD66-F56E314EE584}
46-
{172A9CEB-BB37-452A-B4AB-B70835A1AE51} = {E0B839F3-5F6A-44FE-AECE-4730CA5B2E66}
58+
{5A0D3B9C-E6F4-4A7B-DB56-9E8FA0B3D2C1} = {4F9C2A8B-D5E3-5F6A-CA45-8D7E9F3A2C1B}
59+
{6B1E4CAD-F7A5-4B8C-EC67-AF90B1C4E3D2} = {4F9C2A8B-D5E3-5F6A-CA45-8D7E9F3A2C1B}
60+
{7C2F5DBE-A8B6-4C9D-FD78-B0A1C2D5F4E3} = {4F9C2A8B-D5E3-5F6A-CA45-8D7E9F3A2C1B}
4761
EndGlobalSection
4862
GlobalSection(ExtensibilityGlobals) = postSolution
4963
SolutionGuid = {2F7799DB-6899-478C-83D9-60096694B343}

README.md

Lines changed: 12 additions & 9 deletions

sandbox/Alloy/.gitignore

Lines changed: 0 additions & 75 deletions
This file was deleted.

sandbox/Alloy/.idea/.idea.AlloyMvcTemplates.dir/.idea/.gitignore

Lines changed: 0 additions & 13 deletions
This file was deleted.

sandbox/Alloy/.idea/.idea.AlloyMvcTemplates.dir/.idea/.name

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)