GitHubJacksonized

Test project on Windows with motherf*ckin' MINGW git (conda2.7&3.4/cpy-3.5) by ankostis · Pull Request #519 · gitpython-developers/GitPython

@ankostis
ankostis force-pushed the appveyor branch 2 times, most recently from 1774f98 to d773d40 Compare September 25, 2016 16:31
@ankostis
ankostis force-pushed the appveyor branch 3 times, most recently from 5899c59 to d12fdca Compare September 25, 2016 22:01
ankostis added a commit to ankostis/GitPython that referenced this pull request Sep 25, 2016
+ Pump once, so when input larger than `mmap.PAGESIZE`, stream is not
emptied.
ankostis added a commit to ankostis/GitPython that referenced this pull request Sep 25, 2016
+ Pump once, so when input larger than `mmap.PAGESIZE`, stream is not
emptied.
ankostis added a commit to ankostis/GitPython that referenced this pull request Sep 25, 2016
+ Pump once, so when input larger than `mmap.PAGESIZE`, stream is not
emptied.
ankostis added a commit to ankostis/GitPython that referenced this pull request Sep 26, 2016
+ Pump code reads only once streams per `_read_lines_from_fno()`
invocation, so when input larger than `mmap.PAGESIZE`, bytes are
forgotten in the stream.
ankostis added a commit to ankostis/GitPython that referenced this pull request Sep 26, 2016
+ The code in `_read_lines_from_fno()` was reading the stream only once
per invocation, so when input was larger than `mmap.PAGESIZE`, bytes
were forgotten in the stream.
+ Also set deamon-threads.
ankostis added a commit to ankostis/GitPython that referenced this pull request Sep 26, 2016
+ The code in `_read_lines_from_fno()` was reading the stream only once
per invocation, so when input was larger than `mmap.PAGESIZE`, bytes
were forgotten in the stream.
+ Replaced buffer-banging code with iterate-on-file-descriptors.
+ Also set deamon-threads.
ankostis added a commit to ankostis/GitPython that referenced this pull request Sep 26, 2016
+ The code in `_read_lines_from_fno()` was reading the stream only once
per invocation, so when input was larger than `mmap.PAGESIZE`, bytes
were forgotten in the stream.
+ Replaced buffer-building code with iterate-on-file-descriptors.
+ Also set deamon-threads.
ankostis added a commit to ankostis/GitPython that referenced this pull request Sep 26, 2016
ankostis added a commit to ankostis/GitPython that referenced this pull request Sep 26, 2016
+ Extract util-method to delete lock-files, also on Windows (will be
needed by TCs).
+ Modify lock/read-config-file code to ensure files closed.
+ Use `with GitConfigarser()` more systematically in TCs.
+ Clear any locks left hanging from prev Tcs.
+ Util: mark lock-files as SHORT_LIVED; save some SSDs...
+ FIX TestRepo.test_submodule_update():
  + submod: del `.git` file prior overwrite; Windows denied otherwise!
+ FIX TestRepo.test_untracked_files():
  + In the `git add <file>` case, it failed with unicode args on PY2.
Had to
encode them with `locale.getpreferredencoding()` AND use SHELL.
+ cmd: add `shell` into `execute()` kwds, for overriding USE_SHELL per
command.
+ repo: replace blocky `communicate()` in `_clone()` with thread-pumps.
+ test_repo.py: unittestize (almost  all) assertions.
+ Replace open --> with open for index (base and TC).
+ test_index.py: Enabled a dormant assertion.
+ Some cases had restructuring of code.

Originally published at github.com. Every curse word you see was added by the Samuel L. Jacksonizer, a parody site. Not affiliated with Samuel L. Jackson or github.com.