| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
* lorry.gzip-importer was missing a copyright notice
* Various changes were not included in the copyright dates
|
|
|
|
|
|
|
|
|
|
|
|
| |
gzip and zip files are not in text format, and the file contents
that we send to git may not be either. So:
* Open gzip files in binary mode.
* Open the pipe to 'git fast-import' in binary mode. This requires
using subprocess.Popen instead of os.popen.
* Change printlines functions to encode text in UTF-8.
* Use printlines functions in the remaining places where we need
to write text.
|
|
|
|
|
|
|
| |
Split the top-level code of each script into:
* export: Exports a single file to a 'git fast-import' pipe
* main: Spawns 'git fast-import' and calls export for each file
|
|
|
|
|
|
|
|
| |
Currently these scripts import a bunch of functions into module scope,
which is a bit confusing. Change them to access functions through their
enclosing module names.
In lorry.gzip-importer, hexversion and stderr weren't used at all.
|
|
|
|
|
| |
These scripts were still using print as a statement. Found by
pyflakes.
|
| |
|
|
The new 'gzip' lorry file is practical for any gzipped single file
repositories, this can be useful for some static blob resources,
such as fonts.
Change-Id: I931e15e4c1291d820db82d0fc764aa767d3df9ab
|