From cb62cc950c55986252167038bb794316eb985245 Mon Sep 17 00:00:00 2001 From: Adam Pugh Date: Tue, 21 Dec 2021 14:12:45 -0600 Subject: [PATCH 01/12] Spelling update updated Properities to Properties in two places --- docs/docs/api-ref.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/api-ref.md b/docs/docs/api-ref.md index cf6bc96..96fa9fb 100644 --- a/docs/docs/api-ref.md +++ b/docs/docs/api-ref.md @@ -30,7 +30,7 @@ Saves any changes to the workbook to the existing file. `Workbook.save_as(self, new_filename):` Saves any changes to the workbook to a new file specified by the `new_file` parameter. -**Properities:** +**Properties:** `self.worksheets:` Returns a list of worksheets found in the workbook. @@ -56,7 +56,7 @@ The Connection class represents a tableau data connection. It can be from any ty **Methods:** -**Properities:** +**Properties:** `self.server:` Returns a string containing the server. From 55806ba62900ab2a968cc034a693b723fc1fc522 Mon Sep 17 00:00:00 2001 From: Adam Pugh Date: Tue, 21 Dec 2021 14:16:42 -0600 Subject: [PATCH 02/12] Spelling update updated submiting to submitting --- docs/docs/contributing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/contributing.md b/docs/docs/contributing.md index ee94e99..abd8faf 100644 --- a/docs/docs/contributing.md +++ b/docs/docs/contributing.md @@ -21,7 +21,7 @@ a feature do not require the CLA. To submit an issue/bug report, or to request a feature, please submit a [github issue](https://github.com/tableau/document-api-python/issues) to the repo. -If you are submiting a bug report, please provide as much information as you can, including clear and concise repro steps, attaching any necessary +If you are submitting a bug report, please provide as much information as you can, including clear and concise repro steps, attaching any necessary files to assist in the repro. **Be sure to scrub the files of any potentially sensitive information. Issues are public.** For a feature request, please try to describe the scenario you are trying to accomplish that requires the feature. This will help us understand From dcd9d25bc5cb052eccd2ac77604bf4f7b143fc27 Mon Sep 17 00:00:00 2001 From: Jac Date: Mon, 14 Mar 2022 12:15:14 -0700 Subject: [PATCH 03/12] Create test-pypi-publish --- .github/workflows/test-pypi-publish | 39 +++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/test-pypi-publish diff --git a/.github/workflows/test-pypi-publish b/.github/workflows/test-pypi-publish new file mode 100644 index 0000000..12e0156 --- /dev/null +++ b/.github/workflows/test-pypi-publish @@ -0,0 +1,39 @@ +Publish to Test-Py-Pi +environment: + name: test-pypi + +on: + push: + paths-ignore: + - 'docs/**' + tags: + - 'test*' + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + python-version: [3.9] + + steps: + - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + - name: Package + run: | + python setup.py sdist + python setup.py bdist_wheel + - name: Publish 📦 to Test PyPI + uses: pypa/gh-action-pypi-publish@master + with: + password: ${{ secrets.Test_PyPI_token }} + repository_url: https://test.pypi.org/legacy/ From db9a84d69a03f8f25e9ac08ca460db4af48a60bb Mon Sep 17 00:00:00 2001 From: Jac Date: Mon, 14 Mar 2022 12:31:49 -0700 Subject: [PATCH 04/12] Update test-pypi-publish add workflow to actions tab, add on releases --- .github/workflows/test-pypi-publish | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-pypi-publish b/.github/workflows/test-pypi-publish index 12e0156..5c3c71a 100644 --- a/.github/workflows/test-pypi-publish +++ b/.github/workflows/test-pypi-publish @@ -8,7 +8,9 @@ on: - 'docs/**' tags: - 'test*' - + workflow_dispatch: + release: + types: [created] jobs: build: From a965758cf1ecaeac07af36d0d4d7c247ecdce729 Mon Sep 17 00:00:00 2001 From: Jac Date: Mon, 14 Mar 2022 12:43:34 -0700 Subject: [PATCH 05/12] Update test-pypi-publish --- .github/workflows/test-pypi-publish | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-pypi-publish b/.github/workflows/test-pypi-publish index 5c3c71a..d0cd452 100644 --- a/.github/workflows/test-pypi-publish +++ b/.github/workflows/test-pypi-publish @@ -8,9 +8,10 @@ on: - 'docs/**' tags: - 'test*' - workflow_dispatch: - release: - types: [created] + workflow_dispatch: + release: + types: [created] + jobs: build: From 4db775c243f174552cdbaa5529199a2f294ce5c5 Mon Sep 17 00:00:00 2001 From: Jac Date: Mon, 14 Mar 2022 12:44:30 -0700 Subject: [PATCH 06/12] Create manual.yml --- .github/workflows/manual.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/manual.yml diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml new file mode 100644 index 0000000..47f24e1 --- /dev/null +++ b/.github/workflows/manual.yml @@ -0,0 +1,30 @@ +# This is a basic workflow that is manually triggered + +name: Manual workflow + +# Controls when the action will run. Workflow runs when manually triggered using the UI +# or API. +on: + workflow_dispatch: + # Inputs the workflow accepts. + inputs: + name: + # Friendly description to be shown in the UI instead of 'name' + description: 'Person to greet' + # Default value if no value is explicitly provided + default: 'World' + # Input has to be provided for the workflow to run + required: true + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "greet" + greet: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Runs a single command using the runners shell + - name: Send greeting + run: echo "Hello ${{ github.event.inputs.name }}" From 4f925c2fdea710fd2666a4f0d08da0a2ab81190e Mon Sep 17 00:00:00 2001 From: Jac Date: Mon, 14 Mar 2022 12:49:30 -0700 Subject: [PATCH 07/12] fix yaml --- .github/workflows/test-pypi-publish | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test-pypi-publish b/.github/workflows/test-pypi-publish index d0cd452..a2daf9d 100644 --- a/.github/workflows/test-pypi-publish +++ b/.github/workflows/test-pypi-publish @@ -1,6 +1,4 @@ -Publish to Test-Py-Pi -environment: - name: test-pypi +name: Publish to Test-Py-Pi on: push: @@ -14,12 +12,14 @@ on: jobs: build: - - runs-on: ubuntu-latest + + environment: + name: test-pypi + runs-on: ubuntu-latest strategy: fail-fast: false matrix: - python-version: [3.9] + python-version: [3.7, 3.8, 3.9] steps: - uses: actions/checkout@v2 From f63f5a6432c393f5bca82cecf22f6f500c9fdc82 Mon Sep 17 00:00:00 2001 From: Jac Date: Mon, 14 Mar 2022 12:50:56 -0700 Subject: [PATCH 08/12] Update test-pypi-publish --- .github/workflows/test-pypi-publish | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/test-pypi-publish b/.github/workflows/test-pypi-publish index a2daf9d..e6ed01f 100644 --- a/.github/workflows/test-pypi-publish +++ b/.github/workflows/test-pypi-publish @@ -1,11 +1,6 @@ name: Publish to Test-Py-Pi on: - push: - paths-ignore: - - 'docs/**' - tags: - - 'test*' workflow_dispatch: release: types: [created] From 79631291d598c65f6e3942b07143f92d03bee5be Mon Sep 17 00:00:00 2001 From: Jac Date: Mon, 14 Mar 2022 12:52:17 -0700 Subject: [PATCH 09/12] Update test-pypi-publish --- .github/workflows/test-pypi-publish | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test-pypi-publish b/.github/workflows/test-pypi-publish index e6ed01f..1bafcab 100644 --- a/.github/workflows/test-pypi-publish +++ b/.github/workflows/test-pypi-publish @@ -12,9 +12,8 @@ jobs: name: test-pypi runs-on: ubuntu-latest strategy: - fail-fast: false matrix: - python-version: [3.7, 3.8, 3.9] + python-version: [3.9] steps: - uses: actions/checkout@v2 @@ -22,14 +21,7 @@ jobs: uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - - name: Package - run: | - python setup.py sdist - python setup.py bdist_wheel + - name: Publish 📦 to Test PyPI uses: pypa/gh-action-pypi-publish@master with: From 05b19a427eb5a29648e474041d226ebf33c4f55e Mon Sep 17 00:00:00 2001 From: Jac Date: Mon, 14 Mar 2022 12:53:19 -0700 Subject: [PATCH 10/12] Rename test-pypi-publish to test-pypi-publish.yml --- .github/workflows/{test-pypi-publish => test-pypi-publish.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{test-pypi-publish => test-pypi-publish.yml} (100%) diff --git a/.github/workflows/test-pypi-publish b/.github/workflows/test-pypi-publish.yml similarity index 100% rename from .github/workflows/test-pypi-publish rename to .github/workflows/test-pypi-publish.yml From aece1f532a1cbedc3740bc3f1617f55ede405498 Mon Sep 17 00:00:00 2001 From: Jac Date: Mon, 14 Mar 2022 12:58:32 -0700 Subject: [PATCH 11/12] Update test-pypi-publish.yml add back build step --- .github/workflows/test-pypi-publish.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-pypi-publish.yml b/.github/workflows/test-pypi-publish.yml index 1bafcab..095c115 100644 --- a/.github/workflows/test-pypi-publish.yml +++ b/.github/workflows/test-pypi-publish.yml @@ -21,7 +21,14 @@ jobs: uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - + - name: Install dependencies + run: | + python -m pip install --upgrade pip + if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + - name: Package + run: | + python setup.py sdist + python setup.py bdist_wheel - name: Publish 📦 to Test PyPI uses: pypa/gh-action-pypi-publish@master with: From 133aaa83fbfeadb1df46d87cf3c0814321dd185c Mon Sep 17 00:00:00 2001 From: Jac Date: Mon, 14 Mar 2022 13:04:27 -0700 Subject: [PATCH 12/12] Update test-pypi-publish.yml --- .github/workflows/test-pypi-publish.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/test-pypi-publish.yml b/.github/workflows/test-pypi-publish.yml index 095c115..fd79d6b 100644 --- a/.github/workflows/test-pypi-publish.yml +++ b/.github/workflows/test-pypi-publish.yml @@ -28,7 +28,6 @@ jobs: - name: Package run: | python setup.py sdist - python setup.py bdist_wheel - name: Publish 📦 to Test PyPI uses: pypa/gh-action-pypi-publish@master with: