You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@attic.apache.org by ni...@apache.org on 2025/11/21 14:45:17 UTC

(attic) 02/02: Add the date the project was established to the project pages

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

niallp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/attic.git

commit e1c8e0f568a29029605ee39d60b8aa14581f5012
Author: Niall Pemberton <ni...@gmail.com>
AuthorDate: Fri Nov 21 14:44:43 2025 +0000

    Add the date the project was established to the project pages
---
 _layouts/project-layout.html | 7 ++++++-
 data.md                      | 1 +
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/_layouts/project-layout.html b/_layouts/project-layout.html
index 6aea233..bc3611b 100644
--- a/_layouts/project-layout.html
+++ b/_layouts/project-layout.html
@@ -19,13 +19,18 @@ limitations under the License.
 {% endcomment %}
 
 {%- assign archive_domain   = page.archive_path | default: page.project_id | prepend: "archive.apache.org/dist/" %}
+{%- assign establish_file  = page.established_date | date: "%Y/board_minutes_%Y_%m_%d.txt" %}
+{%- assign establish_locn  = establish_file | prepend: "https://svn.apache.org/repos/asf/infrastructure/site/trunk/content/foundation/records/minutes/" %}
 {%- assign resolution_file  = page.retirement_date | date: "%Y/board_minutes_%Y_%m_%d.txt" %}
 {%- assign resolution_locn  = resolution_file | prepend: "https://svn.apache.org/repos/asf/infrastructure/site/trunk/content/foundation/records/minutes/" %}
 
 <h1>{{ page.project_apachename }}</h1>
 
 <p>
-  <a href="https://{{ page.project_domain }}/">{{ page.project_longname }}</a> retired in
+  <a href="https://{{ page.project_domain }}/">{{ page.project_longname }}</a>
+  {%- if page.established_date %}
+     became a <i>Top Level Project</i> in <b><a href="{{ establish_locn }}">{{ page.established_date | date: "%B %Y" }}</a></b>, 
+  {%- endif %}  retired in
   <b>
   {%- if page.board_resolution == true -%}
     <a href="{{ resolution_locn }}">{{ page.retirement_date | date: "%B %Y" }}</a>
diff --git a/data.md b/data.md
index 31ec84d..3589441 100644
--- a/data.md
+++ b/data.md
@@ -72,6 +72,7 @@ The [project YAML files]({{site.repo}}/blob/main/_data/projects/) are used to ge
 |Attribute|Required?|Format/Values|Description|Examples|
 |:--------|:--------|:------------|:----------|:-------|
 |project_id|**GENERATED**| - |Generated from the YAML file name, without the `.yaml` suffix ||
+|established_date|Optional|yyyy-mm-dd|Date the project was created as a TLP (date of board meeting)||
 |retirement_date|Required|yyyy-mm-dd|Date the project retired (date of board meeting)||
 |attic_issue|Optional|ATTIC-nnn|The [Attic JIRA](https://issues.apache.org/jira/projects/ATTIC/) ID managing the projects retirement||
 |attic_date|Optional|yyyy-mm-dd|Date the move to the Attic was completed||