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 2026/03/19 14:52:11 UTC

(airflow) branch fix/registry-blank-lines updated (62e4fe1ebe7 -> 1c706e3a8d4)

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

kaxilnaik pushed a change to branch fix/registry-blank-lines
in repository https://gitbox.apache.org/repos/asf/airflow.git


 discard 62e4fe1ebe7 Fix 299 blank lines in registry homepage HTML
     new 1c706e3a8d4 Fix 299 blank lines in registry homepage HTML

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   (62e4fe1ebe7)
            \
             N -- N -- N   refs/heads/fix/registry-blank-lines (1c706e3a8d4)

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 1 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:
 .../versions/head/test_task_instances.py           | 41 ----------------------
 1 file changed, 41 deletions(-)


(airflow) 01/01: Fix 299 blank lines in registry homepage HTML

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

kaxilnaik pushed a commit to branch fix/registry-blank-lines
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 1c706e3a8d48d31659d0841808b9308a4251d450
Author: Kaxil Naik <ka...@apache.org>
AuthorDate: Thu Mar 19 14:50:17 2026 +0000

    Fix 299 blank lines in registry homepage HTML
    
    The Nunjucks loop that filters providers with first_released dates
    emits blank lines for each iteration (~99 providers x 3 lines).
    Use whitespace-trimming delimiters ({%- -%}) on the data-processing
    loop to eliminate blank lines from the rendered HTML.
---
 registry/src/index.njk | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/registry/src/index.njk b/registry/src/index.njk
index e8d6a475c7c..a57b5177fb1 100644
--- a/registry/src/index.njk
+++ b/registry/src/index.njk
@@ -99,13 +99,13 @@ title: Discover Providers, Operators & Hooks for Apache Airflow
 </section>
 
 <!-- New Providers -->
-{% set allWithDate = [] %}
-{% for provider in providers.providers %}
-  {% if provider.first_released %}
-    {% set allWithDate = (allWithDate.push(provider), allWithDate) %}
-  {% endif %}
-{% endfor %}
-{% set newProviders = allWithDate | sort(false, false, 'first_released') | reverse | slice(0, 4) %}
+{%- set allWithDate = [] -%}
+{%- for provider in providers.providers -%}
+  {%- if provider.first_released -%}
+    {%- set allWithDate = (allWithDate.push(provider), allWithDate) -%}
+  {%- endif -%}
+{%- endfor -%}
+{%- set newProviders = allWithDate | sort(false, false, 'first_released') | reverse | slice(0, 4) -%}
 {% if newProviders.length > 0 %}
 <section id="new-providers">
   <div class="container">