mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
basic md5 printing (not used yet); also print release announcements to
2008-03-06 Thomas Thurman <tthurman@gnome.org> * tools/release-wrangler.py: basic md5 printing (not used yet); also print release announcements to stdout (eventually will need to be emailed to release list and blogged) svn path=/trunk/; revision=3625
This commit is contained in:
parent
d1ef896c73
commit
b93a94506b
@ -1,3 +1,9 @@
|
|||||||
|
2008-03-06 Thomas Thurman <tthurman@gnome.org>
|
||||||
|
|
||||||
|
* tools/release-wrangler.py: basic md5 printing (not used yet);
|
||||||
|
also print release announcements to stdout (eventually will
|
||||||
|
need to be emailed to release list and blogged)
|
||||||
|
|
||||||
2008-03-06 Thomas Thurman <tthurman@gnome.org>
|
2008-03-06 Thomas Thurman <tthurman@gnome.org>
|
||||||
|
|
||||||
Part three of the great prefs refactor, this time
|
Part three of the great prefs refactor, this time
|
||||||
|
@ -27,6 +27,7 @@ import re
|
|||||||
import sys
|
import sys
|
||||||
import commands
|
import commands
|
||||||
import time
|
import time
|
||||||
|
import commands
|
||||||
|
|
||||||
def report_error(message):
|
def report_error(message):
|
||||||
print message
|
print message
|
||||||
@ -286,10 +287,13 @@ def edit_news_entry(version):
|
|||||||
|
|
||||||
# Write it out to NEWS
|
# Write it out to NEWS
|
||||||
|
|
||||||
|
version['announcement'] = ''
|
||||||
|
|
||||||
news_tmp = open('NEWS.tmp', 'a')
|
news_tmp = open('NEWS.tmp', 'a')
|
||||||
for line in open(filename, 'r').readlines():
|
for line in open(filename, 'r').readlines():
|
||||||
if line=='' or line[0]!='#':
|
if line=='' or line[0]!='#':
|
||||||
news_tmp.write(line)
|
news_tmp.write(line)
|
||||||
|
version['announcement'] += line
|
||||||
|
|
||||||
for line in open('NEWS').readlines():
|
for line in open('NEWS').readlines():
|
||||||
news_tmp.write(line)
|
news_tmp.write(line)
|
||||||
@ -352,6 +356,9 @@ def tag_the_release(version):
|
|||||||
if os.system("svn cp -m release . svn+ssh://svn.gnome.org/svn/%(name)s/tags/%(ucname)s_%(major)s_%(minor)s_%(micro)s" % (version))!=0:
|
if os.system("svn cp -m release . svn+ssh://svn.gnome.org/svn/%(name)s/tags/%(ucname)s_%(major)s_%(minor)s_%(micro)s" % (version))!=0:
|
||||||
report_error("Could not tag; bailing.")
|
report_error("Could not tag; bailing.")
|
||||||
|
|
||||||
|
def md5s(version):
|
||||||
|
return commands.getstatusoutput('ssh master.gnome.org "cd /ftp/pub/GNOME/sources/%(name)s/%(major)s.%(minor)s/;md5sum $(name)s-%(major)s.%(minor)s.%(micro)s.tar*"' % (version))
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
get_up_to_date()
|
get_up_to_date()
|
||||||
check_we_are_up_to_date()
|
check_we_are_up_to_date()
|
||||||
@ -362,6 +369,7 @@ def main():
|
|||||||
tag_the_release(version)
|
tag_the_release(version)
|
||||||
increment_version(version)
|
increment_version(version)
|
||||||
upload(version)
|
upload(version)
|
||||||
|
print version['announcement']
|
||||||
print "-- Done --"
|
print "-- Done --"
|
||||||
|
|
||||||
if __name__=='__main__':
|
if __name__=='__main__':
|
||||||
|
Loading…
Reference in New Issue
Block a user