Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.0.0 Release #10

Merged
merged 1 commit into from
Feb 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,14 @@
"version": 1,
"isRoot": true,
"tools": {
"dotnet-reportgenerator-globaltool": {
"version": "5.2.0",
"commands": [
"reportgenerator"
]
},
"docfx": {
"version": "2.74.1",
"version": "2.75.3",
"commands": [
"docfx"
]
},
"DocFxTocGenerator": {
"version": "1.17.0",
"version": "1.18.0",
"commands": [
"DocFxTocGenerator"
]
Expand Down
1 change: 1 addition & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ csharp_style_conditional_delegate_call = true:suggestion
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
csharp_space_around_binary_operators = before_and_after
dotnet_diagnostic.SA0001.severity = none
dotnet_diagnostic.SA1201.severity = none
dotnet_diagnostic.SA1649.severity = none
dotnet_analyzer_diagnostic.category-StyleCop.CSharp.DocumentationRules.severity = none
dotnet_analyzer_diagnostic.category-StyleCop.CSharp.LayoutRules.severity = none
Expand Down
19 changes: 2 additions & 17 deletions .github/workflows/publishdocs-dryrun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ jobs:
- uses: actions/download-artifact@v3
with:
name: coverage-${{ inputs.runs-on-config }}-${{ inputs.build-config }}
- name: Restore .NET Tools
run: dotnet tool restore
- name: Set up Python
uses: actions/setup-python@v4
with:
Expand All @@ -35,22 +33,9 @@ jobs:
shell: pwsh
run: |
./scripts/generate-docs.ps1 -SkipPreClean
cd ./docs
zip -r ../docs.zip *
cd ..
- name: Generate Coverage
run: |
dotnet reportgenerator -reporttypes:"Html;Badges" -reports:**/coverage*.cobertura.xml -targetdir:./coverage
cd ./coverage
zip -r ../coverage.zip *
cd ..
Compress-Archive ./docs/* -Destination docs.zip
- name: Upload Docs Artifact
uses: actions/upload-artifact@v3
with:
name: docs
path: docs.zip
- name: Upload Coverage Artifact
uses: actions/upload-artifact@v3
with:
name: coverage
path: coverage.zip
path: docs.zip
23 changes: 4 additions & 19 deletions .github/workflows/publishdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ jobs:
- uses: actions/download-artifact@v3
with:
name: coverage-${{ inputs.runs-on-config }}-${{ inputs.build-config }}
- name: Restore .NET Tools
run: dotnet tool restore
- name: Set up Python
uses: actions/setup-python@v4
with:
Expand All @@ -49,31 +47,18 @@ jobs:
shell: pwsh
run: |
./scripts/generate-docs.ps1 -SkipPreClean
cd ./docs
zip -r ../docs.zip *
cd ..
- name: Generate Coverage
run: |
dotnet reportgenerator -reporttypes:"Html;Badges" -reports:**/coverage*.cobertura.xml -targetdir:./coverage
cd ./coverage
zip -r ../coverage.zip *
cd ..
Compress-Archive ./docs/* -Destination docs.zip
- name: Upload Docs Artifact
uses: actions/upload-artifact@v3
with:
name: docs
path: docs.zip
- name: Upload Coverage Artifact
uses: actions/upload-artifact@v3
with:
name: coverage
path: coverage.zip
- name: Setup GitHub Pages
uses: actions/configure-pages@v3.0.6
uses: actions/configure-pages@v4.0.0
- name: Upload Github Pages
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3.0.1
with:
path: './docs'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1.2.9
uses: actions/deploy-pages@v4.0.4
4 changes: 2 additions & 2 deletions .github/workflows/sdk-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,15 +129,15 @@ jobs:
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/') && !startsWith(github.ref, 'refs/tags/release/')) }}
with:
runs-on-config: ${{ vars.PUBLISH_OS }}
runs-on-config: ${{ vars.DOCS_OS }}
build-config: ${{ vars.PUBLISH_CONFIGURATION }}
python-version: ${{ vars.PYTHON_PUBLISH_DOCS_VERSION }}
publish-docs:
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/') || startsWith(github.ref, 'refs/tags/release/')) }}
with:
runs-on-config: ${{ vars.PUBLISH_OS }}
runs-on-config: ${{ vars.DOCS_OS }}
build-config: ${{ vars.PUBLISH_CONFIGURATION }}
python-version: ${{ vars.PYTHON_PUBLISH_DOCS_VERSION }}
create-release-from-dry-run:
Expand Down
4 changes: 4 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ This page lists the operational governance model of this project, as well as the

The intent and goal of open sourcing this project is to increase the contributor and user base. The governance model is one where new project leads (`admins`) will be added to the project based on their contributions and efforts, a so-called "do-acracy" or "meritocracy" similar to that used by all Apache Software Foundation projects.

## Getting started

Please join the community on {Here list Slack channels, Email lists, Glitter, Discord, etc... links}. Also please make sure to take a look at the project [roadmap](ROADMAP.md) to see where are headed.

## Issues, requests & ideas

Use GitHub Issues page to submit issues, enhancement requests and discuss ideas.
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.1.0</Version>
<Version>2.0.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
4 changes: 2 additions & 2 deletions examples/Csharp.ExampleApplication/MyMigrationApplication.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ public async Task StartAsync(CancellationToken cancel)

// Add post-publish hooks
#region UpdatePermissionsHook-Registration
_planBuilder.Hooks.Add<UpdatePermissionsHook<IPublishableDataSource, IDataSource>>();
_planBuilder.Hooks.Add<UpdatePermissionsHook<IPublishableWorkbook, IResultWorkbook>>();
_planBuilder.Hooks.Add<UpdatePermissionsHook<IPublishableDataSource, IDataSourceDetails>>();
_planBuilder.Hooks.Add<UpdatePermissionsHook<IPublishableWorkbook, IWorkbookDetails>>();
#endregion

#region BulkLoggingHook-Registration
Expand Down
24 changes: 23 additions & 1 deletion examples/Csharp.ExampleApplication/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,29 @@
},
"tableau": {
"migrationSdk": {
"batchSize": 50
"contentTypes": [
{
"type": "user",
"batchSize": 50,
"batchPublishingEnabled": true
},
{
"type": "group",
"batchSize": 60
},
{
"type": "project",
"batchSize": 70
},
{
"type": "datasource",
"batchSize": 80
},
{
"type": "workbook",
"batchSize": 90
}
]
},
"emailDomainMapping": {
"emailDomain": ""
Expand Down
4 changes: 2 additions & 2 deletions examples/Python.ExampleApplication/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--index-url https://artifactory.prod.tableautools.com/artifactory/api/pypi/tabpypi/simple
--pre
pip==23.3.2
setuptools==69.0.3
pip==24.0.0
setuptools==69.1.0
configparser==6.0.0
tableau_migration
cffi==1.16.0
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "8.0.101",
"version": "8.0.201",
"rollForward": "latestMajor"
}
}
Loading
Loading