← Winnitude! Search  ·  Reader Mode (1130 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 110 LINKS

Start fixing #525 Windows errors by ankostis · Pull Request #530 · gitpython-developers/GitPython

Repository navigation

Start fixing #525 Windows errors - #530


Merged
ankostis merged 8 commits into gitpython-developers:master from ankostis:fixwin Oct 14, 2016
Merged

Start fixing #525 Windows errors #530 ankostis merged 8 commits into gitpython-developers:master from ankostis:fixwin

Conversation

ankostis commented Oct 12, 2016 · edited Loading



Copy link Copy Markdown
Contributor
  • git-daemon:
    • Use git-daemon PORT above 10k; on Windows all below need Admin rights.
    • Used relative daemon-paths with --base-pth.
    • Simplify git-daemon start/stop/ex-hanlding.
      +FIXED git-daemon @with_rw_and_rw_remote_repo():
    • "Polish" most remote & config urls, converting -->/.
    • test_base.test_with_rw_remote_and_rw_repo() PASS.
  • Remote:
    • test_remote: apply polish-urls on _do_test_fetch() checking function.
    • test_remote.test_base() now freezes on Windows! (so still hidden win_err).
      pump fetch-infos instead of GIL-reading stderr.
    • Push-cmd also keep (and optionally raise) any error messages.
  • cmd.handle_process_output() accepts null-finalizer, to pump completely
    stderr before raising any errors.
  • test: Enable TestGit.test_environment() on Windows (to checks stderr
    consumption).
  • util: delete unused absolute_project_path().
  • Control separately freezing TCs on Windows with git.util.HIDE_WINDOWS_FREEZE_ERRORS flag.
ankostis added the tag.Windows label Oct 12, 2016 Byron added the in progress label Oct 12, 2016

codecov-io commented Oct 12, 2016 · edited Loading



Copy link Copy Markdown

Current coverage is 94.87% (diff: 95.34%)

Merging #530 into master will increase coverage by 0.01%

@@             master       #530   diff @@
==========================================
  Files            63         63          
  Lines          9634       9643     +9   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits           9139       9149    +10   
+ Misses          495        494     -1   
  Partials          0          0          

Powered by Codecov . Last update e316575...c8e914e

ankostis force-pushed the fixwin branch 3 times, most recently from c6b0a0a to e6853d5
Compare
October 12, 2016 20:32 ankostis added 4 commits October 12, 2016 23:31 repo, cmd: DROP UNEEDED Win path for chcwd & check for '~' homedir 8ea7e26
+ Do not abspath twice when contructing cloned repo.
+ Add `git.repo.base` logger.
daemon, gitpython-developers#525: FIX remote urls in config-files 4b586fb
+ Parse most remote & config-urls \-->/.
+ Used relative daemon-paths.
+ Use git-daemon PORT above 10k; on Windows all below need Admin rights.
+FIXED git-daemon  @with_rw_and_rw_remote_repo():
  + test_base.test_with_rw_remote_and_rw_repo() PASS.
  + test_remote.test_base() now freezes! (so still hidden win_err)

+ repo_test: minor finally delete test-repos created inside this repo.
+ util: delete unused `absolute_project_path()`.
daemon, gitpython-developers#525: simplify exception handling 0d8269a config, gitpython-developers#525: polish more config-urls 6310480 ankostis force-pushed the fixwin branch from e6853d5 to 53d94bb
Compare
October 12, 2016 21:32 ankostis added 2 commits October 13, 2016 02:03 test, gitpython-developers#525: allow disabling freeze errors separately 8364597
+ cmd: use DEVNULL for non PIPEs; no open-file.
+ TCs: some unitestize-assertions on base & remote TCs.
remote, gitpython-developers#525: pump fetch-infos instead of GIL-rea... 85f38a1
...d stderr

+ `handle_process_output()` accepts null-finalizer, to pump completely
stderr before raising any errors.
+ test: Enable `TestGit.test_environment()` on Windows (to checks stderr
consumption).
ankostis force-pushed the fixwin branch 2 times, most recently from 003b02f to 01751aa
Compare
October 13, 2016 23:04 ankostis changed the title Start fixing some #525 Windows errors Cygwin support & Start fixing #525 Windows errors Oct 14, 2016 remote, gitpython-developers#525: FIX BUG push-cmd misses error messages 5e6827e
+ Bug discovered after enabling TC in prev commit and rework of fetch.
+ remote_tc: unitestize assertions.
+ util: DEL unused `_mktemp()`.
ankostis changed the title Cygwin support & Start fixing #525 Windows errors Start fixing #525 Windows errors Oct 14, 2016 cmd, gitpython-developers#525: Always include stdout+stderr in except... c8e914e
...ions

+ Ignore `with_extended_output` arg when reaising the exception, keep
its behavior when `status==0`.
ankostis force-pushed the fixwin branch from 01751aa to c8e914e
Compare
October 14, 2016 15:33 ankostis merged commit e12ef59 into gitpython-developers : master Oct 14, 2016 Byron removed the in progress label Oct 14, 2016 ankostis deleted the fixwin branch October 14, 2016 15:44 ankostis mentioned this pull request Oct 15, 2016 repo, cmd: DROP UNEEDED Win path for chcwd & check for '~' homedir #529 Closed ankostis modified the milestone: v2.1.0 - proper windows support Oct 15, 2016 ankostis added the tag.leaks label Oct 15, 2016 EliahKagan mentioned this pull request Dec 26, 2023 In handle_process_output don't forward finalizer result #1788 Merged EliahKagan mentioned this pull request Jan 26, 2024 Don't suppress messages when logging is not configured #1813 Merged Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment

Labels

tag.leaks tag.Windows

3 participants