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

+ Del extra spaces, import os.path as osp

@ankostis

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...

This was referenced

Oct 1, 2016

@ankostis

+ 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.

@ankostis

@ankostis

+ Some cases had restructuring of code.

This was referenced

Oct 1, 2016

This was referenced

Oct 11, 2016