Skip to content

Commit

Permalink
Merge pull request #2943 from microsoft/feature/kiota-dev-sunset
Browse files Browse the repository at this point in the history
feature/kiota dev sunset
  • Loading branch information
baywet authored Jul 18, 2023
2 parents 7976d65 + 6732cce commit ebe8874
Show file tree
Hide file tree
Showing 57 changed files with 2 additions and 3,418 deletions.
16 changes: 0 additions & 16 deletions .azure-pipelines/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ stages:

- pwsh: |
Copy-Item $(Build.ArtifactStagingDirectory)/AppSettings/appsettings.json $(Build.SourcesDirectory)/src/kiota/appsettings.json -Force -Verbose
Copy-Item $(Build.ArtifactStagingDirectory)/AppSettings/appsettings.json $(Build.SourcesDirectory)/src/Kiota.Web/wwwroot/appsettings.json -Force -Verbose
displayName: Copy the appsettings.json
- task: UseDotNet@2
Expand Down Expand Up @@ -108,12 +107,6 @@ stages:
versionSpec: ">=6.1.0"
checkLatest: true

- pwsh: |
dotnet workload restore
dotnet workload install wasm-tools
displayName: "Restore workloads"
workingDirectory: $(Build.SourcesDirectory)
- pwsh: $(Build.SourcesDirectory)/scripts/get-prerelease-version.ps1 -currentBranch $(Build.SourceBranch) -previewBranch $(previewBranch) -excludeHeadingDash
displayName: "Set version suffix"

Expand Down Expand Up @@ -154,14 +147,6 @@ stages:
projects: '$(Build.SourcesDirectory)\kiota.sln'
arguments: "--configuration $(BuildConfiguration) --no-build"

# removing kiota web files before signing as they don't need to be signed
# removing triggers to credscan
- pwsh: |
Remove-Item -r src\Kiota.Web\bin -ErrorAction SilentlyContinue -Verbose
Remove-Item tests\Kiota.Web.Tests\bin\Release\net7.0\.playwright\package\ThirdPartyNotices.txt -ErrorAction SilentlyContinue -Verbose
Remove-Item src\Kiota.Web\README.md -ErrorAction SilentlyContinue -Verbose
workingDirectory: $(Build.SourcesDirectory)
# CredScan
- task: securedevelopmentteam.vss-secure-development-tools.build-task-credscan.CredScan@3
displayName: "Run CredScan - Src"
Expand Down Expand Up @@ -355,7 +340,6 @@ stages:

- pwsh: |
Copy-Item $(Build.ArtifactStagingDirectory)/AppSettings/appsettings.json $(Build.SourcesDirectory)/src/kiota/appsettings.json -Force -Verbose
Copy-Item $(Build.ArtifactStagingDirectory)/AppSettings/appsettings.json $(Build.SourcesDirectory)/src/Kiota.Web/wwwroot/appsettings.json -Force -Verbose
displayName: Copy the appsettings.json
- pwsh: $(Build.SourcesDirectory)/scripts/get-prerelease-version.ps1 -currentBranch $(Build.SourceBranch) -previewBranch $(previewBranch) -excludeHeadingDash
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,6 @@ jobs:
# and modify them (or add more) to build your code if your project
# uses a compiled language

- name: Restore workloads
run: |
dotnet workload restore
dotnet workload install wasm-tools
- name: Restore dependencies
run: dotnet restore
- name: Build
Expand Down
35 changes: 0 additions & 35 deletions .github/workflows/deploy-kiota-dev.yml

This file was deleted.

12 changes: 0 additions & 12 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,12 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Restore workloads
run: |
dotnet workload restore
dotnet workload install wasm-tools
- name: Restore dependencies
run: dotnet restore kiota.sln
- name: Check formatting
run: dotnet format --verify-no-changes
- name: Build
run: dotnet build kiota.sln --no-restore
- name: Install PlayWright browsers
run: |
dotnet tool install --global Microsoft.Playwright.CLI
playwright install
- name: Test
run: dotnet test kiota.sln --no-build --verbosity normal --collect:"XPlat Code Coverage"
- name: Install report generator
Expand All @@ -73,10 +65,6 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Restore workloads
run: |
dotnet workload restore
dotnet workload install wasm-tools
- name: Restore dependencies
run: dotnet restore kiota.sln
- name: Publish ${{ matrix.os }}
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Restore workloads
run: |
dotnet workload restore
dotnet workload install wasm-tools
- name: Restore dependencies
run: dotnet restore kiota.sln
- name: Build
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@ jobs:
shell: pwsh
run: |
./.sonar/scanner/dotnet-sonarscanner begin /k:"microsoft_kiota" /o:"microsoft" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.opencover.reportsPaths="tests/**/coverage.opencover.xml"
dotnet workload restore
dotnet workload install wasm-tools
dotnet build
dotnet test kiota.sln --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
./.sonar/scanner/dotnet-sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed

