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

TDL-24363 Automate released and deprecated status for integrations #973

Merged
merged 2 commits into from
Nov 6, 2023
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
41 changes: 37 additions & 4 deletions _data/taps/features.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ release-status: &release-status
field-value: |
{% assign version-statuses = site.data.stitch.version-statuses %}

{% if integration.db-type %}
{% assign integration-latest = site.data.taps.versions.[integration.db-type].latest-version %}
{% else %}
{% assign integration-latest = site.data.taps.versions.[integration.name].latest-version %}
{% endif %}

{% if include.feature-type == "webhooks" %}
{{ integration.status }}

Expand All @@ -71,15 +77,42 @@ release-status: &release-status
{% if integration.override-version-status %}
{% assign version-status = version-statuses[integration.override-version-status] %}

{% else %}
{% elsif version-variable.status %}
{% assign version-status = version-statuses[version-variable.status] %}

{% else %}
{% if version-variable.number == integration-latest %}
{% assign version-status = version-statuses.released %}
{% else %}
{% assign version-status = version-statuses.deprecated %}
{% endif %}

{% endif %}

{% if version-status.date %}
{% assign version-info = version-variable[version-status.date] | prepend: " on " %}
{% if version-status.date and version-variable[version-status.date] %}
{% assign version-info = version-status.display-name | append: " on "| append: version-variable[version-status.date] %}
{% elsif version-status.date and version-variable.number != integration-latest %}
{% assign next-version = version-variable.number | plus: 1 | append: "" %}
{% if integration.db-type %}
{% assign versions = site.data.taps.versions.[integration.db-type].released-versions %}
{% else %}
{% assign versions = site.data.taps.versions.[integration.name].released-versions %}
{% endif %}
{% for version in versions %}
{% if version.number == next-version %}
{% if version.date-released %}
{% assign version-info = version-status.display-name | append: " on "| append: version.date-released %}
{% else %}
{% assign version-info = version-status.display-name %}
{% endif %}
{% endif %}
{% endfor %}

{% else %}
{% assign version-info = version-status.display-name %}
{% endif %}

{{ version-status.display-name | flatify }} {{ version-info | flatify }}
{{ version-info | flatify }}
{% endif %}

support-level: &support-level
Expand Down
5 changes: 1 addition & 4 deletions _data/taps/versions/3plcentral.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ latest-version: "1"

released-versions:
- number: "1"
status: "released"
# full-release: "April 2, 2020"
date-released: "December 20, 2019"
# date-last-connection:
deprecation-date: ""
sunset-date: ""
# date-last-connection:
5 changes: 1 addition & 4 deletions _data/taps/versions/activecampaign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,5 @@ latest-version: "1"

released-versions:
- number: "1"
status: "released" ## beta, released, deprecated
date-released: "February 8, 2022"
# date-last-connection:
deprecation-date: ""
sunset-date: ""
# date-last-connection:
9 changes: 2 additions & 7 deletions _data/taps/versions/adroll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,10 @@ latest-version: "1"

released-versions:
- number: "1"
status: "released"
date-released: "July 24, 2020"
# date-last-connection:
deprecation-date: ""
sunset-date: ""

- number: "20-07-2017" # not a singer tap
status: "deprecated"
deprecation-date: "July 24, 2020"
date-released: "July 20, 2017"
date-last-connection: "September 16, 2020"
deprecation-date: ""
sunset-date: ""
date-last-connection: "September 16, 2020"
5 changes: 1 addition & 4 deletions _data/taps/versions/amplitude.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,5 @@ latest-version: "1"

released-versions:
- number: "1"
status: "released"
date-released: "August 29, 2018"
# date-last-connection:
deprecation-date: ""
sunset-date: ""
# date-last-connection:
5 changes: 1 addition & 4 deletions _data/taps/versions/appsflyer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,5 @@ latest-version: "1"

released-versions:
- number: "1"
status: "released"
date-released: "December 11, 2017"
# date-last-connection:
deprecation-date: ""
sunset-date: ""
# date-last-connection:
6 changes: 0 additions & 6 deletions _data/taps/versions/asana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,12 @@ latest-version: "2"

released-versions:
- number: "2"
status: "released"
date-released: "March 5, 2020"
# date-last-connection:
deprecation-date: ""
sunset-date: ""

- number: "1"
status: "deprecated"
date-released: "June 28, 2019"
date-last-connection: "March 5, 2020"
deprecation-date: ""
sunset-date: ""


# -------------------------- #
Expand Down
5 changes: 1 addition & 4 deletions _data/taps/versions/autopilot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,5 @@ latest-version: "1"

released-versions:
- number: "1"
status: "released"
date-released: "August 23, 2017"
# date-last-connection:
deprecation-date: ""
sunset-date: ""
# date-last-connection:
5 changes: 1 addition & 4 deletions _data/taps/versions/bigcommerce.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,5 @@ latest-version: "1"

released-versions:
- number: "1"
status: "released"
date-released: "March 12, 2019"
# date-last-connection:
deprecation-date: ""
sunset-date: ""
# date-last-connection:
3 changes: 0 additions & 3 deletions _data/taps/versions/bing-ads.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@ latest-version: "2"

released-versions:
- number: "2"
status: "released"
date-released: "October 4, 2018"
# date-last-connection:
deprecation-date: ""
sunset-date: ""

- number: "1"
status: "sunset"
Expand Down
5 changes: 1 addition & 4 deletions _data/taps/versions/braintree.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,5 @@ latest-version: "1"

