1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/3024a86c0d0d/ changeset: 3024a86c0d0d user: greg date: 2012-11-12 22:39:49 summary: Move the important details to the begining of the new tool shed repository alert email template, and include the repository name in the email subject. affected #: 1 file diff -r 74a7bc65f1ed8bde40425d1823ad8761b6cdcea8 -r 3024a86c0d0d21b1a85ff1b91516f34f416bcfcb lib/galaxy/webapps/community/controllers/common.py --- a/lib/galaxy/webapps/community/controllers/common.py +++ b/lib/galaxy/webapps/community/controllers/common.py @@ -25,25 +25,23 @@ log = logging.getLogger( __name__ ) new_repo_email_alert_template = """ -GALAXY TOOL SHED NEW REPOSITORY ALERT ------------------------------------------------------------------------------ -You received this alert because you registered to receive email when -new repositories were created in the Galaxy tool shed named "${host}". ------------------------------------------------------------------------------ +Revision: ${revision} +Change description: +${description} Repository name: ${repository_name} +Uploaded by: ${username} Date content uploaded: ${display_date} -Uploaded by: ${username} - -Revision: ${revision} -Change description: -${description} ${content_alert_str} ----------------------------------------------------------------------------- This change alert was sent from the Galaxy tool shed hosted on the server "${host}" +----------------------------------------------------------------------------- +You received this alert because you registered to receive email when +new repositories were created in the Galaxy tool shed named "${host}". +----------------------------------------------------------------------------- """ email_alert_template = """ @@ -497,7 +495,8 @@ admin_users = trans.app.config.get( "admin_users", "" ).split( "," ) frm = email_from if new_repo_alert: - subject = "New Galaxy tool shed repository alert" + subject = "Galaxy tool shed alert for new repository named %s" % str( repository.name ) + subject = subject[ :80 ] email_alerts = [] for user in trans.sa_session.query( trans.model.User ) \ .filter( and_( trans.model.User.table.c.deleted == False, Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.