Skip to content

Commit d82a71c

Browse files
authored
Release 2.0.0 changes. (#10)
1 parent 4b6e180 commit d82a71c

File tree

250 files changed

+5784
-5827
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

250 files changed

+5784
-5827
lines changed

.config/dotnet-tools.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,14 @@
22
"version": 1,
33
"isRoot": true,
44
"tools": {
5-
"dotnet-reportgenerator-globaltool": {
6-
"version": "5.2.0",
7-
"commands": [
8-
"reportgenerator"
9-
]
10-
},
115
"docfx": {
12-
"version": "2.74.1",
6+
"version": "2.75.3",
137
"commands": [
148
"docfx"
159
]
1610
},
1711
"DocFxTocGenerator": {
18-
"version": "1.17.0",
12+
"version": "1.18.0",
1913
"commands": [
2014
"DocFxTocGenerator"
2115
]

.editorconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ csharp_style_conditional_delegate_call = true:suggestion
9191
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
9292
csharp_space_around_binary_operators = before_and_after
9393
dotnet_diagnostic.SA0001.severity = none
94+
dotnet_diagnostic.SA1201.severity = none
9495
dotnet_diagnostic.SA1649.severity = none
9596
dotnet_analyzer_diagnostic.category-StyleCop.CSharp.DocumentationRules.severity = none
9697
dotnet_analyzer_diagnostic.category-StyleCop.CSharp.LayoutRules.severity = none

.github/workflows/publishdocs-dryrun.yml

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ jobs:
2525
- uses: actions/download-artifact@v3
2626
with:
2727
name: coverage-${{ inputs.runs-on-config }}-${{ inputs.build-config }}
28-
- name: Restore .NET Tools
29-
run: dotnet tool restore
3028
- name: Set up Python
3129
uses: actions/setup-python@v4
3230
with:
@@ -35,22 +33,9 @@ jobs:
3533
shell: pwsh
3634
run: |
3735
./scripts/generate-docs.ps1 -SkipPreClean
38-
cd ./docs
39-
zip -r ../docs.zip *
40-
cd ..
41-
- name: Generate Coverage
42-
run: |
43-
dotnet reportgenerator -reporttypes:"Html;Badges" -reports:**/coverage*.cobertura.xml -targetdir:./coverage
44-
cd ./coverage
45-
zip -r ../coverage.zip *
46-
cd ..
36+
Compress-Archive ./docs/* -Destination docs.zip
4737
- name: Upload Docs Artifact
4838
uses: actions/upload-artifact@v3
4939
with:
5040
name: docs
51-
path: docs.zip
52-
- name: Upload Coverage Artifact
53-
uses: actions/upload-artifact@v3
54-
with:
55-
name: coverage
56-
path: coverage.zip
41+
path: docs.zip

.github/workflows/publishdocs.yml

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ jobs:
3939
- uses: actions/download-artifact@v3
4040
with:
4141
name: coverage-${{ inputs.runs-on-config }}-${{ inputs.build-config }}
42-
- name: Restore .NET Tools
43-
run: dotnet tool restore
4442
- name: Set up Python
4543
uses: actions/setup-python@v4
4644
with:
@@ -49,31 +47,18 @@ jobs:
4947
shell: pwsh
5048
run: |
5149
./scripts/generate-docs.ps1 -SkipPreClean
52-
cd ./docs
53-
zip -r ../docs.zip *
54-
cd ..
55-
- name: Generate Coverage
56-
run: |
57-
dotnet reportgenerator -reporttypes:"Html;Badges" -reports:**/coverage*.cobertura.xml -targetdir:./coverage
58-
cd ./coverage
59-
zip -r ../coverage.zip *
60-
cd ..
50+
Compress-Archive ./docs/* -Destination docs.zip
6151
- name: Upload Docs Artifact
6252
uses: actions/upload-artifact@v3
6353
with:
6454
name: docs
6555
path: docs.zip
66-
- name: Upload Coverage Artifact
67-
uses: actions/upload-artifact@v3
68-
with:
69-
name: coverage
70-
path: coverage.zip
7156
- name: Setup GitHub Pages
72-
uses: actions/configure-pages@v3.0.6
57+
uses: actions/configure-pages@v4.0.0
7358
- name: Upload Github Pages
74-
uses: actions/upload-pages-artifact@v2
59+
uses: actions/upload-pages-artifact@v3.0.1
7560
with:
7661
path: './docs'
7762
- name: Deploy to GitHub Pages
7863
id: deployment
79-
uses: actions/deploy-pages@v1.2.9
64+
uses: actions/deploy-pages@v4.0.4

.github/workflows/sdk-workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,15 +129,15 @@ jobs:
129129
uses: ./.github/workflows/publishdocs-dryrun.yml
130130
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/')) }}
131131
with:
132-
runs-on-config: ${{ vars.PUBLISH_OS }}
132+
runs-on-config: ${{ vars.DOCS_OS }}
133133
build-config: ${{ vars.PUBLISH_CONFIGURATION }}
134134
python-version: ${{ vars.PYTHON_PUBLISH_DOCS_VERSION }}
135135
publish-docs:
136136
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 ]
137137
uses: ./.github/workflows/publishdocs.yml
138138
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/')) }}
139139
with:
140-
runs-on-config: ${{ vars.PUBLISH_OS }}
140+
runs-on-config: ${{ vars.DOCS_OS }}
141141
build-config: ${{ vars.PUBLISH_CONFIGURATION }}
142142
python-version: ${{ vars.PYTHON_PUBLISH_DOCS_VERSION }}
143143
create-release-from-dry-run:

CONTRIBUTING.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ This page lists the operational governance model of this project, as well as the
88

99
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.
1010

11+
## Getting started
12+
13+
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.
14+
1115
## Issues, requests & ideas
1216

1317
Use GitHub Issues page to submit issues, enhancement requests and discuss ideas.

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<Nullable>enable</Nullable>
55
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
66
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
7-
<Version>1.1.0</Version>
7+
<Version>2.0.0</Version>
88
<Authors>Tableau Software, LLC</Authors>
99
<Company>Tableau Software, LLC</Company>
1010
<Copyright>Copyright (c) 2024, Tableau Software, LLC and its licensors</Copyright>

examples/Csharp.ExampleApplication/MyMigrationApplication.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ public async Task StartAsync(CancellationToken cancel)
101101

102102
// Add post-publish hooks
103103
#region UpdatePermissionsHook-Registration
104-
_planBuilder.Hooks.Add<UpdatePermissionsHook<IPublishableDataSource, IDataSource>>();
105-
_planBuilder.Hooks.Add<UpdatePermissionsHook<IPublishableWorkbook, IResultWorkbook>>();
104+
_planBuilder.Hooks.Add<UpdatePermissionsHook<IPublishableDataSource, IDataSourceDetails>>();
105+
_planBuilder.Hooks.Add<UpdatePermissionsHook<IPublishableWorkbook, IWorkbookDetails>>();
106106
#endregion
107107

108108
#region BulkLoggingHook-Registration

examples/Csharp.ExampleApplication/appsettings.json

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,29 @@
1111
},
1212
"tableau": {
1313
"migrationSdk": {
14-
"batchSize": 50
14+
"contentTypes": [
15+
{
16+
"type": "user",
17+
"batchSize": 50,
18+
"batchPublishingEnabled": true
19+
},
20+
{
21+
"type": "group",
22+
"batchSize": 60
23+
},
24+
{
25+
"type": "project",
26+
"batchSize": 70
27+
},
28+
{
29+
"type": "datasource",
30+
"batchSize": 80
31+
},
32+
{
33+
"type": "workbook",
34+
"batchSize": 90
35+
}
36+
]
1537
},
1638
"emailDomainMapping": {
1739
"emailDomain": ""

examples/Python.ExampleApplication/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--index-url https://artifactory.prod.tableautools.com/artifactory/api/pypi/tabpypi/simple
22
--pre
3-
pip==23.3.2
4-
setuptools==69.0.3
3+
pip==24.0.0
4+
setuptools==69.1.0
55
configparser==6.0.0
66
tableau_migration
77
cffi==1.16.0

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "8.0.101",
3+
"version": "8.0.201",
44
"rollForward": "latestMajor"
55
}
66
}

0 commit comments

Comments
 (0)