You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2021/03/10 00:52:38 UTC

[airflow] branch v1-10-test updated (a65c1b9 -> cb05771)

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

kaxilnaik pushed a change to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git.


 discard a65c1b9  Change the format for sha512 sum for releases (#12867)
 discard 0710c79  Sign release files with an apache.org key by default (#12241)
 discard bfa85d8  Make rbac_app's db.session use the same timezone with @provide_session (#14025)
     new c12ec90  Sign release files with an apache.org key by default (#12241)
     new 8e4ea66  Change the format for sha512 sum for releases (#12867)
     new 19f8daf  Bump datatables.net from 1.10.21 to 1.10.23 in /airflow/www_rbac
     new 565920e  Bump ini from 1.3.5 to 1.3.8 in /airflow/www_rbac
     new cb05771  Make rbac_app's db.session use the same timezone with @provide_session (#14025)

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (a65c1b9)
            \
             N -- N -- N   refs/heads/v1-10-test (cb05771)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 airflow/www_rbac/package.json |  4 ++--
 airflow/www_rbac/yarn.lock    | 24 ++++++++++++------------
 2 files changed, 14 insertions(+), 14 deletions(-)


[airflow] 02/05: Change the format for sha512 sum for releases (#12867)

Posted by ka...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 8e4ea66639b10c1f47313765643329067074ba0d
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Sun Dec 6 23:46:06 2020 +0000

    Change the format for sha512 sum for releases (#12867)
    
    closes https://github.com/apache/airflow/issues/12832
    
    This format is popular and supported by tools like Ansible.
    
    ```
    ❯ sha512sum ../airflow-dev/1.10.14rc3/apache-airflow-1.10.14rc3-bin.tar.gz
    953d3c04ee6fd2fa96e126750e642fc0872add96d180901440a91bd61c494a711b48836c634d93dcb181006935772556d5b4426671bf1a638f0a0698b51b119f  ../airflow-dev/1.10.14rc3/apache-airflow-1.10.14rc3-bin.tar.gz
    ```
    
    vs
    
    ```
    ❯ gpg --print-md SHA512 ../airflow-dev/1.10.14rc3/apache-airflow-1.10.14rc3-bin.tar.gz
    ../airflow-dev/1.10.14rc3/apache-airflow-1.10.14rc3-bin.tar.gz:
    953D3C04 EE6FD2FA 96E12675 0E642FC0 872ADD96 D1809014 40A91BD6 1C494A71 1B48836C
     634D93DC B1810069 35772556 D5B44266 71BF1A63 8F0A0698 B51B119F
    ```
    
    (cherry picked from commit a00f25011fc6c859b27b6c78b9201880cf6323ce)
---
 dev/sign.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev/sign.sh b/dev/sign.sh
index a809fc6..a1b6916 100755
--- a/dev/sign.sh
+++ b/dev/sign.sh
@@ -30,5 +30,5 @@ SIGN_WITH="${SIGN_WITH:-apache.org}"
 for name in "${@}"
 do
     gpg --armor --local-user "$SIGN_WITH" --output "${name}.asc" --detach-sig "${name}"
-    gpg --print-md SHA512 "${name}" > "${name}.sha512"
+    shasum -a 512 "${name}" > "${name}.sha512"
 done


[airflow] 04/05: Bump ini from 1.3.5 to 1.3.8 in /airflow/www_rbac

Posted by ka...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 565920eb979fa2d4a812572b86bb54e4007e3bf3
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Mon Dec 21 19:45:30 2020 +0000

    Bump ini from 1.3.5 to 1.3.8 in /airflow/www_rbac
---
 airflow/www_rbac/yarn.lock | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/airflow/www_rbac/yarn.lock b/airflow/www_rbac/yarn.lock
index 22d74ea..218aa83 100644
--- a/airflow/www_rbac/yarn.lock
+++ b/airflow/www_rbac/yarn.lock
@@ -3294,9 +3294,9 @@ inherits@2.0.3:
   integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=
 
 ini@^1.3.4, ini@^1.3.5:
-  version "1.3.5"
-  resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927"
-  integrity sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==
+  version "1.3.8"
+  resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c"
+  integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==
 
 interpret@^1.4.0:
   version "1.4.0"


[airflow] 01/05: Sign release files with an apache.org key by default (#12241)

Posted by ka...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit c12ec90024c0b3ee171b97d82c6a41ad86537cc5
Author: Ash Berlin-Taylor <as...@firemirror.com>
AuthorDate: Tue Nov 10 11:26:48 2020 +0000

    Sign release files with an apache.org key by default (#12241)
    
    If you have more than a single private key in your GPG trust store, gpg
    will use the first one, which for me is not right.
    
    This changes the script to by default use any key with `apache.org` in
    the name. This is a patch I've been carrying locally for about 8
    releases now :D
    
    (cherry picked from commit 3ab5828142b8ae786556867552d92e7e61ae2fb1)
---
 dev/sign.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev/sign.sh b/dev/sign.sh
index cd805b5..a809fc6 100755
--- a/dev/sign.sh
+++ b/dev/sign.sh
@@ -23,8 +23,12 @@ set -euo pipefail
 # you will still be required to type in your signing key password
 # or it needs to be available in your keychain
 
+# Which key to sign releases with? This can be a (partial) email address or a
+# key id. By default use any apache.org key
+SIGN_WITH="${SIGN_WITH:-apache.org}"
+
 for name in "${@}"
 do
-    gpg --armor --output "${name}.asc" --detach-sig "${name}"
+    gpg --armor --local-user "$SIGN_WITH" --output "${name}.asc" --detach-sig "${name}"
     gpg --print-md SHA512 "${name}" > "${name}.sha512"
 done


[airflow] 03/05: Bump datatables.net from 1.10.21 to 1.10.23 in /airflow/www_rbac

Posted by ka...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 19f8daf9ef465d657974649cc1e37f1809356109
Author: snyk-bot <sn...@snyk.io>
AuthorDate: Sat Dec 19 04:19:22 2020 +0000

    Bump datatables.net from 1.10.21 to 1.10.23 in /airflow/www_rbac
    
    The following vulnerabilities are fixed with an upgrade:
    - https://snyk.io/vuln/SNYK-JS-DATATABLESNET-1016402
---
 airflow/www_rbac/package.json |  4 ++--
 airflow/www_rbac/yarn.lock    | 18 +++++++++---------
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/airflow/www_rbac/package.json b/airflow/www_rbac/package.json
index 4141afa..542877c 100644
--- a/airflow/www_rbac/package.json
+++ b/airflow/www_rbac/package.json
@@ -64,8 +64,8 @@
     "d3": "^3.4.4",
     "d3-tip": "^0.9.1",
     "dagre-d3": "^0.6.4",
-    "datatables.net": "^1.10.21",
-    "datatables.net-bs": "^1.10.21",
+    "datatables.net": "^1.10.23",
+    "datatables.net-bs": "^1.10.23",
     "eonasdan-bootstrap-datetimepicker": "^4.17.47",
     "jquery": ">=3.4.0",
     "js-yaml": "^3.14.0",
diff --git a/airflow/www_rbac/yarn.lock b/airflow/www_rbac/yarn.lock
index 4550616..22d74ea 100644
--- a/airflow/www_rbac/yarn.lock
+++ b/airflow/www_rbac/yarn.lock
@@ -1980,18 +1980,18 @@ dagre@^0.8.5:
     graphlib "^2.1.8"
     lodash "^4.17.15"
 
-datatables.net-bs@^1.10.21:
-  version "1.10.21"
-  resolved "https://registry.yarnpkg.com/datatables.net-bs/-/datatables.net-bs-1.10.21.tgz#c80e655033787512423ad78a45e8164f25417dc5"
-  integrity sha512-4mpesFXNEkLlQET3IDLclLz95Xit4Kp/jHcOM2X0nc/ijDfO3qJk3ehZ+NSEAkXZDge6ZtY5Zxq2O90ISiIjwQ==
+datatables.net-bs@^1.10.23:
+  version "1.10.23"
+  resolved "https://registry.yarnpkg.com/datatables.net-bs/-/datatables.net-bs-1.10.23.tgz#985094ea63b28c630de4a0ecb75804ab53341fb0"
+  integrity sha512-O/kJxT93i9hIq8trdbHuIcHhrTodkVPfPqvxOqKK8lJ03XUUrT6V8ZoGyxROFjQGcgbye5CoRLVf7MY+5biOIQ==
   dependencies:
-    datatables.net "1.10.21"
+    datatables.net "1.10.23"
     jquery ">=1.7"
 
-datatables.net@1.10.21, datatables.net@^1.10.21:
-  version "1.10.21"
-  resolved "https://registry.yarnpkg.com/datatables.net/-/datatables.net-1.10.21.tgz#f1d35c8e5c3eb7f5caef39e80cd5b836a8c77103"
-  integrity sha512-/bSZtxmf3GTpYcvEmwZ8q26I1yhSx8qklR2B+s1K8+/51UW/zc2zTYwJMqr/Z+iCYixAc00ildj4g2x0Qamolw==
+datatables.net@1.10.23, datatables.net@^1.10.23:
+  version "1.10.23"
+  resolved "https://registry.yarnpkg.com/datatables.net/-/datatables.net-1.10.23.tgz#59f7d7b12845183b1b379530d1385077e113ec01"
+  integrity sha512-we3tlNkzpxvgkKKlTxTMXPCt35untVXNg8zUYWpQyC1U5vJc+lT0+Zdc1ztK8d3lh5CfdnuFde2p8n3XwaGl3Q==
   dependencies:
     jquery ">=1.7"
 


[airflow] 05/05: Make rbac_app's db.session use the same timezone with @provide_session (#14025)

Posted by ka...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit cb05771a80d8ed68efa853fe9eb18013cb7661bf
Author: zlhsmfj <zl...@gmail.com>
AuthorDate: Thu Feb 4 19:09:51 2021 +0800

    Make rbac_app's db.session use the same timezone with @provide_session (#14025)
---
 airflow/www_rbac/app.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/airflow/www_rbac/app.py b/airflow/www_rbac/app.py
index 49ffaf6..18a355a 100644
--- a/airflow/www_rbac/app.py
+++ b/airflow/www_rbac/app.py
@@ -83,6 +83,8 @@ def create_app(config=None, session=None, testing=False, app_name="Airflow"):
     csrf.init_app(app)
 
     db = SQLA(app)
+    from airflow.utils.sqlalchemy import setup_event_handlers
+    setup_event_handlers(db.session.get_bind())
 
     from airflow import api
     api.load_auth()