summaryrefslogtreecommitdiff
path: root/utils/common/gitscraper.py (follow)
Commit message (Collapse)AuthorAge
* Rework langstat.Dominik Riebeling2013-06-09
| | | | | | | - Generally improve code and make it compliant to PEP8. - Make it work with Python3 as well. Change-Id: I9e99999c59dc501664c36dd38fcb85fb60d6d9e6
* Make the tarball generation tool handle spaces in filenamesFrank Gevaerts2013-03-05
| | | | | | <insert opinion on such filenames here> Change-Id: Ie1b5fac97eea93c9ac934ffb8bf6c0d9a0559339
* Fix a typo.Dominik Riebeling2012-05-14
| | | | Change-Id: I358add5df8971bc3eab4c4cf71d2e792e51979d1
* gitscraper: Provide way to get timestamps for files.Dominik Riebeling2012-04-29
| | | | | | | | | When scraping files from the repository allow passing an additional list of files for which the timestamp of the last change is retrieved. Since this is slow (the log needs to be traversed, since a blob doesn't know about commits its referenced by) only specified files get this retrieved. Change-Id: I61a2ef812ac18ffb5898c01ce070046d4ca00a15
* gitscraper: support Python3.Dominik Riebeling2012-04-22
| | | | | | | Make gitscraper and tarball script work with both Python 2 and Python 3. Tested with 2.7 and 3.2. Change-Id: I31b2580660d764d013bca6fe59d5663ae9f7f5aa
* gitscraper: support compressing the sources as 7z.Dominik Riebeling2012-04-12
| | | | | | | | The Rockbox source code uses 7z for its archive for size reasons. Add support for compressing as 7z (by calling the 7z command line utility) so it can be used for generating Rockbox source archives. Change-Id: I26097ff61ff183e5ddc07b2c4473f90dc0700178
* When writing data from repository open file as binary.Dominik Riebeling2012-02-06
| | | | | | | | Windows requires files to be explicitly opened as binaries, otherwise it will perform line ending translations. We really don't want the OS to mess with that. Change-Id: Id56de354b7ad0e5b056540755f7108456f3263ed
* Python module to get (some) files from the repository.Dominik Riebeling2012-02-05
With git it's not possible to simply export a set of paths from the server directly. This module offers a similar functionality, but requires a local clone of the repository. It calls git directly for maximum portability. This is a prerequisite to making the deployment script used for Rockbox Utility work again. Change-Id: I1aca8ddd40d16b6268c1d6a2fc23ac59e964c3c6