r103507 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r103506‎ | r103507 | r103508 >
Date:20:39, 17 November 2011
Author:reedy
Status:ok
Tags:
Comment:
Don't attempt to diff zips or xmp files
Modified paths:
  • /trunk/tools/make-release/make-release (modified) (history)

Diff [purge]

Index: trunk/tools/make-release/make-release
@@ -174,15 +174,14 @@
175175 dir2 += '/languages/messages'
176176 else:
177177 print "Generating normal patch file..."
178 - excludedExtensions = ['messages', '*.png', '*.jpg', '*.xcf', '*.gif', '*.svg', '*.tiff']
 178+ excludedExtensions = ['messages', '*.png', '*.jpg', '*.xcf', '*.gif', '*.svg', '*.tiff', '*.zip', '*.xmp']
179179 for ext in excludedExtensions:
180180 args.extend(['-x', ext])
181181
182182 args.extend([dir1, dir2])
183183 print ' '.join(args)
184184 diffProc = subprocess.Popen(args, stdout = subprocess.PIPE)
185 - gzipProc = subprocess.Popen(['gzip', '-9'],
186 - stdin = diffProc.stdout, stdout = patchFile)
 185+ gzipProc = subprocess.Popen(['gzip', '-9'], stdin = diffProc.stdout, stdout = patchFile)
187186
188187 diffStatus = diffProc.wait()
189188
@@ -270,7 +269,7 @@
271270 # TODO: Change RELEASE-NOTES to use http://www.mediawiki.org/wiki/Release_notes/
272271 print
273272 print "Full release notes:"
274 - print 'http://svn.wikimedia.org/svnroot/mediawiki/'+branch+'/phase3/RELEASE-NOTES'
 273+ print 'http://svn.wikimedia.org/svnroot/mediawiki/' +branch+ '/phase3/RELEASE-NOTES'
275274 print
276275 print
277276 print '**********************************************************************'

Status & tagging log