From 6684e1e0761c4180653febcc682a6dbf7fb8498a Mon Sep 17 00:00:00 2001 From: Max Katz Date: Mon, 20 Feb 2023 01:13:33 -0500 Subject: [PATCH] Remove everything that won't go into main repo --- .github/dependabot.yml | 14 --- .github/workflows/ci-build.yml | 100 ------------------ .gitmodules | 3 - Avalonia.NameGenerator.sln | 30 ------ LICENSE | 21 ---- external/.gitkeep | 0 external/XamlX | 1 - .../Avalonia.Generators/Directory.Build.props | 0 .../tools/Avalonia.Generators/README.md | 0 version.json | 11 -- 10 files changed, 180 deletions(-) delete mode 100644 .github/dependabot.yml delete mode 100644 .github/workflows/ci-build.yml delete mode 100644 .gitmodules delete mode 100644 Avalonia.NameGenerator.sln delete mode 100644 LICENSE delete mode 100644 external/.gitkeep delete mode 160000 external/XamlX rename Directory.Build.props => src/tools/Avalonia.Generators/Directory.Build.props (100%) rename README.md => src/tools/Avalonia.Generators/README.md (100%) delete mode 100644 version.json diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index b8f224c617..0000000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,14 +0,0 @@ -version: 2 -updates: -- package-ecosystem: nuget - directory: "/samples" - schedule: - interval: monthly - time: "00:00" - open-pull-requests-limit: 10 -- package-ecosystem: nuget - directory: "/src" - schedule: - interval: monthly - time: "00:00" - open-pull-requests-limit: 10 diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml deleted file mode 100644 index d60dad794b..0000000000 --- a/.github/workflows/ci-build.yml +++ /dev/null @@ -1,100 +0,0 @@ -name: Build - -on: - push: - branches: [ main ] - pull_request: - types: [opened, synchronize, reopened, closed] - branches: [ main ] - -env: - configuration: Release - productNamespacePrefix: "Avalonia.NameGenerator" - -jobs: - build: - runs-on: windows-latest - outputs: - nbgv: ${{ steps.nbgv.outputs.SemVer2 }} - steps: - - name: Checkout - uses: actions/checkout@v2 - with: - fetch-depth: 0 - submodules: 'recursive' - - - name: Install .NET Core - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 6.0.101 - - - name: NBGV - id: nbgv - uses: dotnet/nbgv@master - with: - setAllVars: true - - - name: NuGet Restore - run: dotnet restore - working-directory: src - - - name: Add MSBuild to PATH - uses: microsoft/setup-msbuild@v1 - - - name: Build - run: dotnet build --configuration ${{ env.configuration }} - working-directory: src - - - name: Run Unit Tests and Generate Coverage - uses: glennawatson/coverlet-msbuild@v1 - with: - project-files: 'src/**/*.Tests.csproj' - no-build: true - exclude-filter: '[${{env.productNamespacePrefix}}.*.Tests.*]*' - include-filter: '[${{env.productNamespacePrefix}}*]*' - output-format: cobertura - output: '../../artifacts/' - configuration: ${{ env.configuration }} - working-directory: src - - - name: Create NuGet Artifacts - uses: actions/upload-artifact@master - with: - name: nuget - path: '**/*.nupkg' - - release: - runs-on: ubuntu-latest - needs: build - if: contains(github.event.pull_request.labels.*.name, 'release') && github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true - steps: - - name: Checkout - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - - name: Download NuGet Packages - uses: actions/download-artifact@v2 - with: - name: nuget - - - name: Changelog - uses: glennawatson/ChangeLog@v1 - id: changelog - - - name: Create Release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token - with: - tag_name: ${{ needs.build.outputs.nbgv }} - release_name: ${{ needs.build.outputs.nbgv }} - body: | - ${{ steps.changelog.outputs.commitLog }} - - - name: NuGet Push - env: - NUGET_AUTH_TOKEN: ${{ secrets.NUGET_API_KEY }} - SOURCE_URL: https://api.nuget.org/v3/index.json - run: | - dotnet nuget push -s ${{ env.SOURCE_URL }} -k ${{ env.NUGET_AUTH_TOKEN }} **/*.nupkg diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 56257deee0..0000000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "external/XamlX"] - path = external/XamlX - url = https://github.com/kekekeks/XamlX.git diff --git a/Avalonia.NameGenerator.sln b/Avalonia.NameGenerator.sln deleted file mode 100644 index 45dc1e7c63..0000000000 --- a/Avalonia.NameGenerator.sln +++ /dev/null @@ -1,30 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Avalonia.Generators", "Avalonia.Generators\Avalonia.Generators.csproj", "{684ADF3B-8DFC-4F4A-93AD-F856561FCC39}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Avalonia.Generators.Tests", "Avalonia.Generators.Tests\Avalonia.Generators.Tests.csproj", "{B13A0A44-85BC-49A7-970F-6C9BF8BDFD54}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{56EF74A3-1D59-42BC-B7EC-2E07C08B9F95}" -ProjectSection(SolutionItems) = preProject - ..\version.json = ..\version.json - ..\.gitignore = ..\.gitignore - ..\.gitmodules = ..\.gitmodules - Directory.Build.props = Directory.Build.props -EndProjectSection -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {684ADF3B-8DFC-4F4A-93AD-F856561FCC39}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {684ADF3B-8DFC-4F4A-93AD-F856561FCC39}.Debug|Any CPU.Build.0 = Debug|Any CPU - {684ADF3B-8DFC-4F4A-93AD-F856561FCC39}.Release|Any CPU.ActiveCfg = Release|Any CPU - {684ADF3B-8DFC-4F4A-93AD-F856561FCC39}.Release|Any CPU.Build.0 = Release|Any CPU - {B13A0A44-85BC-49A7-970F-6C9BF8BDFD54}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B13A0A44-85BC-49A7-970F-6C9BF8BDFD54}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B13A0A44-85BC-49A7-970F-6C9BF8BDFD54}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B13A0A44-85BC-49A7-970F-6C9BF8BDFD54}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection -EndGlobal diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 41870170b9..0000000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) .NET Foundation and Contributors All Rights Reserved - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/external/.gitkeep b/external/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/external/XamlX b/external/XamlX deleted file mode 160000 index 5e498f8bcc..0000000000 --- a/external/XamlX +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 5e498f8bcca403a34aff5efc825cbb4e12b7fa8e diff --git a/Directory.Build.props b/src/tools/Avalonia.Generators/Directory.Build.props similarity index 100% rename from Directory.Build.props rename to src/tools/Avalonia.Generators/Directory.Build.props diff --git a/README.md b/src/tools/Avalonia.Generators/README.md similarity index 100% rename from README.md rename to src/tools/Avalonia.Generators/README.md diff --git a/version.json b/version.json deleted file mode 100644 index 5e52c8ba9a..0000000000 --- a/version.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", - "version": "1.6", - "assemblyVersion": { - "precision": "revision" - }, - "publicReleaseRefSpec": [ - "^refs/heads/main$", - "^refs/heads/v\\d+\\.\\d+$" - ] -}