[meld] Remove email templating from maintenance script



commit d03bf5334cd67489ac1d896c4c22cc1134dc0a98
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sun Jul 10 08:45:17 2022 +1000

    Remove email templating from maintenance script
    
    This used to be for gnome-announce-list emails, but that list is now
    basically defunct.

 maint | 47 -----------------------------------------------
 1 file changed, 47 deletions(-)
---
diff --git a/maint b/maint
index 58f21fec..6e1a3975 100755
--- a/maint
+++ b/maint
@@ -77,46 +77,6 @@ APPDATA_TEMPLATE = """
     </release>
 """
 
-EMAIL_TEMPLATE = """
-{{ app|title }} {{version}} has been released, and is now available at:
-  https://download.gnome.org/sources/meld/{{ version|minor_version }}/{{ app }}-{{ version }}.tar.xz
-{%- if features %}
-
-
-Features
---------
-{% for feature in features %}
- {{ feature }}
-{%- endfor %}
-{%- endif %}
-
-
-Fixes
------
-{% for fix in fixes %}
- {{ fix }}
-{%- endfor %}
-
-
-Translations
-------------
-{% for translator in translators %}
- {{ translator }}
-{%- endfor %}
-
-
-What is Meld?
--------------
-
-Meld is a visual diff and merge tool. It lets you compare two or three files,
-and updates the comparisons while you edit them in-place. You can also compare
-folders, launching comparisons of individual files as desired. Last but by no
-means least, Meld lets you work with your current changes in a wide variety of
-version control systems, including Git, Bazaar, Mercurial, CVS and Subversion.
-
-"""
-
-
 MARKDOWN_TEMPLATE = """
 <!--
 {{ [date, app, version]|join(' ') }}
@@ -451,12 +411,6 @@ def write_somewhere(filename, output):
         click.echo(output)
 
 
-@cli.command()
-@click.argument('filename', type=click.Path(), default=None, required=False)
-def email(filename):
-    write_somewhere(filename, render_template(EMAIL_TEMPLATE))
-
-
 @cli.command()
 @click.argument('filename', type=click.Path(), default=None, required=False)
 def markdown(filename):
@@ -572,7 +526,6 @@ def make_release(ctx):
     ctx.forward(tag)
     ctx.forward(gitlab_release)
     file_prefix = '%s-%s' % (meld.conf.__package__, meld.conf.__version__)
-    ctx.forward(email, filename=file_prefix + '-email')
     ctx.forward(markdown, filename=file_prefix + '.md')
     ctx.forward(version_bump)
     commit(message='Post-release version bump')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]