released-versions:
- number: "1"
status: "released"
date-released: "March 1, 2017"
# date-last-connection:
deprecation-date: ""
sunset-date: ""
# date-last-connection:
5 changes: 1 addition & 4 deletions _data/taps/versions/bronto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,5 @@ latest-version: "1"

released-versions:
- number: "1"
status: "released"
date-released: "June 27, 2018"
# date-last-connection:
deprecation-date: ""
sunset-date: ""
# date-last-connection:
5 changes: 1 addition & 4 deletions _data/taps/versions/campaign-manager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,5 @@ latest-version: "1"

released-versions:
- number: "1"
status: "released"
date-released: "August 17, 2018"
# date-last-connection:
deprecation-date: ""
sunset-date: ""
# date-last-connection:
5 changes: 1 addition & 4 deletions _data/taps/versions/campaign-monitor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,5 @@ latest-version: "1"

released-versions:
- number: "1"
status: "released"
date-released: "October 1, 2018"
# date-last-connection:
deprecation-date: ""
sunset-date: ""
# date-last-connection:
5 changes: 1 addition & 4 deletions _data/taps/versions/chargebee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,5 @@ latest-version: "1"

released-versions:
- number: "1"
status: "released"
date-released: "May 21, 2019"
# date-last-connection:
deprecation-date: ""
sunset-date: ""
# date-last-connection:
2 changes: 0 additions & 2 deletions _data/taps/versions/chargify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,3 @@ released-versions:
status: "beta"
date-released: "November 30, 2020"
# date-last-connection:
deprecation-date: ""
sunset-date: ""
4 changes: 1 addition & 3 deletions _data/taps/versions/circle-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@ released-versions:
- number: "1"
status: "beta" ## beta, released, deprecated
date-released: "March 20, 2023"
# date-last-connection:
deprecation-date: ""
sunset-date: ""
# date-last-connection:
3 changes: 0 additions & 3 deletions _data/taps/versions/closeio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@ latest-version: "1"

released-versions:
- number: "1"
status: "released"
date-released: "September 17, 2018"
# date-last-connection:
deprecation-date: ""
sunset-date: ""

- number: "2017-03-01"
status: "sunset"
Expand Down
5 changes: 1 addition & 4 deletions _data/taps/versions/clubspeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,5 @@ latest-version: "1"

released-versions:
- number: "1"
status: "released"
date-released: "February 1, 2019"
# date-last-connection:
deprecation-date: ""
sunset-date: ""
# date-last-connection:
5 changes: 1 addition & 4 deletions _data/taps/versions/codat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,5 @@ latest-version: "1"

released-versions:
- number: "1"
status: "released"
date-released: "December 11, 2017"
# date-last-connection:
deprecation-date: ""
sunset-date: ""
# date-last-connection:
5 changes: 1 addition & 4 deletions _data/taps/versions/covid-19.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,5 @@ latest-version: "1"

released-versions:
- number: "1"
status: "released"
date-released: "April 2, 2020"
# date-last-connection:
deprecation-date: ""
sunset-date: ""
# date-last-connection:
4 changes: 1 addition & 3 deletions _data/taps/versions/crossbeam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@ released-versions:
- number: "1"
status: "beta" ## beta, released, deprecated
date-released: "September 27, 2021"
# date-last-connection:
deprecation-date: ""
sunset-date: ""
# date-last-connection:
5 changes: 1 addition & 4 deletions _data/taps/versions/darksky.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ latest-version: "1"

released-versions:
- number: "1"
status: "released"
# full-release: "April 2, 2020"
date-released: "January 3, 2020"
# date-last-connection:
deprecation-date: ""
sunset-date: ""
# date-last-connection:
5 changes: 1 addition & 4 deletions _data/taps/versions/deputy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,5 @@ latest-version: "1"

released-versions:
- number: "1"
status: "released"
date-released: "September 26, 2019"
# date-last-connection:
deprecation-date: ""
sunset-date: ""
# date-last-connection:
5 changes: 1 addition & 4 deletions _data/taps/versions/desk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,5 @@ latest-version: "15-10-2015"

released-versions:
- number: "15-10-2015"
status: "released"
date-released: "October 15, 2015"
# date-last-connection:
deprecation-date: ""
sunset-date: ""
# date-last-connection:
4 changes: 1 addition & 3 deletions _data/taps/versions/dixa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@ released-versions:
- number: "1"
status: "beta" ## beta, released, deprecated
date-released: "tbd"
# date-last-connection:
deprecation-date: ""
sunset-date: ""
# date-last-connection:
5 changes: 1 addition & 4 deletions _data/taps/versions/dynamodb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ latest-version: "1"

released-versions:
- number: "1"
status: "released"
# full-release: "April 2, 2020"
date-released: "January 6, 2020"
# date-last-connection:
deprecation-date: ""
sunset-date: ""
# date-last-connection:
4 changes: 1 addition & 3 deletions _data/taps/versions/ebay.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@ released-versions:
- number: "1"
status: "beta" ## beta, released, deprecated
date-released: "November 24, 2020"
# date-last-connection:
deprecation-date: ""
sunset-date: ""
# date-last-connection:
5 changes: 1 addition & 4 deletions _data/taps/versions/eloqua.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,5 @@ latest-version: "1"

released-versions:
- number: "1"
status: "released"
date-released: "April 26, 2019"
# date-last-connection:
deprecation-date: ""
sunset-date: ""
# date-last-connection:
Loading
Loading