From 4120f0b108e0c89eb44a2926cf45b9c29b81c127 Mon Sep 17 00:00:00 2001 From: Eminem <58310848+thebadcoder96@users.noreply.github.com> Date: Tue, 9 Jan 2024 12:25:57 -0600 Subject: [PATCH 01/16] Added workflow to update current-version-tag in readme.md --- .github/workflows/update-current-version.yml | 20 ++++++++++++++++++++ README.md | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/update-current-version.yml diff --git a/.github/workflows/update-current-version.yml b/.github/workflows/update-current-version.yml new file mode 100644 index 000000000..748a1937b --- /dev/null +++ b/.github/workflows/update-current-version.yml @@ -0,0 +1,20 @@ +# This workflow will update the readme file to point to the current version of Data Profiler. + +name: Update Current Version Tag + +on: + push: + branches: + - 'main' + +jobs: + update-readme: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Update README.md + run: | + latest_tag=$(git describe --tags `git rev-list --tags --max-count=1`) + sed "s||$latest_tag|g" readme.md > tmp.md && mv tmp.md readme.md \ No newline at end of file diff --git a/README.md b/README.md index 3ba4ee51b..59a858a35 100644 --- a/README.md +++ b/README.md @@ -418,7 +418,7 @@ json_data = Data('https://github.com/capitalone/DataProfiler/blob/main/dataprofi ``` If the file type is not automatically identified (rare), you can specify them -specifically, see section [Specifying a Filetype or Delimiter](#specifying-a-filetype-or-delimiter). +specifically, see section [Specifying a Filetype or Delimiter](https://capitalone.github.io/DataProfiler/docs//html/profiler.html?#specifying-a-filetype-or-delimiter). ### Profile a File From 724695e3637f76e9345666b512a026589ab8b4a4 Mon Sep 17 00:00:00 2001 From: Eminem <58310848+thebadcoder96@users.noreply.github.com> Date: Tue, 9 Jan 2024 12:38:39 -0600 Subject: [PATCH 02/16] updated .yml file --- .github/workflows/update-current-version.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-current-version.yml b/.github/workflows/update-current-version.yml index 748a1937b..b82fa656d 100644 --- a/.github/workflows/update-current-version.yml +++ b/.github/workflows/update-current-version.yml @@ -17,4 +17,8 @@ jobs: - name: Update README.md run: | latest_tag=$(git describe --tags `git rev-list --tags --max-count=1`) - sed "s||$latest_tag|g" readme.md > tmp.md && mv tmp.md readme.md \ No newline at end of file + sed "s||$latest_tag|g" readme.md > tmp.md && mv tmp.md readme.md + git config --local user.email "action@github.com" + git config --local user.name "GitHub Action" + git commit -am "Update README with latest version tag" + git push \ No newline at end of file From 4caff76e446eb3d2966c285e6ee24662b286a937 Mon Sep 17 00:00:00 2001 From: Eminem <58310848+thebadcoder96@users.noreply.github.com> Date: Tue, 9 Jan 2024 13:12:15 -0600 Subject: [PATCH 03/16] updated based on review --- .github/workflows/update-current-version.yml | 4 ++-- README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update-current-version.yml b/.github/workflows/update-current-version.yml index b82fa656d..79ebe5427 100644 --- a/.github/workflows/update-current-version.yml +++ b/.github/workflows/update-current-version.yml @@ -17,8 +17,8 @@ jobs: - name: Update README.md run: | latest_tag=$(git describe --tags `git rev-list --tags --max-count=1`) - sed "s||$latest_tag|g" readme.md > tmp.md && mv tmp.md readme.md + sed "s||$latest_tag|g" readme.md > tmp.md && mv tmp.md readme.md git config --local user.email "action@github.com" git config --local user.name "GitHub Action" git commit -am "Update README with latest version tag" - git push \ No newline at end of file + git push diff --git a/README.md b/README.md index 59a858a35..0dbded6b6 100644 --- a/README.md +++ b/README.md @@ -418,7 +418,7 @@ json_data = Data('https://github.com/capitalone/DataProfiler/blob/main/dataprofi ``` If the file type is not automatically identified (rare), you can specify them -specifically, see section [Specifying a Filetype or Delimiter](https://capitalone.github.io/DataProfiler/docs//html/profiler.html?#specifying-a-filetype-or-delimiter). +specifically, see section [Specifying a Filetype or Delimiter](https://capitalone.github.io/DataProfiler/docs//html/profiler.html?#specifying-a-filetype-or-delimiter). ### Profile a File From 44a4afb3bbf54cae053b4301361a4005e5917ffc Mon Sep 17 00:00:00 2001 From: Eminem <58310848+thebadcoder96@users.noreply.github.com> Date: Tue, 9 Jan 2024 14:03:20 -0600 Subject: [PATCH 04/16] validation test --- .github/workflows/update-current-version.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-current-version.yml b/.github/workflows/update-current-version.yml index 79ebe5427..fc0654cc4 100644 --- a/.github/workflows/update-current-version.yml +++ b/.github/workflows/update-current-version.yml @@ -5,7 +5,7 @@ name: Update Current Version Tag on: push: branches: - - 'main' + - 'dynamiclink' jobs: update-readme: From d5ef687680a5134b43769d4b3c48423f48bac40d Mon Sep 17 00:00:00 2001 From: Eminem <58310848+thebadcoder96@users.noreply.github.com> Date: Tue, 9 Jan 2024 19:45:11 -0600 Subject: [PATCH 05/16] testing validation --- .github/workflows/update-current-version.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/update-current-version.yml b/.github/workflows/update-current-version.yml index fc0654cc4..42ed15db6 100644 --- a/.github/workflows/update-current-version.yml +++ b/.github/workflows/update-current-version.yml @@ -16,6 +16,7 @@ jobs: - name: Update README.md run: | + git fetch --prune --unshallow latest_tag=$(git describe --tags `git rev-list --tags --max-count=1`) sed "s||$latest_tag|g" readme.md > tmp.md && mv tmp.md readme.md git config --local user.email "action@github.com" From 62122459bc90b571923871e37d74fa49f1f96915 Mon Sep 17 00:00:00 2001 From: Eminem <58310848+thebadcoder96@users.noreply.github.com> Date: Tue, 9 Jan 2024 19:47:45 -0600 Subject: [PATCH 06/16] test validation --- .github/workflows/update-current-version.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-current-version.yml b/.github/workflows/update-current-version.yml index 42ed15db6..7f1680d86 100644 --- a/.github/workflows/update-current-version.yml +++ b/.github/workflows/update-current-version.yml @@ -15,8 +15,9 @@ jobs: - uses: actions/checkout@v4 - name: Update README.md + - run: git fetch --prune --unshallow + run: | - git fetch --prune --unshallow latest_tag=$(git describe --tags `git rev-list --tags --max-count=1`) sed "s||$latest_tag|g" readme.md > tmp.md && mv tmp.md readme.md git config --local user.email "action@github.com" From 63f9ef29b97275cd0591dd7a8abc3128f5f883d9 Mon Sep 17 00:00:00 2001 From: Eminem <58310848+thebadcoder96@users.noreply.github.com> Date: Tue, 9 Jan 2024 19:52:08 -0600 Subject: [PATCH 07/16] test validation --- .github/workflows/update-current-version.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-current-version.yml b/.github/workflows/update-current-version.yml index 7f1680d86..6a1fd1e71 100644 --- a/.github/workflows/update-current-version.yml +++ b/.github/workflows/update-current-version.yml @@ -15,8 +15,8 @@ jobs: - uses: actions/checkout@v4 - name: Update README.md - - run: git fetch --prune --unshallow - + run: git fetch --prune --unshallow + run: | latest_tag=$(git describe --tags `git rev-list --tags --max-count=1`) sed "s||$latest_tag|g" readme.md > tmp.md && mv tmp.md readme.md From 371246a2badc656e441a63c603583e2da139c754 Mon Sep 17 00:00:00 2001 From: Eminem <58310848+thebadcoder96@users.noreply.github.com> Date: Tue, 9 Jan 2024 19:52:53 -0600 Subject: [PATCH 08/16] test validation --- .github/workflows/update-current-version.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/update-current-version.yml b/.github/workflows/update-current-version.yml index 6a1fd1e71..918634a1f 100644 --- a/.github/workflows/update-current-version.yml +++ b/.github/workflows/update-current-version.yml @@ -15,7 +15,6 @@ jobs: - uses: actions/checkout@v4 - name: Update README.md - run: git fetch --prune --unshallow run: | latest_tag=$(git describe --tags `git rev-list --tags --max-count=1`) From 97d4abb95d24497814cabbfc9ff080a9f310eecb Mon Sep 17 00:00:00 2001 From: Eminem <58310848+thebadcoder96@users.noreply.github.com> Date: Tue, 9 Jan 2024 19:55:35 -0600 Subject: [PATCH 09/16] test validation --- .github/workflows/update-current-version.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-current-version.yml b/.github/workflows/update-current-version.yml index 918634a1f..599690469 100644 --- a/.github/workflows/update-current-version.yml +++ b/.github/workflows/update-current-version.yml @@ -13,9 +13,11 @@ jobs: steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Update README.md - + run: | latest_tag=$(git describe --tags `git rev-list --tags --max-count=1`) sed "s||$latest_tag|g" readme.md > tmp.md && mv tmp.md readme.md From 33f6b59644e87e37b984e156ccd510d5973765af Mon Sep 17 00:00:00 2001 From: Eminem <58310848+thebadcoder96@users.noreply.github.com> Date: Tue, 9 Jan 2024 19:58:23 -0600 Subject: [PATCH 10/16] test validation --- .github/workflows/update-current-version.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-current-version.yml b/.github/workflows/update-current-version.yml index 599690469..cf6b6d151 100644 --- a/.github/workflows/update-current-version.yml +++ b/.github/workflows/update-current-version.yml @@ -20,7 +20,7 @@ jobs: run: | latest_tag=$(git describe --tags `git rev-list --tags --max-count=1`) - sed "s||$latest_tag|g" readme.md > tmp.md && mv tmp.md readme.md + sed "s||$latest_tag|g" README.md > tmp.md && mv tmp.md README.md git config --local user.email "action@github.com" git config --local user.name "GitHub Action" git commit -am "Update README with latest version tag" From 56fac5b3e95abd87476bab958c46755a0e673f75 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Wed, 10 Jan 2024 01:58:36 +0000 Subject: [PATCH 11/16] Update README with latest version tag --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0dbded6b6..0cdf658e7 100644 --- a/README.md +++ b/README.md @@ -418,7 +418,7 @@ json_data = Data('https://github.com/capitalone/DataProfiler/blob/main/dataprofi ``` If the file type is not automatically identified (rare), you can specify them -specifically, see section [Specifying a Filetype or Delimiter](https://capitalone.github.io/DataProfiler/docs//html/profiler.html?#specifying-a-filetype-or-delimiter). +specifically, see section [Specifying a Filetype or Delimiter](https://capitalone.github.io/DataProfiler/docs/v0.1.0/html/profiler.html?#specifying-a-filetype-or-delimiter). ### Profile a File From 7ffb9eb76e62bc26b41827fa7518f997e8693137 Mon Sep 17 00:00:00 2001 From: Eminem <58310848+thebadcoder96@users.noreply.github.com> Date: Tue, 9 Jan 2024 20:02:59 -0600 Subject: [PATCH 12/16] validation passed :) --- .github/workflows/update-current-version.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-current-version.yml b/.github/workflows/update-current-version.yml index cf6b6d151..f0bf9efeb 100644 --- a/.github/workflows/update-current-version.yml +++ b/.github/workflows/update-current-version.yml @@ -5,7 +5,7 @@ name: Update Current Version Tag on: push: branches: - - 'dynamiclink' + - 'main' jobs: update-readme: From c9a0e17253a409147637f1149c20e701e6f9e392 Mon Sep 17 00:00:00 2001 From: Eminem <58310848+thebadcoder96@users.noreply.github.com> Date: Tue, 9 Jan 2024 20:08:33 -0600 Subject: [PATCH 13/16] Earlier validation changed readme, reverted it back. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0cdf658e7..0dbded6b6 100644 --- a/README.md +++ b/README.md @@ -418,7 +418,7 @@ json_data = Data('https://github.com/capitalone/DataProfiler/blob/main/dataprofi ``` If the file type is not automatically identified (rare), you can specify them -specifically, see section [Specifying a Filetype or Delimiter](https://capitalone.github.io/DataProfiler/docs/v0.1.0/html/profiler.html?#specifying-a-filetype-or-delimiter). +specifically, see section [Specifying a Filetype or Delimiter](https://capitalone.github.io/DataProfiler/docs//html/profiler.html?#specifying-a-filetype-or-delimiter). ### Profile a File From 973fb83bab6c19c1174848623174948119f2da07 Mon Sep 17 00:00:00 2001 From: Eminem <58310848+thebadcoder96@users.noreply.github.com> Date: Thu, 11 Jan 2024 09:45:07 -0600 Subject: [PATCH 14/16] test better solution --- .github/workflows/update-current-version.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update-current-version.yml b/.github/workflows/update-current-version.yml index f0bf9efeb..3a59c7295 100644 --- a/.github/workflows/update-current-version.yml +++ b/.github/workflows/update-current-version.yml @@ -5,7 +5,7 @@ name: Update Current Version Tag on: push: branches: - - 'main' + - 'dynamiclink' jobs: update-readme: @@ -19,9 +19,9 @@ jobs: - name: Update README.md run: | - latest_tag=$(git describe --tags `git rev-list --tags --max-count=1`) + latest_tag=$(git describe --tags --abbrev=0) sed "s||$latest_tag|g" README.md > tmp.md && mv tmp.md README.md - git config --local user.email "action@github.com" + git config --local user.email "mishalksa@hotmail.com" git config --local user.name "GitHub Action" git commit -am "Update README with latest version tag" git push From 7a531e6e2c25d0e6b825cc3012844fad15052861 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Thu, 11 Jan 2024 15:45:23 +0000 Subject: [PATCH 15/16] Update README with latest version tag --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0dbded6b6..0cdf658e7 100644 --- a/README.md +++ b/README.md @@ -418,7 +418,7 @@ json_data = Data('https://github.com/capitalone/DataProfiler/blob/main/dataprofi ``` If the file type is not automatically identified (rare), you can specify them -specifically, see section [Specifying a Filetype or Delimiter](https://capitalone.github.io/DataProfiler/docs//html/profiler.html?#specifying-a-filetype-or-delimiter). +specifically, see section [Specifying a Filetype or Delimiter](https://capitalone.github.io/DataProfiler/docs/v0.1.0/html/profiler.html?#specifying-a-filetype-or-delimiter). ### Profile a File From 1d0a960dcff90095ba621b1d2159d8e27017b73c Mon Sep 17 00:00:00 2001 From: Eminem <58310848+thebadcoder96@users.noreply.github.com> Date: Thu, 11 Jan 2024 09:53:12 -0600 Subject: [PATCH 16/16] testing dev --- .github/workflows/update-current-version.yml | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-current-version.yml b/.github/workflows/update-current-version.yml index 3a59c7295..3ea568129 100644 --- a/.github/workflows/update-current-version.yml +++ b/.github/workflows/update-current-version.yml @@ -5,7 +5,7 @@ name: Update Current Version Tag on: push: branches: - - 'dynamiclink' + - 'dev' jobs: update-readme: diff --git a/README.md b/README.md index 0cdf658e7..0dbded6b6 100644 --- a/README.md +++ b/README.md @@ -418,7 +418,7 @@ json_data = Data('https://github.com/capitalone/DataProfiler/blob/main/dataprofi ``` If the file type is not automatically identified (rare), you can specify them -specifically, see section [Specifying a Filetype or Delimiter](https://capitalone.github.io/DataProfiler/docs/v0.1.0/html/profiler.html?#specifying-a-filetype-or-delimiter). +specifically, see section [Specifying a Filetype or Delimiter](https://capitalone.github.io/DataProfiler/docs//html/profiler.html?#specifying-a-filetype-or-delimiter). ### Profile a File