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 2020/12/16 11:56:54 UTC

[airflow] branch master updated: Sort integrations.json by lowercase integration name (#13105)

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

kamilbregula pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/master by this push:
     new 69801f5  Sort integrations.json by lowercase integration name (#13105)
69801f5 is described below

commit 69801f5ef016bcf21af348f4fdeb67f09db8f394
Author: Ruben Laguna <ru...@gmail.com>
AuthorDate: Wed Dec 16 12:55:28 2020 +0100

    Sort integrations.json by lowercase integration name (#13105)
---
 scripts/tools/generate-integrations-json.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/tools/generate-integrations-json.py b/scripts/tools/generate-integrations-json.py
index d509b36..6fb4d86 100755
--- a/scripts/tools/generate-integrations-json.py
+++ b/scripts/tools/generate-integrations-json.py
@@ -68,7 +68,7 @@ for provider_info in ALL_PROVIDER_YAMLS:
             result['logo'] = logo
         result_integrations.append(result)
 
-result_integrations = sorted(result_integrations, key=lambda x: x['name'])
+result_integrations = sorted(result_integrations, key=lambda x: x['name'].lower())
 with open(os.path.join(AIRFLOW_SITE_DIR, 'landing-pages/site/static/integrations.json'), 'w') as f:
     f.write(
         json.dumps(