Skip to content

Commit

Permalink
Release 1.1.0 changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
rbanderton committed Feb 15, 2024
1 parent 445dec0 commit 4902c06
Show file tree
Hide file tree
Showing 74 changed files with 2,069 additions and 308 deletions.
1 change: 1 addition & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,5 @@ dotnet_diagnostic.SA1208.severity = warning
csharp_style_unused_value_assignment_preference = discard_variable:suggestion
dotnet_diagnostic.IDE0051.severity = error
dotnet_diagnostic.IDE0060.severity = error
dotnet_diagnostic.IDE0073.severity = error
csharp_style_prefer_primary_constructors = true:suggestion
32 changes: 15 additions & 17 deletions .github/workflows/sdk-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ on:
- .gitignore
- '**/.gitignore'
- 'CODEOWNERS'
- '.git2gus/config.json'
pull_request:
branches:
- main
Expand All @@ -30,7 +29,6 @@ on:
- .gitignore
- '**/.gitignore'
- 'CODEOWNERS'
- '.git2gus/config.json'
workflow_dispatch:
inputs:
publish-release:
Expand Down Expand Up @@ -129,15 +127,15 @@ jobs:
publish-docs-dry-run:
needs: [ dotnet-test, dotnet-publish-package-internal-dryrun, dotnet-publish-package-public-dryrun, python-publish-package-internal-dryrun, python-publish-package-public-dryrun ]
uses: ./.github/workflows/publishdocs-dryrun.yml
if: ${{ (inputs.publish-release != 'Prod' && inputs.publish-release != 'Prod-Internal' && inputs.publish-docs == false) || (github.ref != 'refs/heads/main' && !startsWith(github.ref, 'refs/heads/release/')) }}
if: ${{ (inputs.publish-release != 'Prod' && inputs.publish-release != 'Prod-Internal' && inputs.publish-docs == false) || (github.ref != 'refs/heads/main' && !startsWith(github.ref, 'refs/heads/release/') && !startsWith(github.ref, 'refs/tags/release/')) }}
with:
runs-on-config: ${{ vars.PUBLISH_OS }}
build-config: ${{ vars.PUBLISH_CONFIGURATION }}
python-version: ${{ vars.PYTHON_PUBLISH_DOCS_VERSION }}
publish-docs:
needs: [ dotnet-test, dotnet-publish-package-internal-dryrun, dotnet-publish-package-public-dryrun, python-publish-package-internal-dryrun, python-publish-package-public-dryrun ]
needs: [ dotnet-test, python-test, dotnet-publish-package-internal-dryrun, dotnet-publish-package-public-dryrun, python-publish-package-internal-dryrun, python-publish-package-public-dryrun ]
uses: ./.github/workflows/publishdocs.yml
if: ${{ (inputs.publish-release == 'Prod' || inputs.publish-release == 'Prod-Internal' || inputs.publish-docs == true) && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/')) }}
if: ${{ (inputs.publish-release == 'Prod' || inputs.publish-release == 'Prod-Internal' || inputs.publish-docs == true) && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/tags/release/')) }}
with:
runs-on-config: ${{ vars.PUBLISH_OS }}
build-config: ${{ vars.PUBLISH_CONFIGURATION }}
Expand All @@ -159,7 +157,7 @@ jobs:
release-version: ${{ needs.define-version.outputs.beta-version != '' && needs.define-version.outputs.beta-version || needs.define-version.outputs.code-version }}
is-pre-release: ${{ inputs.publish-release != 'Prod' && inputs.publish-release != 'Prod-Internal' }}
dotnet-publish-package-internal-beta:
needs: [ dotnet-publish-package-internal-dryrun, dotnet-publish-package-public-dryrun, python-publish-package-internal-dryrun, python-publish-package-public-dryrun ]
needs: [ dotnet-test, python-test, dotnet-publish-package-internal-dryrun, dotnet-publish-package-public-dryrun, python-publish-package-internal-dryrun, python-publish-package-public-dryrun ]
uses: ./.github/workflows/dotnet-package.yml
secrets: inherit
if: ${{ inputs.publish-release == 'Beta' || inputs.publish-release == 'Beta-Internal' }}
Expand All @@ -169,7 +167,7 @@ jobs:
build-config: ${{ vars.PUBLISH_CONFIGURATION }}
publish-environment: internal-beta
dotnet-publish-package-public-beta:
needs: [ dotnet-publish-package-internal-dryrun, dotnet-publish-package-public-dryrun, python-publish-package-internal-dryrun, python-publish-package-public-dryrun ]
needs: [ dotnet-test, python-test, dotnet-publish-package-internal-dryrun, dotnet-publish-package-public-dryrun, python-publish-package-internal-dryrun, python-publish-package-public-dryrun ]
uses: ./.github/workflows/dotnet-package.yml
secrets: inherit
if: ${{ inputs.publish-release == 'Beta' }}
Expand All @@ -179,27 +177,27 @@ jobs:
build-config: ${{ vars.PUBLISH_CONFIGURATION }}
publish-environment: public-beta
dotnet-publish-package-internal-prod:
needs: [ dotnet-publish-package-internal-dryrun, dotnet-publish-package-public-dryrun, python-publish-package-internal-dryrun, python-publish-package-public-dryrun ]
needs: [ dotnet-test, python-test, dotnet-publish-package-internal-dryrun, dotnet-publish-package-public-dryrun, python-publish-package-internal-dryrun, python-publish-package-public-dryrun ]
uses: ./.github/workflows/dotnet-package.yml
secrets: inherit
if: ${{ (inputs.publish-release == 'Prod' || inputs.publish-release == 'Prod-Internal') && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/')) }}
if: ${{ (inputs.publish-release == 'Prod' || inputs.publish-release == 'Prod-Internal') && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/tags/release/')) }}
with:
published-os: ${{ vars.PUBLISH_OS }}
runs-on-config: ${{ vars.PUBLISH_PACKAGE_OS }}
build-config: ${{ vars.PUBLISH_CONFIGURATION }}
publish-environment: internal-prod
dotnet-publish-package-public-prod:
needs: [ dotnet-publish-package-internal-dryrun, dotnet-publish-package-public-dryrun, python-publish-package-internal-dryrun, python-publish-package-public-dryrun ]
needs: [ dotnet-test, python-test, dotnet-publish-package-internal-dryrun, dotnet-publish-package-public-dryrun, python-publish-package-internal-dryrun, python-publish-package-public-dryrun ]
uses: ./.github/workflows/dotnet-package.yml
secrets: inherit
if: ${{ inputs.publish-release == 'Prod' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/')) }}
if: ${{ inputs.publish-release == 'Prod' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/tags/release/')) }}
with:
published-os: ${{ vars.PUBLISH_OS }}
runs-on-config: ${{ vars.PUBLISH_OS }}
build-config: ${{ vars.PUBLISH_CONFIGURATION }}
publish-environment: public-prod
python-publish-package-internal-beta:
needs: [ define-version, dotnet-publish-package-internal-dryrun, dotnet-publish-package-public-dryrun, python-publish-package-internal-dryrun, python-publish-package-public-dryrun ]
needs: [ define-version, dotnet-test, python-test, dotnet-publish-package-internal-dryrun, dotnet-publish-package-public-dryrun, python-publish-package-internal-dryrun, python-publish-package-public-dryrun ]
uses: ./.github/workflows/python-package.yml
secrets: inherit
if: ${{ inputs.publish-release == 'Beta' || inputs.publish-release == 'Beta-Internal' }}
Expand All @@ -209,7 +207,7 @@ jobs:
publish-environment: internal-beta
beta-version: ${{ needs.define-version.outputs.beta-version }}
python-publish-package-public-beta:
needs: [ define-version, dotnet-publish-package-internal-dryrun, dotnet-publish-package-public-dryrun, python-publish-package-internal-dryrun, python-publish-package-public-dryrun ]
needs: [ define-version, dotnet-test, python-test, dotnet-publish-package-internal-dryrun, dotnet-publish-package-public-dryrun, python-publish-package-internal-dryrun, python-publish-package-public-dryrun ]
uses: ./.github/workflows/python-package.yml
secrets: inherit
if: ${{ inputs.publish-release == 'Beta' }}
Expand All @@ -219,20 +217,20 @@ jobs:
publish-environment: public-beta
beta-version: ${{ needs.define-version.outputs.beta-version }}
python-publish-package-internal-prod:
needs: [ define-version, dotnet-publish-package-internal-dryrun, dotnet-publish-package-public-dryrun, python-publish-package-internal-dryrun, python-publish-package-public-dryrun ]
needs: [ define-version, dotnet-test, python-test, dotnet-publish-package-internal-dryrun, dotnet-publish-package-public-dryrun, python-publish-package-internal-dryrun, python-publish-package-public-dryrun ]
uses: ./.github/workflows/python-package.yml
secrets: inherit
if: ${{ (inputs.publish-release == 'Prod' || inputs.publish-release == 'Prod-Internal') && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/')) }}
if: ${{ (inputs.publish-release == 'Prod' || inputs.publish-release == 'Prod-Internal') && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/tags/release/')) }}
with:
runs-on-config: ${{ vars.PUBLISH_PACKAGE_OS }}
build-config: ${{ vars.PUBLISH_CONFIGURATION }}
publish-environment: internal-prod
beta-version: ${{ needs.define-version.outputs.beta-version }}
python-publish-package-public-prod:
needs: [ define-version, dotnet-publish-package-internal-dryrun, dotnet-publish-package-public-dryrun, python-publish-package-internal-dryrun, python-publish-package-public-dryrun ]
needs: [ define-version, dotnet-test, python-test, dotnet-publish-package-internal-dryrun, dotnet-publish-package-public-dryrun, python-publish-package-internal-dryrun, python-publish-package-public-dryrun ]
uses: ./.github/workflows/python-package.yml
secrets: inherit
if: ${{ inputs.publish-release == 'Prod' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/')) }}
if: ${{ inputs.publish-release == 'Prod' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/tags/release/')) }}
with:
runs-on-config: ${{ vars.PUBLISH_OS }}
build-config: ${{ vars.PUBLISH_CONFIGURATION }}
Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<Version>1.0.0</Version>
<Version>1.1.0</Version>
<Authors>Tableau Software, LLC</Authors>
<Company>Tableau Software, LLC</Company>
<Copyright>Copyright (c) 2024, Tableau Software, LLC and its licensors</Copyright>
Expand Down
31 changes: 31 additions & 0 deletions Migration SDK.sln
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,33 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "scripts", "scripts", "{9204
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DependencyInjection.ExampleApplication", "examples\DependencyInjection.ExampleApplication\DependencyInjection.ExampleApplication.csproj", "{99DA12FB-BB16-4EE1-9C9C-047755210255}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{90102C4B-EC3B-4279-A6C6-A6CFDFCD4DB4}"
ProjectSection(SolutionItems) = preProject
.github\pull_request_template.md = .github\pull_request_template.md
.github\release.yaml = .github\release.yaml
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "actions", "actions", "{6B735E6E-1FFB-4C37-8CF6-BD979B4F8D9B}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{EDD52CC0-7289-4167-A01E-E88B015FC67F}"
ProjectSection(SolutionItems) = preProject
.github\workflows\create-release.yml = .github\workflows\create-release.yml
.github\workflows\dotnet-build.yml = .github\workflows\dotnet-build.yml
.github\workflows\dotnet-package.yml = .github\workflows\dotnet-package.yml
.github\workflows\dotnet-test.yml = .github\workflows\dotnet-test.yml
.github\workflows\publishdocs-dryrun.yml = .github\workflows\publishdocs-dryrun.yml
.github\workflows\publishdocs.yml = .github\workflows\publishdocs.yml
.github\workflows\python-package.yml = .github\workflows\python-package.yml
.github\workflows\python-test.yml = .github\workflows\python-test.yml
.github\workflows\README.md = .github\workflows\README.md
.github\workflows\sdk-workflow.yml = .github\workflows\sdk-workflow.yml
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "setup-dotnet", "setup-dotnet", "{454EF272-D967-4668-A20D-AD6B3EE96C1A}"
ProjectSection(SolutionItems) = preProject
.github\actions\setup-dotnet\action.yml = .github\actions\setup-dotnet\action.yml
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -112,6 +139,10 @@ Global
{B0D16449-BC58-4873-8B95-F62E805EE39C} = {00B78B56-BF89-4F26-AF75-435A4B88D43F}
{92044843-B4D7-4062-B1D5-DE7596072E33} = {C5BD8316-60C9-4C96-9B15-820E8BA4DF7F}
{99DA12FB-BB16-4EE1-9C9C-047755210255} = {00B78B56-BF89-4F26-AF75-435A4B88D43F}
{90102C4B-EC3B-4279-A6C6-A6CFDFCD4DB4} = {C5BD8316-60C9-4C96-9B15-820E8BA4DF7F}
{6B735E6E-1FFB-4C37-8CF6-BD979B4F8D9B} = {90102C4B-EC3B-4279-A6C6-A6CFDFCD4DB4}
{EDD52CC0-7289-4167-A01E-E88B015FC67F} = {90102C4B-EC3B-4279-A6C6-A6CFDFCD4DB4}
{454EF272-D967-4668-A20D-AD6B3EE96C1A} = {6B735E6E-1FFB-4C37-8CF6-BD979B4F8D9B}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {2C9E9FF4-E825-47A4-90BE-5499D5EDF3CC}
Expand Down
27 changes: 14 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,29 @@ The Tableau Migration SDK is a client library to build an application to facilit
## Get started

Quickstart:
- For Python install using PIP `pip install tableau-migration`
- For C# install using NuGet
- Install a [.NET Runtime](https://dotnet.microsoft.com/en-us/download).
- For Python install using PIP:
- [PIP CLI](https://pip.pypa.io/en/stable/cli/pip_install): `pip install tableau-migration`
- For C# install using NuGet:
- [dotnet CLI](https://learn.microsoft.com/en-us/nuget/quickstart/install-and-use-a-package-using-the-dotnet-cli): `dotnet add package Tableau.Migration --version 1.0.0`
- [Nuget Package Manager](https://learn.microsoft.com/en-us/nuget/quickstart/install-and-use-a-package-in-visual-studio): Search for Tableau.Migration
Then check out our [code samples](https://tableau.github.io/migration-sdk/samples/intro.html)
- [Nuget Package Manager](https://learn.microsoft.com/en-us/nuget/quickstart/install-and-use-a-package-in-visual-studio): Search for `Tableau.Migration`.
- Then check out our [code samples](https://tableau.github.io/migration-sdk/samples/intro.html).

To look at source code and delve deeper:
First, clone the repo:
To look at source code and delve deeper, first clone the repo:

1. Open a command line interface
2. `cd` to the parent directory where the repo directory will live
3. `git clone https://github.com/tableau/tableau-migration-sdk.git`
1. Open a command line interface.
1. `cd` to the parent directory where the repo directory will live.
1. `git clone https://github.com/tableau/tableau-migration-sdk.git`

After cloning the repo:
After cloning the repo:

- Open `Migration SDK.sln` using Visual Studio or Visual Studio Code
- Open `Migration SDK.sln` using Visual Studio or Visual Studio Code.

## Introduction

[Migration SDK Overview](https://help.tableau.com/current/api/migration_sdk/en-us/index.html)
- Understanding the Migration SDK
- Preparing your migration
- Preparing Your Migration
- Migrating to Tableau Cloud

[Migration SDK API References](https://tableau.github.io/migration-sdk/)
Expand All @@ -39,4 +40,4 @@ To look at source code and delve deeper:

[Contributing Guide for Migration SDK Developers](https://github.com/tableau/tableau-migration-sdk/blob/main/CONTRIBUTING.md)

[Migration SDK Security Considerations](https://github.com/tableau/tableau-migration-sdk/blob/main/SECURITY.md)
[Migration SDK Security Considerations](https://github.com/tableau/tableau-migration-sdk/blob/main/SECURITY.md)
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<!-- Don't warn on ConfigureAwait on console application -->
<NoWarn>CA2007</NoWarn>
<!-- Don't warn on ConfigureAwait on console application, Don't require license headers for sample code -->
<NoWarn>CA2007,IDE0073</NoWarn>
<UserSecretsId>7d7631f1-dc4a-49de-89d5-a194544705c1</UserSecretsId>
</PropertyGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<!-- Don't warn on ConfigureAwait on console application -->
<NoWarn>CA2007</NoWarn>
<!-- Don't warn on ConfigureAwait on console application, Don't require license headers for sample code -->
<NoWarn>CA2007,IDE0073</NoWarn>
</PropertyGroup>

<ItemGroup>
Expand Down
Loading

0 comments on commit 4902c06

Please sign in to comment.