Releases: scivision/gitMC
Releases · scivision/gitMC
bugfix: gitstat missed commit not push
functionalize asyncio.subprocess, improve logic
Timeout individual Git operations instead of overall, allowing one operation to timeout without aborting all other pending operations.
This is especially useful for "git pull" and "git fetch". It's implemented in src/gitutils/git.py:subprocess_asyncio().
The calling async function calls with asyncio.wait_for() to implement and catch the timeout.
gitpull,gitfetch: no prompt default. Python >= 3.9
gitpull,gitfetch: new default of skipping dirs needing password use -p --prompt option to again prompt for password
pyproject.toml only
PEP621: use pyproject.toml only
enhance CI, test connection fetchpull, python >= 3.8 required
v1.10.0 for quality/ease of maint, required python >= 3.8
git{pull,fetch}: print what's changed on remote
require Git >= 2.23 for gitbranch
Older Git makes these mass branch-switching and checking operations cumbersome, so require newer Git for reliability.
git_branch: compatible with old Git
v1.8.2 modernize type anno
gitbranch: multiple default branches
gitbranch: default to ["main", "master"] as defaults
Improve asynchronous, python -m runnable
- Use asyncio more effectively to emit results "as_completed" which is essential for very large numbers of repos
- allow
python -m gitutils.branch
and similar as alternative way to run