You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ar...@apache.org on 2017/04/04 16:21:29 UTC
incubator-airflow git commit: [AIRFLOW-1067] use example.com in
examples
Repository: incubator-airflow
Updated Branches:
refs/heads/master 8fdfb16cc -> 70f1bf10a
[AIRFLOW-1067] use example.com in examples
We use airflow@airflow.com in examples. However,
https://airflow.com
is owned by a company named Airflow (selling fans,
etc). We should use
airflow@example.com instead. That domain is
created for this purpose.
Closes #2217 from mengxr/AIRFLOW-1067
Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/70f1bf10
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/70f1bf10
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/70f1bf10
Branch: refs/heads/master
Commit: 70f1bf10a5a5ab8f7460d3c0dc5c1a6d955355de
Parents: 8fdfb16
Author: Xiangrui Meng <me...@databricks.com>
Authored: Tue Apr 4 09:22:37 2017 -0700
Committer: Arthur Wiedmer <ar...@gmail.com>
Committed: Tue Apr 4 09:22:37 2017 -0700
----------------------------------------------------------------------
airflow/api/auth/backend/default.py | 2 +-
airflow/config_templates/default_airflow.cfg | 2 +-
airflow/config_templates/default_test.cfg | 2 +-
.../example_dags/example_emr_job_flow_automatic_steps.py | 2 +-
.../contrib/example_dags/example_emr_job_flow_manual_steps.py | 2 +-
airflow/contrib/example_dags/example_qubole_operator.py | 2 +-
airflow/contrib/example_dags/example_twitter_dag.py | 2 +-
airflow/contrib/task_runner/__init__.py | 2 +-
airflow/dag/__init__.py | 2 +-
airflow/example_dags/docker_copy_data.py | 2 +-
airflow/example_dags/example_docker_operator.py | 2 +-
airflow/example_dags/example_http_operator.py | 2 +-
airflow/example_dags/tutorial.py | 2 +-
docs/scheduler.rst | 2 +-
docs/tutorial.rst | 6 +++---
scripts/ci/airflow_travis.cfg | 2 +-
tests/dags/test_retry_handling_job.py | 2 +-
17 files changed, 19 insertions(+), 19 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/70f1bf10/airflow/api/auth/backend/default.py
----------------------------------------------------------------------
diff --git a/airflow/api/auth/backend/default.py b/airflow/api/auth/backend/default.py
index 64cae86..49453ea 100644
--- a/airflow/api/auth/backend/default.py
+++ b/airflow/api/auth/backend/default.py
@@ -26,4 +26,4 @@ def requires_authentication(function):
def decorated(*args, **kwargs):
return function(*args, **kwargs)
- return decorated
\ No newline at end of file
+ return decorated
http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/70f1bf10/airflow/config_templates/default_airflow.cfg
----------------------------------------------------------------------
diff --git a/airflow/config_templates/default_airflow.cfg b/airflow/config_templates/default_airflow.cfg
index 77c65ca..b28256a 100644
--- a/airflow/config_templates/default_airflow.cfg
+++ b/airflow/config_templates/default_airflow.cfg
@@ -231,7 +231,7 @@ smtp_ssl = False
# smtp_user = airflow
# smtp_password = airflow
smtp_port = 25
-smtp_mail_from = airflow@airflow.com
+smtp_mail_from = airflow@example.com
[celery]
http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/70f1bf10/airflow/config_templates/default_test.cfg
----------------------------------------------------------------------
diff --git a/airflow/config_templates/default_test.cfg b/airflow/config_templates/default_test.cfg
index 2d31141..2fb5bb0 100644
--- a/airflow/config_templates/default_test.cfg
+++ b/airflow/config_templates/default_test.cfg
@@ -65,7 +65,7 @@ smtp_host = localhost
smtp_user = airflow
smtp_port = 25
smtp_password = airflow
-smtp_mail_from = airflow@airflow.com
+smtp_mail_from = airflow@example.com
[celery]
celery_app_name = airflow.executors.celery_executor
http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/70f1bf10/airflow/contrib/example_dags/example_emr_job_flow_automatic_steps.py
----------------------------------------------------------------------
diff --git a/airflow/contrib/example_dags/example_emr_job_flow_automatic_steps.py b/airflow/contrib/example_dags/example_emr_job_flow_automatic_steps.py
index 7f57ad1..b03b36f 100644
--- a/airflow/contrib/example_dags/example_emr_job_flow_automatic_steps.py
+++ b/airflow/contrib/example_dags/example_emr_job_flow_automatic_steps.py
@@ -22,7 +22,7 @@ DEFAULT_ARGS = {
'owner': 'airflow',
'depends_on_past': False,
'start_date': airflow.utils.dates.days_ago(2),
- 'email': ['airflow@airflow.com'],
+ 'email': ['airflow@example.com'],
'email_on_failure': False,
'email_on_retry': False
}
http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/70f1bf10/airflow/contrib/example_dags/example_emr_job_flow_manual_steps.py
----------------------------------------------------------------------
diff --git a/airflow/contrib/example_dags/example_emr_job_flow_manual_steps.py b/airflow/contrib/example_dags/example_emr_job_flow_manual_steps.py
index caa6943..d123be0 100644
--- a/airflow/contrib/example_dags/example_emr_job_flow_manual_steps.py
+++ b/airflow/contrib/example_dags/example_emr_job_flow_manual_steps.py
@@ -25,7 +25,7 @@ DEFAULT_ARGS = {
'owner': 'airflow',
'depends_on_past': False,
'start_date': airflow.utils.dates.days_ago(2),
- 'email': ['airflow@airflow.com'],
+ 'email': ['airflow@example.com'],
'email_on_failure': False,
'email_on_retry': False
}
http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/70f1bf10/airflow/contrib/example_dags/example_qubole_operator.py
----------------------------------------------------------------------
diff --git a/airflow/contrib/example_dags/example_qubole_operator.py b/airflow/contrib/example_dags/example_qubole_operator.py
index fce0175..bf32788 100644
--- a/airflow/contrib/example_dags/example_qubole_operator.py
+++ b/airflow/contrib/example_dags/example_qubole_operator.py
@@ -25,7 +25,7 @@ default_args = {
'owner': 'airflow',
'depends_on_past': False,
'start_date': airflow.utils.dates.days_ago(2)
- 'email': ['airflow@airflow.com'],
+ 'email': ['airflow@example.com'],
'email_on_failure': False,
'email_on_retry': False
}
http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/70f1bf10/airflow/contrib/example_dags/example_twitter_dag.py
----------------------------------------------------------------------
diff --git a/airflow/contrib/example_dags/example_twitter_dag.py b/airflow/contrib/example_dags/example_twitter_dag.py
index a25c8d0..d8f89d3 100644
--- a/airflow/contrib/example_dags/example_twitter_dag.py
+++ b/airflow/contrib/example_dags/example_twitter_dag.py
@@ -59,7 +59,7 @@ default_args = {
'owner': 'Ekhtiar',
'depends_on_past': False,
'start_date': airflow.utils.dates.days_ago(5),
- 'email': ['airflow@airflow.com'],
+ 'email': ['airflow@example.com'],
'email_on_failure': False,
'email_on_retry': False,
'retries': 1,
http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/70f1bf10/airflow/contrib/task_runner/__init__.py
----------------------------------------------------------------------
diff --git a/airflow/contrib/task_runner/__init__.py b/airflow/contrib/task_runner/__init__.py
index d4cd6f7..9d7677a 100644
--- a/airflow/contrib/task_runner/__init__.py
+++ b/airflow/contrib/task_runner/__init__.py
@@ -10,4 +10,4 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
-# limitations under the License.
\ No newline at end of file
+# limitations under the License.
http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/70f1bf10/airflow/dag/__init__.py
----------------------------------------------------------------------
diff --git a/airflow/dag/__init__.py b/airflow/dag/__init__.py
index a84b6da..759b563 100644
--- a/airflow/dag/__init__.py
+++ b/airflow/dag/__init__.py
@@ -11,4 +11,4 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-#
\ No newline at end of file
+#
http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/70f1bf10/airflow/example_dags/docker_copy_data.py
----------------------------------------------------------------------
diff --git a/airflow/example_dags/docker_copy_data.py b/airflow/example_dags/docker_copy_data.py
index f0789b1..a6d762e 100644
--- a/airflow/example_dags/docker_copy_data.py
+++ b/airflow/example_dags/docker_copy_data.py
@@ -30,7 +30,7 @@ TODO: Review the workflow, change it accordingly to to your environment & enable
# 'owner': 'airflow',
# 'depends_on_past': False,
# 'start_date': datetime.now(),
-# 'email': ['airflow@airflow.com'],
+# 'email': ['airflow@example.com'],
# 'email_on_failure': False,
# 'email_on_retry': False,
# 'retries': 1,
http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/70f1bf10/airflow/example_dags/example_docker_operator.py
----------------------------------------------------------------------
diff --git a/airflow/example_dags/example_docker_operator.py b/airflow/example_dags/example_docker_operator.py
index 6bb71ff..1f7a486 100644
--- a/airflow/example_dags/example_docker_operator.py
+++ b/airflow/example_dags/example_docker_operator.py
@@ -21,7 +21,7 @@ default_args = {
'owner': 'airflow',
'depends_on_past': False,
'start_date': datetime.now(),
- 'email': ['airflow@airflow.com'],
+ 'email': ['airflow@example.com'],
'email_on_failure': False,
'email_on_retry': False,
'retries': 1,
http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/70f1bf10/airflow/example_dags/example_http_operator.py
----------------------------------------------------------------------
diff --git a/airflow/example_dags/example_http_operator.py b/airflow/example_dags/example_http_operator.py
index 0cc23b9..983cc49 100644
--- a/airflow/example_dags/example_http_operator.py
+++ b/airflow/example_dags/example_http_operator.py
@@ -26,7 +26,7 @@ default_args = {
'owner': 'airflow',
'depends_on_past': False,
'start_date': airflow.utils.dates.days_ago(2),
- 'email': ['airflow@airflow.com'],
+ 'email': ['airflow@example.com'],
'email_on_failure': False,
'email_on_retry': False,
'retries': 1,
http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/70f1bf10/airflow/example_dags/tutorial.py
----------------------------------------------------------------------
diff --git a/airflow/example_dags/tutorial.py b/airflow/example_dags/tutorial.py
index 6ede09a..5229b45 100644
--- a/airflow/example_dags/tutorial.py
+++ b/airflow/example_dags/tutorial.py
@@ -29,7 +29,7 @@ default_args = {
'owner': 'airflow',
'depends_on_past': False,
'start_date': airflow.utils.dates.days_ago(2),
- 'email': ['airflow@airflow.com'],
+ 'email': ['airflow@example.com'],
'email_on_failure': False,
'email_on_retry': False,
'retries': 1,
http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/70f1bf10/docs/scheduler.rst
----------------------------------------------------------------------
diff --git a/docs/scheduler.rst b/docs/scheduler.rst
index efc98a8..4c5c6be 100644
--- a/docs/scheduler.rst
+++ b/docs/scheduler.rst
@@ -105,7 +105,7 @@ interval series.
'owner': 'airflow',
'depends_on_past': False,
'start_date': datetime(2015, 12, 1),
- 'email': ['airflow@airflow.com'],
+ 'email': ['airflow@example.com'],
'email_on_failure': False,
'email_on_retry': False,
'retries': 1,
http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/70f1bf10/docs/tutorial.rst
----------------------------------------------------------------------
diff --git a/docs/tutorial.rst b/docs/tutorial.rst
index 97bbe11..d047f82 100644
--- a/docs/tutorial.rst
+++ b/docs/tutorial.rst
@@ -26,7 +26,7 @@ complicated, a line by line explanation follows below.
'owner': 'airflow',
'depends_on_past': False,
'start_date': datetime(2015, 6, 1),
- 'email': ['airflow@airflow.com'],
+ 'email': ['airflow@example.com'],
'email_on_failure': False,
'email_on_retry': False,
'retries': 1,
@@ -117,7 +117,7 @@ of default parameters that we can use when creating tasks.
'owner': 'airflow',
'depends_on_past': False,
'start_date': datetime(2015, 6, 1),
- 'email': ['airflow@airflow.com'],
+ 'email': ['airflow@example.com'],
'email_on_failure': False,
'email_on_retry': False,
'retries': 1,
@@ -278,7 +278,7 @@ something like this:
'owner': 'airflow',
'depends_on_past': False,
'start_date': datetime(2015, 6, 1),
- 'email': ['airflow@airflow.com'],
+ 'email': ['airflow@example.com'],
'email_on_failure': False,
'email_on_retry': False,
'retries': 1,
http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/70f1bf10/scripts/ci/airflow_travis.cfg
----------------------------------------------------------------------
diff --git a/scripts/ci/airflow_travis.cfg b/scripts/ci/airflow_travis.cfg
index 2834ad4..01bf3a4 100644
--- a/scripts/ci/airflow_travis.cfg
+++ b/scripts/ci/airflow_travis.cfg
@@ -38,7 +38,7 @@ smtp_host = localhost
smtp_user = airflow
smtp_port = 25
smtp_password = airflow
-smtp_mail_from = airflow@airflow.com
+smtp_mail_from = airflow@example.com
[celery]
celery_app_name = airflow.executors.celery_executor
http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/70f1bf10/tests/dags/test_retry_handling_job.py
----------------------------------------------------------------------
diff --git a/tests/dags/test_retry_handling_job.py b/tests/dags/test_retry_handling_job.py
index 111dfd4..19e829d 100644
--- a/tests/dags/test_retry_handling_job.py
+++ b/tests/dags/test_retry_handling_job.py
@@ -20,7 +20,7 @@ default_args = {
'owner': 'airflow',
'depends_on_past': False,
'start_date': datetime(2016,10,5,19),
- 'email': ['airflow@airflow.com'],
+ 'email': ['airflow@example.com'],
'email_on_failure': False,
'email_on_retry': False,
'retries': 4,