# -*- coding: utf-8 -*- # # Copyright (C) 2006, TUBITAK/UEKAE # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # Please read the COPYING file. #e-mail message templates for mailer module.. error_message = """\ From: Pardus Buildfarm <%(mailFrom)s> To: %(mailTo)s Cc: %(ccList)s Subject: [buildfarm] %(type)s: %(subject)s MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="boundary42" --boundary42 Content-Type: text/plain; charset="utf-8" Hello, This message is sent from Pardus buildfarm. Please do not reply as it is automatically generated. An error occured while processing the file '%(pspec)s' (maintainer: '%(recipientName)s'). Error log is as follows: -------------------------------------------------------------------------- %(message)s -------------------------------------------------------------------------- The last 20 lines of the log before the error happens is as follows: -------------------------------------------------------------------------- %(log)s -------------------------------------------------------------------------- Log file: http://paketler.pardus.org.tr/logs/%(packagename)s.log Happy hacking! --boundary42 Content-Type: text/html; charset="utf-8"

Hello,

This message is sent from Pardus buildfarm. Please do not reply as it is automatically generated.

An error occured while processing the file '%(pspec)s' (maintainer: %(recipientName)s). Error log is as follows:

Error log
%(message)s
                

The last 20 lines of the log before the error happens is as follows:

cat "Log file" | tail -n 20
%(log)s
                

Log file: http://paketler.pardus.org.tr/logs/%(packagename)s.log.

Happy hacking!
--boundary42-- """ info_message = """\ From: Pardus Buildfarm <%(mailFrom)s> To: %(mailTo)s Cc: %(ccList)s Subject: [buildfarm] %(subject)s Content-Type: text/plain; charset="utf-8" Hello, This message is sent from Pardus buildfarm. Please do not reply as it is automatically generated. %(message)s Happy hacking! """ sync_message = """\ From: Pardus Buildfarm <%(mailFrom)s> To: %(mailTo)s Cc: %(ccList)s Subject: [buildfarm] Güncellemeler Content-Type: text/plain; charset="utf-8" Hello, %(message)s Happy hacking! """