You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by rb...@apache.org on 2026/04/29 16:23:42 UTC

(comdev) branch main updated: Remove desktop notification.

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 64416aa  Remove desktop notification.
64416aa is described below

commit 64416aa5a1386f90688870da6aba2bf7c35821a5
Author: Rich Bowen <rb...@rcbowen.com>
AuthorDate: Wed Apr 29 12:23:23 2026 -0400

    Remove desktop notification.
---
 asf-highlights/project_birthdays.py | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/asf-highlights/project_birthdays.py b/asf-highlights/project_birthdays.py
index 85a6b4a..4a447a7 100755
--- a/asf-highlights/project_birthdays.py
+++ b/asf-highlights/project_birthdays.py
@@ -150,16 +150,6 @@ def save_content(content, output_dir, month):
         logger.error(f"Error saving summary to {filepath}: {e}")
         return None
 
-def send_notification(title, message):
-    """Send a macOS desktop notification"""
-    try:
-        import subprocess
-        script = f'display notification "{message}" with title "{title}"'
-        subprocess.run(["osascript", "-e", script], check=True)
-        logger.info(f"Desktop notification sent: {title} - {message}")
-    except Exception as e:
-        logger.error(f"Failed to send desktop notification: {e}")
-
 def main():
     """Main function to fetch Apache project birthdays and generate a monthly summary"""
     logger.info("Starting Apache project birthdays fetch")
@@ -175,7 +165,6 @@ def main():
     
     if not committees_data:
         logger.error("Failed to fetch committees data")
-        send_notification("Apache Birthdays Fetch Failed", "Failed to fetch committees data")
         return
     
     # Get projects with birthdays in the current month
@@ -192,10 +181,6 @@ def main():
     logger.info(f"Found {total_projects} projects with birthdays in {month_name}")
     logger.info("Apache project birthdays fetch completed")
     
-    # Send notification
-    notification_message = f"Found {total_projects} Apache projects with birthdays in {month_name}"
-    send_notification("Apache Project Birthdays Summary Complete", notification_message)
-    
     # Print path to the generated file
     if filepath:
         print(f"Birthday summary saved to: {filepath}")