]> git.ipfire.org Git - thirdparty/babel.git/commit
extraction: Babel now supports extraction by filename as well as by dir 324/head
authorEoin Nugent <eoin@yelp.com>
Mon, 11 Jan 2016 22:43:58 +0000 (14:43 -0800)
committerEoin Nugent <eoin@yelp.com>
Thu, 14 Jan 2016 18:11:12 +0000 (10:11 -0800)
commit19957e21470615d42fb7b6e2c1a580cd679d33c8
tree42a968f217db5a7d2ba6bd86d1dc6861634feef8
parenta4cd0e37900d413b02ddb6789358fb54c71d0261
extraction: Babel now supports extraction by filename as well as by dir

One can now supply a filename or a directory to be extracted. For
large codebases, this allows the consumer to optimize their
string extraction process by, for instance, only supplying the
files that have actually been changed on the given dev's branch
compared to master.

Relates to https://github.com/python-babel/babel/issues/253 . I
don't want to say "fixes", but makes further optimization
unnecessary for most use cases.
babel/messages/extract.py
babel/messages/frontend.py [changed mode: 0755->0644]
tests/messages/test_frontend.py