Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: packagerGecko.py

Issue 8627097: Moved Chrome extension scripts to buildtools repository (Closed)
Patch Set: Created Oct. 19, 2012, 10:42 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « packagerChrome.py ('k') | packagerKMeleon.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # coding: utf-8 1 # coding: utf-8
2 2
3 # This Source Code is subject to the terms of the Mozilla Public License 3 # This Source Code is subject to the terms of the Mozilla Public License
4 # version 2.0 (the "License"). You can obtain a copy of the License at 4 # version 2.0 (the "License"). You can obtain a copy of the License at
5 # http://mozilla.org/MPL/2.0/. 5 # http://mozilla.org/MPL/2.0/.
6 6
7 import os, sys, re, subprocess, jinja2, buildtools, codecs, hashlib, base64, shu til, urllib, json 7 import os, sys, re, subprocess, jinja2, buildtools, codecs, hashlib, base64, shu til, urllib, json
8 from ConfigParser import SafeConfigParser 8 from ConfigParser import SafeConfigParser
9 from StringIO import StringIO 9 from StringIO import StringIO
10 from zipfile import ZipFile, ZIP_STORED, ZIP_DEFLATED 10 from zipfile import ZipFile, ZIP_STORED, ZIP_DEFLATED
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 if not 'bootstrap.js' in files: 376 if not 'bootstrap.js' in files:
377 addMissingFiles(baseDir, params, files) 377 addMissingFiles(baseDir, params, files)
378 if keyFile: 378 if keyFile:
379 signFiles(files, keyFile) 379 signFiles(files, keyFile)
380 writeXPI(files, outFile) 380 writeXPI(files, outFile)
381 381
382 def autoInstall(baseDir, host, port, multicompartment=False): 382 def autoInstall(baseDir, host, port, multicompartment=False):
383 fileBuffer = StringIO() 383 fileBuffer = StringIO()
384 createBuild(baseDir, outFile=fileBuffer, multicompartment=multicompartment) 384 createBuild(baseDir, outFile=fileBuffer, multicompartment=multicompartment)
385 urllib.urlopen('http://%s:%s/' % (host, port), data=fileBuffer.getvalue()) 385 urllib.urlopen('http://%s:%s/' % (host, port), data=fileBuffer.getvalue())
OLDNEW
« no previous file with comments | « packagerChrome.py ('k') | packagerKMeleon.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld