mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-28 20:22:24 -05:00
commented out diff URL
This commit is contained in:
parent
fdaf2c4913
commit
7074a5f158
15
announce.py
15
announce.py
@ -6,8 +6,7 @@
|
|||||||
# Last Modified: 2006-10-03
|
# Last Modified: 2006-10-03
|
||||||
# Author: Peter Saint-Andre (stpeter@jabber.org)
|
# Author: Peter Saint-Andre (stpeter@jabber.org)
|
||||||
# License: public domain
|
# License: public domain
|
||||||
# HowTo: ./announce.py xepnum 'diffsurl'
|
# HowTo: ./announce.py xepnum
|
||||||
# NOTE: the diffsurl MUST be in quotes!
|
|
||||||
|
|
||||||
## LICENSE ##
|
## LICENSE ##
|
||||||
#
|
#
|
||||||
@ -58,10 +57,10 @@ now = int(time.time())
|
|||||||
# READ IN ARGS:
|
# READ IN ARGS:
|
||||||
#
|
#
|
||||||
# 1. XEP number
|
# 1. XEP number
|
||||||
# 2. URL for source control diffs
|
# 2. URL for source control diffs ### no longer in use
|
||||||
|
|
||||||
xepnum = sys.argv[1];
|
xepnum = sys.argv[1];
|
||||||
diffs = sys.argv[2];
|
#diffs = sys.argv[2]; ### no longer in use
|
||||||
|
|
||||||
xepfile = 'xep-' + xepnum + '.xml'
|
xepfile = 'xep-' + xepnum + '.xml'
|
||||||
|
|
||||||
@ -129,7 +128,7 @@ elif (xepstatus == "Deferred"):
|
|||||||
# Version $version of XEP-$xepnum ($title) is now available.
|
# Version $version of XEP-$xepnum ($title) is now available.
|
||||||
# Abstract: $abstract
|
# Abstract: $abstract
|
||||||
# Changelog: $remark ($initials)
|
# Changelog: $remark ($initials)
|
||||||
# CVS Diff: $diffs
|
# Diff: $diffs ### no longer in use
|
||||||
# URL: http://xmpp.org/extensions/xep-$xepnum.html
|
# URL: http://xmpp.org/extensions/xep-$xepnum.html
|
||||||
|
|
||||||
fromaddr = "editor@xmpp.org"
|
fromaddr = "editor@xmpp.org"
|
||||||
@ -159,7 +158,7 @@ thesubject = thesubject + xepnum + ' (' + title + ')'
|
|||||||
versionline = 'Version ' + version + ' of XEP-' + xepnum + ' (' + title + ') has been released.'
|
versionline = 'Version ' + version + ' of XEP-' + xepnum + ' (' + title + ') has been released.'
|
||||||
abstractline = 'Abstract: ' + abstract
|
abstractline = 'Abstract: ' + abstract
|
||||||
changelogline = 'Changelog: ' + remark + ' (' + initials + ')'
|
changelogline = 'Changelog: ' + remark + ' (' + initials + ')'
|
||||||
diffsline = 'Diff: ' + diffs
|
# diffsline = 'Diff: ' + diffs ### no longer in use
|
||||||
urlline = 'URL: http://xmpp.org/extensions/xep-' + xepnum + '.html'
|
urlline = 'URL: http://xmpp.org/extensions/xep-' + xepnum + '.html'
|
||||||
|
|
||||||
msg = "From: XMPP Extensions Editor <%s>\r\n" % fromaddr
|
msg = "From: XMPP Extensions Editor <%s>\r\n" % fromaddr
|
||||||
@ -171,8 +170,8 @@ msg = msg + abstractline
|
|||||||
msg = msg + "\r\n\n"
|
msg = msg + "\r\n\n"
|
||||||
msg = msg + changelogline
|
msg = msg + changelogline
|
||||||
msg = msg + "\r\n\n"
|
msg = msg + "\r\n\n"
|
||||||
msg = msg + diffsline
|
#msg = msg + diffsline
|
||||||
msg = msg + "\r\n\n"
|
#msg = msg + "\r\n\n"
|
||||||
msg = msg + urlline
|
msg = msg + urlline
|
||||||
msg = msg + "\r\n\n"
|
msg = msg + "\r\n\n"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user