You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2021/11/08 17:49:24 UTC

[airflow-site] branch main updated: Remove dist links in the announcement page (#510)

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 75f5203  Remove dist links in the announcement page (#510)
75f5203 is described below

commit 75f5203db526fcdea6c80a85b6c52e2d20765847
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Mon Nov 8 18:49:20 2021 +0100

    Remove dist links in the announcement page (#510)
---
 .../site/content/en/announcements/_index.md        | 25 ----------------------
 site.sh                                            |  4 ++--
 2 files changed, 2 insertions(+), 27 deletions(-)

diff --git a/landing-pages/site/content/en/announcements/_index.md b/landing-pages/site/content/en/announcements/_index.md
index 514dcde..99127e3 100644
--- a/landing-pages/site/content/en/announcements/_index.md
+++ b/landing-pages/site/content/en/announcements/_index.md
@@ -143,8 +143,6 @@ Airflow Summit will be held online July 8-16, 2021. To register or propose a tal
 
 We've just released **Airflow Backport Provider Packages 2020.10.5**.
 
-https://dist.apache.org/repos/dist/release/airflow/backport-providers/
-
 # March 17, 2021
 
 We've just released Apache **Airflow 1.10.15**.
@@ -236,8 +234,6 @@ Changelog: https://airflow.readthedocs.io/en/1.10.13/changelog.html
 
 We've just released Airflow Backport Provider Packages 2020.10.5.
 
-https://dist.apache.org/repos/dist/release/airflow/backport-providers/
-
 # October 28, 2020
 
 Airflow PMC welcomes **Ryan Hamilton** ([@ryanahamilton](https://github.com/ryanahamilton)) as the new Airflow Committer.
@@ -246,8 +242,6 @@ Airflow PMC welcomes **Ryan Hamilton** ([@ryanahamilton](https://github.com/ryan
 
 We've just released Airflow Backport Provider Packages 2020.10.5.
 
-https://dist.apache.org/repos/dist/release/airflow/backport-providers/
-
 57 packages have been released.
 
 # August 25, 2020
@@ -543,8 +537,6 @@ Congratulations folks - Very well deserved.
 
 New Apache Airflow release 1.10.3 is out!
 
-Source, Binary "Sdist" & binary wheel release - https://www.apache.org/dist/airflow/1.10.3/
-
 Pypi - https://pypi.org/project/apache-airflow/1.10.3/ (Run `pip install apache-airflow`)
 
 Changelog - https://airflow.apache.org/1.10.3/changelog.html#airflow-1-10-3-2019-04-09
@@ -578,8 +570,6 @@ We are pleased to announce our newest Meetup, this one in [Portland, Oregon, USA
 
 New Apache Airflow release 1.10.2 is out!
 
-Source & Binary "Sdist" release - https://dist.apache.org/repos/dist/release/airflow/1.10.2/
-
 Pypi - https://pypi.python.org/pypi/apache-airflow (Run `pip install apache-airflow`)
 
 Changelog - https://airflow.apache.org/changelog.html#airflow-1-10-2-2019-01-19
@@ -612,8 +602,6 @@ Apache Airflow graduates from the Incubator and is now a TLP!
 
 New Apache Airflow release 1.10.1-incubating is out!
 
-Source & Binary "Sdist" release - https://dist.apache.org/repos/dist/release/incubator/airflow/1.10.1-incubating/
-
 Pypi - https://pypi.python.org/pypi/apache-airflow (Run `pip install apache-airflow`)
 
 Changelog - https://github.com/apache/incubator-airflow/blob/v1-10-test/CHANGELOG.txt
@@ -661,8 +649,6 @@ The Apache Airflow Meetup group in Amsterdam will be hosting its [2nd meetup at
 
 New Apache Airflow release 1.10.0-incubating is out!
 
-Source & Binary "Sdist" release - https://dist.apache.org/repos/dist/release/incubator/airflow/1.10.0-incubating/
-
 Pypi - https://pypi.python.org/pypi/apache-airflow (Run `pip install apache-airflow`)
 
 Changelog - https://github.com/apache/incubator-airflow/blob/8100f1f/CHANGELOG.txt
@@ -705,8 +691,6 @@ The Apache Airflow PPMC welcomes new committer and PPMC member, **Ash Berlin-Tay
 
 New Apache Airflow release 1.9.0-incubating is out!
 
-Source & Binary "Sdist" release - https://dist.apache.org/repos/dist/release/incubator/airflow/1.9.0-incubating/
-
 Pypi - https://pypi.python.org/pypi/apache-airflow (Run `pip install apache-airflow`)
 
 ReleaseNotes - https://github.com/apache/incubator-airflow/blob/master/CHANGELOG.txt
@@ -747,8 +731,6 @@ The Apache Airflow PPMC welcomes new committer and PPMC member, **Fokko Driespon
 
 New Apache Airflow release 1.8.2-incubating is out!
 
-Source & Binary "Sdist" release - https://dist.apache.org/repos/dist/release/incubator/airflow/1.8.2-incubating/
-
 Pypi - https://pypi.python.org/pypi/apache-airflow
 
 Release Notes - http://bit.ly/2gH9QFx
@@ -779,13 +761,6 @@ The first official Apache Airflow release (1.8.0-incubating) is out!
 
 **Change log:** 205 commits as shown in [Changelog (1.8.0-incubating)](https://github.com/apache/incubator-airflow/blob/1.8.0%2Bapache.incubating/CHANGELOG.txt)
 
-**Tarball:** https://dist.apache.org/repos/dist/release/incubator/airflow/1.8.0-incubating/
-
-- You can install via :
-
-        pip install https://dist.apache.org/repos/dist/release/incubator/airflow/1.8.0-incubating/airflow-1.8.0+apache.incubating.tar.gz
-
-
 **PyPi:** coming soon, check https://pypi.python.org/pypi/airflow
 
 - Once available, you can install via :
diff --git a/site.sh b/site.sh
index e37913d..ab430b2 100755
--- a/site.sh
+++ b/site.sh
@@ -168,7 +168,7 @@ function relativepath {
     common_part=$source # for now
     result="" # for now
 
-    while [[ "${target#$common_part}" == "${target}" ]]; do
+    while [[ "${target#"$common_part"}" == "${target}" ]]; do
         # no match, means that candidate common part is not correct
         # go up one level (reduce common part)
         common_part="$(dirname "$common_part")"
@@ -187,7 +187,7 @@ function relativepath {
 
     # since we now have identified the common part,
     # compute the non-common part
-    forward_part="${target#$common_part}"
+    forward_part="${target#"$common_part"}"
 
     # and now stick all parts together
     if [[ -n $result ]] && [[ -n $forward_part ]]; then