- Fixed missing type comments in many cases.
- Sunset app.kiota.dev in favour of the VSCode extension. [#2934](https://github.com/microsoft/kiota/issues/2934)
- Use schematized types for 206 response codes instead of binary. [#2880](https://github.com/microsoft/kiota/issues/2880)
- Typenames are not changed to first char upper case in comments in some cases.
- Type names are not changed to first char upper case in comments in some cases.
- Updated `getEnumValues` method name to `getCollectionOfEnumValues`. [#2907](https://github.com/microsoft/kiota/pull/2907)
- Added `Method` to the list of `CSharpReservedClassNames`. [#2939](https://github.com/microsoft/kiota/pull/2939)

Expand Down
14 changes: 0 additions & 14 deletions kiota.sln
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Kiota.Tests", "tests\Kiota.
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{EAAC5CEA-33B8-495D-9CD0-B36794B8AFE7}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Kiota.Web", "src\Kiota.Web\Kiota.Web.csproj", "{C27E6F75-8E64-4F3D-8EA0-E632BFAFF600}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Kiota.Web.Tests", "tests\Kiota.Web.Tests\Kiota.Web.Tests.csproj", "{A2584ED3-5C92-4BC7-9120-D97F5404B52C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KiotaGenerated", "src\Kiota.Generated\KiotaGenerated.csproj", "{01ABDF23-60CD-4CE3-8DC7-8654C4BA1EE8}"
EndProject
Global
Expand Down Expand Up @@ -49,14 +45,6 @@ Global
{E4C108A5-A13F-4C3F-B32A-86210A4EC52A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E4C108A5-A13F-4C3F-B32A-86210A4EC52A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E4C108A5-A13F-4C3F-B32A-86210A4EC52A}.Release|Any CPU.Build.0 = Release|Any CPU
{C27E6F75-8E64-4F3D-8EA0-E632BFAFF600}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C27E6F75-8E64-4F3D-8EA0-E632BFAFF600}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C27E6F75-8E64-4F3D-8EA0-E632BFAFF600}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C27E6F75-8E64-4F3D-8EA0-E632BFAFF600}.Release|Any CPU.Build.0 = Release|Any CPU
{A2584ED3-5C92-4BC7-9120-D97F5404B52C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A2584ED3-5C92-4BC7-9120-D97F5404B52C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A2584ED3-5C92-4BC7-9120-D97F5404B52C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A2584ED3-5C92-4BC7-9120-D97F5404B52C}.Release|Any CPU.Build.0 = Release|Any CPU
{01ABDF23-60CD-4CE3-8DC7-8654C4BA1EE8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{01ABDF23-60CD-4CE3-8DC7-8654C4BA1EE8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{01ABDF23-60CD-4CE3-8DC7-8654C4BA1EE8}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand All @@ -70,8 +58,6 @@ Global
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{E4C108A5-A13F-4C3F-B32A-86210A4EC52A} = {2DF34BB8-B19F-4623-9E3D-9F59A14C0660}
{C27E6F75-8E64-4F3D-8EA0-E632BFAFF600} = {EAAC5CEA-33B8-495D-9CD0-B36794B8AFE7}
{A2584ED3-5C92-4BC7-9120-D97F5404B52C} = {2DF34BB8-B19F-4623-9E3D-9F59A14C0660}
{01ABDF23-60CD-4CE3-8DC7-8654C4BA1EE8} = {EAAC5CEA-33B8-495D-9CD0-B36794B8AFE7}
EndGlobalSection
EndGlobal
2 changes: 0 additions & 2 deletions scripts/update-versions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,4 @@ foreach ($languageName in ($appSettings.Languages | Get-Member -MemberType NoteP

# Write the updated appsettings.json file
$appSettings | ConvertTo-Json -Depth 100 | Set-Content -Path $mainSettings
$additionalSettingsPath = Join-Path -Path $scriptPath -ChildPath "..\src\Kiota.Web\wwwroot\appsettings.json"
$appSettings | ConvertTo-Json -Depth 100 | Set-Content -Path $additionalSettingsPath

14 changes: 0 additions & 14 deletions src/Kiota.Web/App.razor

This file was deleted.

87 changes: 0 additions & 87 deletions src/Kiota.Web/Authentication/GitHub/BrowserAccessTokenProvider.cs

This file was deleted.

This file was deleted.

This file was deleted.

24 changes: 0 additions & 24 deletions src/Kiota.Web/ComponentWithCancellationToken.cs

This file was deleted.

Loading

0 comments on commit ebe8874

Please sign in to comment.