← 输入框|github.com|刷新
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1065 commits
Select commit Hold shift + click to select a range
075a664
fix: join backslash line continuations when reading config values
Sep 3, 2026
60dd946
fix: ignore continuation markers in config comments
Byron Sep 4, 2026
a15f791
fix: parse joined config values as a whole
Byron Sep 4, 2026
9ebf8b6
Merge pull request #2227 from nkbeast/fix-config-backslash-continuation
Byron Sep 4, 2026
b754897
test: cover subdirectory discovery and pathspec commands in bare-repo…
christianvuerings Sep 6, 2026
10ec385
get better commit messages from agents
Byron Sep 7, 2026
db47516
prepare new release
Byron Sep 7, 2026
41c3954
Merge pull request #2228 from christianvuerings/test-bare-worktree-su…
Byron Sep 7, 2026
5fd795a
Read git's yes/no and on/off booleans in get_value
rawsun007 Sep 7, 2026
297cd26
review
Byron Sep 7, 2026
b62e91b
Merge pull request #2229 from rawsun007/get-value-boolean-spellings
Byron Sep 7, 2026
6bcb25b
Clarify detached HEAD access and attach writable test fixtures (#2230)
Byron Sep 9, 2026
4905b4a
Merge pull request #2231 from gitpython-developers/detached-head
Byron Sep 10, 2026
24b6f95
fix: Reject submodule move destinations through intermediate symlinks
Byron Sep 10, 2026
43a43cd
fix: Validate submodule checkout and metadata paths before mutation
Byron Sep 10, 2026
2bfd829
fix: Preserve submodule paths and release checkout handles on Windows
Byron Sep 10, 2026
415c211
test: Simplify submodule path simulation and verify metadata removal
Byron Sep 10, 2026
958002b
test: Disable automatic maintenance in remote timeout tests
Byron Sep 10, 2026
e9e271b
fix: Clone into dangling submodule metadata symlink targets on Windows
Byron Sep 10, 2026
2aca177
test: Pass strings to readlink for Windows Python 3.7
Byron Sep 10, 2026
fb7e089
Merge pull request #2232 from gitpython-developers/fix-submodule-move
Byron Sep 10, 2026
8da6508
fix: validate checkout positional reference options
Byron Sep 10, 2026
dcb6b14
Merge pull request #2233 from gitpython-developers/clone-check-head-ref
Byron Sep 10, 2026
fa93137
Fix timeout child-process lookup on non-GNU systems
aprylewu Sep 12, 2026
d66edad
Correct public API typing and add portable runtime checks
Byron Sep 13, 2026
a9913c7
Merge pull request #2236 from aprylewu/codex-fix-portable-timeout-chi…
Byron Sep 13, 2026
2229668
fix: preserve implicit boolean config keys (#2237)
Byron Sep 13, 2026
d171e34
Merge pull request #2238 from gitpython-developers/read-implicit-bool
Byron Sep 13, 2026
2d4f068
fix: reject comments after implicit boolean config keys
Byron Sep 13, 2026
696e1cb
Merge pull request #2239 from gitpython-developers/2238-follow-up
Byron Sep 13, 2026
fb8a0bd
fix: match Git config names case-insensitively (#2240)
Byron Sep 14, 2026
92dfd89
Merge pull request #2241 from gitpython-developers/case-insensitive-g…
Byron Sep 14, 2026
b7d8f1a
Move project metadata to pyproject.toml
mwtoews Sep 16, 2026
7609492
Merge pull request #2242 from mwtoews/pyproject-toml
Byron Sep 16, 2026
9e54de4
Move [doc] extra to a PEP 735 dependency group; add uv-sync CI check
mwtoews Sep 16, 2026
6b63633
review
Byron Sep 17, 2026
cf43820
Merge pull request #2243 from mwtoews/uv-sync
Byron Sep 17, 2026
452878f
fix: strip inline config comments the way git does
rawsun007 Sep 17, 2026
7b26b6d
Drop Python 3.7
mwtoews Sep 16, 2026
258a884
review
Byron Sep 20, 2026
02063ad
review
Byron Sep 20, 2026
847e1c5
Merge pull request #2245 from rawsun007/inline-comment-stripping
Byron Sep 20, 2026
790bb31
fix(remote): reject option-shaped pull operands
Byron Sep 20, 2026
583ecaa
Merge pull request #2246 from mwtoews/drop-py37
Byron Sep 20, 2026
03b5db2
fix(refs): keep branch and tag operands out of option parsing
Byron Sep 20, 2026
0d8d845
fix(index): preserve path operands when moving and checking ignores
Byron Sep 20, 2026
edcd66f
fix(remote): reject option-shaped update targets
Byron Sep 20, 2026
dafafff
Merge pull request #2247 from gitpython-developers/pos-arg-sanitization
Byron Sep 20, 2026
738e940
feat(submodule): option to update without fetching
jeffro256 Sep 17, 2026
a83262b
review
Byron Sep 20, 2026
ef7a651
Merge pull request #2244 from jeffro256/submodule_update_no_fetch
Byron Sep 20, 2026
ce2093b
bump minor version to indicate drop of python 3.7 support
Byron Sep 20, 2026
303c48f
Merge pull request #2248 from gitpython-developers/bump-minor
Byron Sep 20, 2026
1461c35
fix: skip a UTF-8 BOM when reading config files
geek-alpha Sep 21, 2026
a54d159
Merge pull request #2249 from geek-alpha/config-utf8-bom
Byron Sep 21, 2026
9ad28cc
fix: complete safety checks in Git command wrappers
Byron Sep 26, 2026
73a72c9
Merge pull request #2251 from gitpython-developers/arg-bypass
Byron Sep 27, 2026
5ed379a
build(deps): bump astral-sh/setup-uv from 10.1.0 to 10.2.0
dependabot[bot] Sep 27, 2026
153cc76
Merge pull request #2252 from gitpython-developers/dependabot/github_…
EliahKagan Sep 27, 2026
8290c98
fix: bound actor and date parsing
Byron Sep 27, 2026
71b9545
Merge pull request #2253 from gitpython-developers/fix-regex
Byron Sep 27, 2026
9349ff5
fix(repo): preserve literal separate Git directory paths
Byron Sep 28, 2026
93f1192
Merge pull request #2255 from gitpython-developers/fix-polish-url
Byron Sep 28, 2026
6bf77c0
fix: validate size lookups and preserve binary SHAs (#2254)
Byron Sep 28, 2026
3c638d2
Merge pull request #2256 from gitpython-developers/better-binsha-checks
Byron Sep 28, 2026
07e9720
fix(commit): bound co_authors trailer parsing
Keerthana-64 Sep 29, 2026
f8776ee
Merge pull request #2257 from Keerthana-64/co-authors-bound-parsing
Byron Sep 29, 2026
0b64501
refactor(db): deprecate the pure-Python `GitDB` backend
codex Sep 29, 2026
3ca35bf
fix(repo): delegate revision message searches to Git
codex Sep 29, 2026
c99207e
fix(refs): bound symbolic reference resolution and updates
codex Sep 29, 2026
9e8c85e
fix(cmd): reject the alternate `ext://` helper selector
codex Sep 29, 2026
428d205
fix(repo): validate rendered archive remote options
codex Sep 29, 2026
a75aedf
fix(index): validate paths at native index boundaries
codex Sep 29, 2026
d1576c4
fix(tree): validate entry names and record boundaries
codex Sep 29, 2026
f2dfa9f
fix(index): confine staging reads to worktree files
codex Sep 29, 2026
cc02e45
ci: remove `codespell` checks and configuration
codex Sep 30, 2026
2235723
fix(config): bound option-line parsing
Keerthana-64 Sep 30, 2026
1a2117c
fix(remote): validate protocols in rendered transport arguments
codex Sep 30, 2026
a3e1ea4
Merge pull request #2258 from gitpython-developers/sec-audit
Byron Sep 30, 2026
25a1a69
Merge pull request #2259 from radhika1314/config-option-line-bound
Byron Sep 30, 2026
6a7180a
prepare for next release, v3.2
Byron Sep 30, 2026
2d7f566
Merge pull request #2260 from gitpython-developers/new-release
Byron Sep 30, 2026
62266da
objects: decode a byte mode before reading its digits
SashaMIT Oct 1, 2026
bda18e0
Merge pull request #2261 from SashaMIT/decode-byte-mode
Byron Oct 1, 2026
f24ed41
build(deps): bump https://github.com/astral-sh/ruff-pre-commit
dependabot[bot] Oct 1, 2026
6fe40b7
Merge pull request #2263 from gitpython-developers/dependabot/pre_com…
Byron Oct 1, 2026
97eadb8
fix(submodule): validate destinations before mutation
Byron Oct 1, 2026
b0ae041
fix(util): create lock files in one exclusive step
Keerthana-64 Oct 2, 2026
f3ee6d4
Merge pull request #2264 from gitpython-developers/submodule-destinat…
Byron Oct 2, 2026
97a5468
fix(util): acquire Windows locks without following symlinks
Byron Oct 2, 2026
6306c5c
Merge pull request #2267 from radhika1314/lock-file-exclusive-create
Byron Oct 2, 2026
226654a
fix(commit): accumulate gpgsig continuation lines in linear time
Keerthana-64 Oct 2, 2026
5fc5f34
review
Byron Oct 3, 2026
574aec2
Merge pull request #2268 from Keerthana-64/gpgsig-linear-parse
Byron Oct 3, 2026
6795806
fix(index): accept a single PathLike in checkout
kokotatan Oct 3, 2026
6fdfa31
fix(util): redact URL credentials without corrupting the host
yunaremaia Oct 5, 2026
0f89e36
review
Byron Oct 5, 2026
ae00cd2
Merge pull request #2269 from kokotatan/fix-index-checkout-pathlike
Byron Oct 5, 2026
4f0f54d
Merge pull request #2270 from yunaremaia/fix-redact-url-credentials
Byron Oct 5, 2026
fbbecc6
fix(commit): reject identity fields that alter commit headers
Keerthana-64 Oct 5, 2026
af9ec3e
change line for changelogs
Oct 5, 2026
b5d6a79
Merge pull request #2272 from CrowZhen/main
Byron Oct 5, 2026
5ba236e
fix: stop stalled remote commands when their timeout expires (#2276)
Byron Oct 7, 2026
f6a043a
Merge pull request #2271 from Keerthana-64/commit-identity-headers
Byron Oct 8, 2026
1af7ce6
Merge pull request #2277 from gitpython-developers/kill-all-proper
Byron Oct 8, 2026
999c765
fix(util): reject symbolic links that alias `.gitmodules`
Keerthana-64 Oct 8, 2026
9f56080
review
Byron Oct 9, 2026
f9e74ab
Merge pull request #2278 from Keerthana-64/gitmodules-symlink-entries
Byron Oct 9, 2026
6c99e04
fix: send one object name or path per git stdin record
Keerthana-64 Oct 9, 2026
3a35778
review
Byron Oct 10, 2026
804bc80
Merge pull request #2279 from Keerthana-64/stdin-record-framing
Byron Oct 10, 2026
3e9611b
fix(stats): preserve whitespace in filenames
v1shay Oct 11, 2026
963ca1c
test(stats): avoid normalizing fixture paths on Windows
v1shay Oct 11, 2026
04fa56f
fix(config): preserve exact large integer values
xiehuanyi Oct 11, 2026
fa45526
fix: resolve IterableList names independently of list attributes
FanWu-ai Oct 11, 2026
e296473
Merge pull request #2280 from v1shay/fix/stats-filename-spaces
Byron Oct 12, 2026
010f6ab
Merge pull request #2281 from xiehuanyi/fix-config-integer-precision-…
Byron Oct 14, 2026
d940ee7
Merge pull request #2283 from FanWu-ai/fix-iterable-list-name-collisi…
Byron Oct 14, 2026
76150aa
fix(util): wait for contended locks with relative filenames
FanWu-ai Oct 11, 2026
3b9bb6d
review
Byron Oct 14, 2026
109017e
Merge pull request #2284 from gitpython-developers/fix-relative-block…
Byron Oct 14, 2026
c179357
prepare changelog prior to release
Byron Oct 14, 2026
6eedd2c
Merge pull request #2285 from gitpython-developers/new-release
Byron Oct 14, 2026
b145459
fix(commit): parse the `encoding` header when deserializing
Keerthana-64 Oct 14, 2026
2c9b9a9
review
Byron Oct 15, 2026
563cb1f
Merge pull request #2286 from Keerthana-64/commit-encoding-header
Byron Oct 15, 2026
e264eaf
fix(index): pass a Windows hook outside the work tree by absolute path
6801318d8d Oct 15, 2026
833c8d8
fix(submodule): resolve relative submodule URLs the way git does
Keerthana-64 Oct 16, 2026
108935d
Merge pull request #2288 from 6801318d8d/fix/windows-hook-path-across…
Byron Oct 16, 2026
add9920
fix(tag): split tag object headers at line feeds only
Keerthana-64 Oct 16, 2026
c6cb407
Merge pull request #2290 from Keerthana-64/tag-header-line-feeds
Byron Oct 17, 2026
0a5938d
review
Byron Oct 16, 2026
28ab8fb
Merge pull request #2289 from Keerthana-64/submodule-relative-url
Byron Oct 17, 2026
7582674
Make de api reference reproducible
eamanu Oct 17, 2026
a3241fa
Fix autodoc_default_options in conf.py
eamanu Oct 17, 2026
d8c0e7b
fix(diff): read raw diff records field by field
Keerthana-64 Oct 17, 2026
2a176d9
Fix typo in documentation comment
eamanu Oct 17, 2026
53df596
review
Byron Oct 18, 2026
f6ac084
Merge pull request #2292 from Keerthana-64/diff-raw-record-fields
Byron Oct 18, 2026
bae0c2f
Merge pull request #2291 from eamanu/make-doc-reproducible
Byron Oct 18, 2026
ffefd4f
build(deps): bump astral-sh/setup-uv from 10.2.0 to 10.3.0
dependabot[bot] Oct 18, 2026
feda241
build(deps): bump Vampire/setup-wsl from 7.0.0 to 7.2.0
dependabot[bot] Oct 18, 2026
cf2da1c
Merge pull request #2294 from gitpython-developers/dependabot/github_…
Byron Oct 18, 2026
9d3aff0
Merge pull request #2293 from gitpython-developers/dependabot/github_…
Byron Oct 18, 2026
c7ce984
fix(diff): read patch header paths the way git apply does
Keerthana-64 Oct 18, 2026
983e182
fix(config): decode escapes in unquoted config values
JingHao-Leon Oct 19, 2026
221defb
fix(repo): unquote `git check-ignore` paths in `Repo.ignored`
Keerthana-64 Oct 20, 2026
6c4cd6a
fix(util): redact URL credentials in config values on the command line
Keerthana-64 Oct 21, 2026
de50b14
review
Byron Oct 21, 2026
22f137d
review
Byron Oct 21, 2026
6d81c05
Steer agents aware from the issue + PR combo
Byron Oct 21, 2026
22f873c
Merge pull request #2295 from Keerthana-64/diff-patch-header-paths
Byron Oct 21, 2026
a3b2f15
Merge pull request #2298 from Keerthana-64/repo-ignored-nul-paths
Byron Oct 21, 2026
e5b960a
Merge pull request #2297 from JingHao-Leon/fix/config-unquoted-escape…
Byron Oct 21, 2026
f89c343
review
Byron Oct 21, 2026
6747637
fix(repo): split `git blame` porcelain output at line feeds only
Keerthana-64 Oct 22, 2026
9658d0f
Merge pull request #2300 from Keerthana-64/blame-porcelain-line-feeds
Byron Oct 22, 2026
ccc4811
Merge pull request #2299 from Keerthana-64/redact-config-url-credentials
Byron Oct 22, 2026
212573b
feat!: delegate repository storage to Git and Gix
codex Oct 1, 2026
2678cc6
fix(index): restore read-only `entries` compatibility
codex Oct 22, 2026
7f40e17
fix(cmd): honor global `-C` checkout selection
codex Oct 22, 2026
9ee11e3
fix(repo): retain checkout context for separate Git directories
codex Oct 22, 2026
e873292
fix(odb): restore the legacy `GitDB` backend selector
codex Oct 22, 2026
c27b83f
fix(refs): resolve locally tracked branches through Git
codex Oct 22, 2026
ff4480e
fix(repo): retain revision tree context and path errors
codex Oct 22, 2026
0426a46
fix(repo): accept the explicit literal-path constructor option
codex Oct 22, 2026
b361e74
fix: expose the release version in editable imports
codex Oct 22, 2026
cb7923c
fix: retain the typing Union compatibility import
codex Oct 22, 2026
34889fc
fix(build): keep editable version fallback out of wheels
codex Oct 22, 2026
210da55
fix(config): restore nonempty section mapping assignment
codex Oct 22, 2026
f606f28
fix: retain the typing Optional compatibility import
codex Oct 22, 2026
00eb12d
test(repo): cover Unicode and escaped untracked paths
codex Oct 24, 2026
f7cb262
fix(stats): preserve Unicode line separators in filenames
codex Oct 24, 2026
37237cc
test(config): port home include and inline header regressions
codex Oct 24, 2026
6492e1b
test(commit): port whitespace header regression against Git
codex Oct 24, 2026
cd22bfc
fix(submodule): apply Git transport policy to recorded URLs
codex Oct 24, 2026
b44be6d
fix(submodule): check transport policy before replacing a remote
codex Oct 24, 2026
0709904
fix(index): check repository ownership before commit hooks
codex Oct 24, 2026
35eccc5
docs: record compatibility audits of 115 GitPython dependents
codex Oct 22, 2026
07b2eae
docs: explain GixPython backend activation and requirements
codex Oct 24, 2026
f1fb0bd
Merge pull request #2274 from gitpython-developers/gix-backend
Byron Oct 24, 2026
348ff73
ci: run Python 3.8 and 3.9 jobs on `ubuntu-24.04`
EliahKagan Oct 25, 2026
b63cce0
ci: pin all actions to full commit hashes
EliahKagan Oct 25, 2026
44edd08
ci(dependabot): remove obsolete `enable-beta-ecosystems`
EliahKagan Oct 25, 2026
86bd1bf
ci(dependabot): wait 7 days before proposing new versions
EliahKagan Oct 25, 2026
6bceffa
ci(dependabot): check for action updates monthly
EliahKagan Oct 25, 2026
c38f750
ci(dependabot): group GitHub Actions updates into one pull request
EliahKagan Oct 25, 2026
3d3fba9
ci: scan workflows with zizmor at the `pedantic` level
EliahKagan Oct 25, 2026
63f42c9
ci: stop `actions/checkout` from persisting credentials
EliahKagan Oct 25, 2026
f130dd3
ci: fail if any `actions/checkout` step persists credentials
EliahKagan Oct 25, 2026
e2d19ac
ci(codeql): set empty workflow permissions and document the job's
EliahKagan Oct 25, 2026
7a7c288
ci: pass matrix values to shell scripts through the environment
EliahKagan Oct 25, 2026
5f44b7e
ci: run the `uv-sync` job on `ubuntu-slim`
EliahKagan Oct 25, 2026
a938d65
ci: remove dead Python 3.8 condition from the mypy step
EliahKagan Oct 25, 2026
3513562
Merge pull request #2310 from EliahKagan/claude/ci-ubuntu-26-old-pyth…
EliahKagan Oct 25, 2026
b6b7f37
build(deps): bump https://github.com/astral-sh/ruff-pre-commit
dependabot[bot] Oct 25, 2026
b1bc815
docs(tree): clarify supported cache editing behavior (#1771)
codex Oct 25, 2026
ee2cd6f
docs: render supported subclass interface docstrings (#1848)
codex Oct 25, 2026
a28ad51
fix(diff): preserve legacy filename bytes in staged diffs (#2030)
codex Oct 25, 2026
70d2fd5
fix(refs): preserve non-UTF-8 names at native API boundaries (#2064)
codex Oct 25, 2026
390fe8b
docs(repo): demonstrate closing repositories before deletion (#2101)
codex Oct 25, 2026
932032b
test: respect Windows argument encoding in packed-tag regressions
codex Oct 25, 2026
098db6b
test(gix): record Windows byte-reference lookup fallback
codex Oct 25, 2026
d697e50
fix(tag): address missing tagger review feedback
codex Oct 25, 2026
348ebbe
fix(tree): address partial cache review feedback
codex Oct 25, 2026
4dc547c
fix(refs): address literal branch rename review feedback
codex Oct 25, 2026
3b1eb07
docs: align documentation with released behavior
codex Oct 25, 2026
64e169c
refactor(gix): open fresh repository state for each operation
codex Oct 25, 2026
b195d86
fix(diff): preserve bytes in text paths and rename metadata
codex Oct 25, 2026
037710e
fix(index): preserve undecodable symlink target bytes
codex Oct 25, 2026
45df03a
fix(tree): order cached entries by filename bytes
codex Oct 25, 2026
072a6b4
fix(config): preserve bytes in subsection names and values
codex Oct 25, 2026
c21f308
fix(gix): preserve bytes in native submodule configuration values
codex Oct 25, 2026
bafa167
fix(stats): return filenames instead of Git-quoted spellings
codex Oct 25, 2026
35fa001
fix(refs): preserve Unicode whitespace in command records
codex Oct 25, 2026
5cbdf76
fix(gix): pass filename byte patterns to status and directory walks
codex Oct 25, 2026
f5ca4a5
fix(cmd): preserve bytes in streamed output and diagnostics
codex Oct 25, 2026
21d80db
build(deps): bump astral-sh/setup-uv
dependabot[bot] Oct 25, 2026
8e763a7
Merge pull request #2308 from gitpython-developers/tuning
Byron Oct 25, 2026
42d57aa
Merge pull request #2311 from gitpython-developers/dependabot/pre_com…
EliahKagan Oct 25, 2026
4debc51
Merge pull request #2312 from gitpython-developers/dependabot/github_…
EliahKagan Oct 25, 2026
b911984
fix(repo): return actual historical paths from incremental blame
Byron Oct 27, 2026
874d8d9
test(repo): show complete incremental blame path failures
codex Oct 27, 2026
bb378dd
test(repo): preserve carriage returns in blame fixtures
codex Oct 27, 2026
8596f2e
fix(refs): keep missing references from resolving to lookalike tags
Byron Oct 27, 2026
b03c608
docs: require underlying motivation in agent-created PRs
codex Oct 27, 2026
75e2cb9
Merge pull request #2315 from gitpython-developers/2314-supersede
Byron Oct 27, 2026
d400a1d
test: exclude fixture paths from credential redaction assertions
codex Oct 27, 2026
cfb222f
Merge pull request #2316 from gitpython-developers/2313-supersede
Byron Oct 27, 2026
f5335a3
fix(util): preserve separators before relative path tokens
gavenren Oct 28, 2026
19a61cd
fix(tree): support slices and reverse iteration
gavenren Oct 28, 2026
04cd8a1
fix: format float timezone offsets as integer fields
gavenren Oct 28, 2026
97f8882
Merge pull request #2319 from gavenren/fix/join-path-leading-separators
Byron Oct 29, 2026
ec12459
Merge pull request #2323 from gavenren/fix/timezone-float-formatting
Byron Oct 29, 2026
1268b32
fix: accept current-directory files in parent assurance
gavenren Oct 28, 2026
afbbabf
review
Byron Oct 29, 2026
0cfaa00
fix: support index protocol in IterableList lookups
gavenren Oct 28, 2026
451a526
review
Byron Oct 29, 2026
e347d11
Merge pull request #2325 from gitpython-developers/fix/current-direct…
Byron Oct 29, 2026
604f181
Merge pull request #2326 from gitpython-developers/fix/iterable-list-…
Byron Oct 29, 2026
44ad498
Merge pull request #2320 from gavenren/fix/tree-sequence-access
Byron Oct 29, 2026
e313258
fix: copy stream data through short reads
gavenren Oct 28, 2026
eb613ec
review
Byron Oct 29, 2026
38992bc
Merge pull request #2327 from gitpython-developers/fix/stream-copy-sh…
Byron Oct 29, 2026
d74c104
test(util): cover `rmfile` deleting a read-only file
EliahKagan Oct 30, 2026
53f3c62
refactor(util): clear read-only in `rmfile` with `stat.S_IWUSR`
EliahKagan Oct 30, 2026
50d88aa
Merge pull request #2328 from EliahKagan/claude/rmfile-chmod-owner-write
EliahKagan Oct 30, 2026
ef120d7
fix(index): remove entries, blobs and submodules by literal path
Keerthana-64 Oct 29, 2026
ad0420e
Merge pull request #2329 from Keerthana-64/index-remove-literal-paths
Byron Oct 31, 2026
343ea77
fix(docs): correct duplicated words in submodule and util docstrings
Jah-yee Oct 31, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
298 changes: 298 additions & 0 deletions .basedpyright/baseline.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,298 @@
{
"files": {
"./git/config.py": [
{
"code": "reportInvalidTypeVarUse",
"range": {
"startColumn": 43,
"endColumn": 45,
"lineCount": 1
}
}
],
"./git/index/base.py": [
{
"code": "reportArgumentType",
"range": {
"startColumn": 51,
"endColumn": 57,
"lineCount": 1
}
},
{
"code": "reportArgumentType",
"range": {
"startColumn": 55,
"endColumn": 61,
"lineCount": 1
}
},
{
"code": "reportIncompatibleMethodOverride",
"range": {
"startColumn": 8,
"endColumn": 12,
"lineCount": 1
}
},
{
"code": "reportAssignmentType",
"range": {
"startColumn": 20,
"endColumn": 46,
"lineCount": 1
}
}
],
"./git/objects/blob.py": [
{
"code": "reportIncompatibleVariableOverride",
"range": {
"startColumn": 4,
"endColumn": 8,
"lineCount": 1
}
}
],
"./git/objects/commit.py": [
{
"code": "reportIncompatibleVariableOverride",
"range": {
"startColumn": 4,
"endColumn": 8,
"lineCount": 1
}
},
{
"code": "reportIncompatibleMethodOverride",
"range": {
"startColumn": 8,
"endColumn": 31,
"lineCount": 1
}
},
{
"code": "reportArgumentType",
"range": {
"startColumn": 20,
"endColumn": 33,
"lineCount": 1
}
},
{
"code": "reportArgumentType",
"range": {
"startColumn": 20,
"endColumn": 30,
"lineCount": 1
}
}
],
"./git/objects/submodule/base.py": [
{
"code": "reportAttributeAccessIssue",
"range": {
"startColumn": 19,
"endColumn": 24,
"lineCount": 1
}
},
{
"code": "reportAttributeAccessIssue",
"range": {
"startColumn": 19,
"endColumn": 24,
"lineCount": 1
}
},
{
"code": "reportReturnType",
"range": {
"startColumn": 23,
"endColumn": 25,
"lineCount": 1
}
},
{
"code": "reportReturnType",
"range": {
"startColumn": 23,
"endColumn": 25,
"lineCount": 1
}
}
],
"./git/objects/tag.py": [
{
"code": "reportIncompatibleVariableOverride",
"range": {
"startColumn": 4,
"endColumn": 8,
"lineCount": 1
}
}
],
"./git/objects/tree.py": [
{
"code": "reportIncompatibleVariableOverride",
"range": {
"startColumn": 4,
"endColumn": 8,
"lineCount": 1
}
},
{
"code": "reportIncompatibleMethodOverride",
"range": {
"startColumn": 8,
"endColumn": 31,
"lineCount": 1
}
},
{
"code": "reportReturnType",
"range": {
"startColumn": 19,
"endColumn": 83,
"lineCount": 1
}
},
{
"code": "reportReturnType",
"range": {
"startColumn": 15,
"endColumn": 54,
"lineCount": 1
}
}
],
"./git/objects/util.py": [
{
"code": "reportAssignmentType",
"range": {
"startColumn": 23,
"endColumn": 34,
"lineCount": 1
}
},
{
"code": "reportReturnType",
"range": {
"startColumn": 22,
"endColumn": 26,
"lineCount": 1
}
},
{
"code": "reportArgumentType",
"range": {
"startColumn": 30,
"endColumn": 34,
"lineCount": 1
}
},
{
"code": "reportReturnType",
"range": {
"startColumn": 15,
"endColumn": 54,
"lineCount": 1
}
}
],
"./git/refs/reference.py": [
{
"code": "reportIncompatibleVariableOverride",
"range": {
"startColumn": 13,
"endColumn": 17,
"lineCount": 1
}
}
],
"./git/refs/tag.py": [
{
"code": "reportIncompatibleMethodOverride",
"range": {
"startColumn": 8,
"endColumn": 14,
"lineCount": 1
}
},
{
"code": "reportIncompatibleMethodOverride",
"range": {
"startColumn": 8,
"endColumn": 14,
"lineCount": 1
}
}
],
"./git/repo/base.py": [
{
"code": "reportTypedDictNotRequiredAccess",
"range": {
"startColumn": 21,
"endColumn": 31,
"lineCount": 1
}
},
{
"code": "reportTypedDictNotRequiredAccess",
"range": {
"startColumn": 34,
"endColumn": 44,
"lineCount": 1
}
},
{
"code": "reportTypedDictNotRequiredAccess",
"range": {
"startColumn": 65,
"endColumn": 79,
"lineCount": 1
}
},
{
"code": "reportTypedDictNotRequiredAccess",
"range": {
"startColumn": 82,
"endColumn": 102,
"lineCount": 1
}
},
{
"code": "reportTypedDictNotRequiredAccess",
"range": {
"startColumn": 50,
"endColumn": 69,
"lineCount": 1
}
},
{
"code": "reportTypedDictNotRequiredAccess",
"range": {
"startColumn": 68,
"endColumn": 85,
"lineCount": 1
}
},
{
"code": "reportTypedDictNotRequiredAccess",
"range": {
"startColumn": 88,
"endColumn": 111,
"lineCount": 1
}
},
{
"code": "reportTypedDictNotRequiredAccess",
"range": {
"startColumn": 51,
"endColumn": 73,
"lineCount": 1
}
}
]
}
}
15 changes: 8 additions & 7 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
version: 2
enable-beta-ecosystems: true
updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: weekly

- package-ecosystem: gitsubmodule
directory: "/"
schedule:
interval: weekly
interval: monthly
cooldown:
default-days: 7
groups:
github-actions:
patterns: ["*"]

- package-ecosystem: pre-commit
directory: "/"
schedule:
interval: monthly
cooldown:
default-days: 7
groups:
pre-commit:
patterns: ["*"]
18 changes: 9 additions & 9 deletions .github/workflows/alpine-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ permissions:
jobs:
test:
runs-on: ubuntu-latest
env:
GIT_PYTHON_BACKEND: cli

container:
image: alpine:latest
Expand All @@ -23,16 +25,17 @@ jobs:
steps:
- name: Prepare Alpine Linux
run: |
apk add sudo git git-daemon python3 py3-pip py3-virtualenv
echo 'Defaults env_keep += "CI GITHUB_* RUNNER_*"' >/etc/sudoers.d/ci_env
apk add sudo git git-daemon bash rust cargo build-base python3 python3-dev py3-pip py3-virtualenv
echo 'Defaults env_keep += "CI GITHUB_* RUNNER_* GIT_PYTHON_BACKEND"' >/etc/sudoers.d/ci_env
addgroup -g 127 docker
adduser -D -u 1001 runner # TODO: Check if this still works on GHA as intended.
adduser runner docker
shell: sh -exo pipefail {0} # Run this as root, not the "runner" user.

- uses: actions/checkout@v7
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
persist-credentials: false

- name: Set workspace ownership
run: |
Expand Down Expand Up @@ -63,17 +66,14 @@ jobs:
- name: Install project and test dependencies
run: |
. .venv/bin/activate
pip install '.[test]'
pip install ./smmap ./gitdb '.[test]'
python -c 'from gix import testtools'

- name: Show POSIX file ownership
run: |
ls -ld -- \
"$(pwd)" \
"$(pwd)/.git" \
"$(pwd)/git/ext/gitdb" \
"$(pwd)/git/ext/gitdb/.git" \
"$(pwd)/git/ext/gitdb/gitdb/ext/smmap" \
"$(pwd)/git/ext/gitdb/gitdb/ext/smmap/.git" \
"${HOME:?HOME is not set}/.gitconfig" \
2>&1 || true

Expand All @@ -93,7 +93,7 @@ jobs:
command -v git python
git version
python --version
python -c 'import os, sys; print(f"sys.platform={sys.platform!r}, os.name={os.name!r}")'
python -c 'import os, sys; print(f"{sys.platform=}, {os.name=}")'

- name: Test with pytest
run: |
Expand Down
Loading
Loading