File python-GitPython.changes of Package python-GitPython
-------------------------------------------------------------------
Thu Sep 26 20:02:37 UTC 2024 - alarrosa@suse.com
- Update to version 3.1.43.1711872327.5364053:
* bump version to 3.1.43
* Add GitMeta alias
* Test GitMeta alias
* Clarify security risk in USE_SHELL doc and warnings
* update security policy, to use GitHub instead of email
* Make/use test.deprecation.lib; abandon idea to filter by module
* Make test.performance.lib docstring more specific
* Explain the approach in test.deprecation to static checking
* Expand USE_SHELL docstring; clarify a test usage
* Hide `del util` from type checkers
* Add GitPython project top comments to new test modules
* Read USE_SHELL in Git.execute without DeprecationWarning
* Clarify that the private name mangling is intentional
* Keep mypy from thinking Git has arbitrary class attributes
* Have USE_SHELL warn but work like normal via super()
* Implement instance USE_SHELL lookup in __getattr__
* Issue warnings whenever Git.USE_SHELL is accessed
* Fix wrong/unclear grammar in test_instance_dir docstring
* Suppress type errors in restore_use_shell_state _USE_SHELL branches
* Test that Git.execute's own read of USE_SHELL does not warn
* Clarify unittest.mock.patch patchability test docstring
* Add `type: ignore` in test that we can't set USE_SHELL on instances
* Make the restore_use_shell_state fixture more robust
* Test that USE_SHELL is unittest.mock.patch patchable
* Revise test module docstring for clarity
* Discuss metaclass conflicts in test module docstring
* Discuss multiprocessing in test module docstring; remove bad test
* Somewhat clarify multiprocessing misadventure
* Begin multiprocessing misadventure
* Write most remaining Git attribute/deprecation tests
* Make test_use_shell_on_class more robust
* Start on test module about Git.USE_SHELL and Git attributes
* Refine deprecated module attributes and their warnings
* Issue warnings for some deprecated attributes of modules
* Clarify comment about is_<platform> value assertions
* Add test of dir() on git.types
* Clarify test_compat.test_dir
* Expand Lit_commit_ish test name and write docstring
* Explain substring assertions in test_toplevel
* Start on test_types
* Improve description in test module docstrings
* Fix a small docstring typo
* Use names directly on other tests
* Test that top-level aliases point to modules with normal __name__
* Remove old comment meant as todo (that was done)
* Add top-level dir() tests
* Refactor test_compat.test_dir for clarity
* Add static type assertions to is_platform test
* Add test of dir() on git.compat
* Slightly improve docstrings
* Expand to test all three is_<platform> aliases
* Start on test_compat
* Remove extra import "from typing_extensions"
* Fix (and improve wording) of docstrings
* Fix zip calls
* Use typing_extensions only if needed
* Pick a better name for _MODULE_ALIAS_TARGETS
* Tiny import tweak
* Expand and clarify test module docstring
* Add imports so pyright recognizes refs and index
* Finish reorganizing; fix assertion for duplicated messages
* Start reorganizing new tests more in the GitPython style
* Clarify todo
* Fix brittle way of checking warning messages
* Test resolution into git.index.util using git.util
* Fix a test docstring
* Add FIXME for what to do next
* Move mark-sharing tests into a class
* Clarify how test_private_module_aliases is statically checkable
* Add a couple missing assert keywords
* Improve a couple test case docstrings
* Test static typing of private module aliases
* Hoist `import git` to module level in test module
* Expand to test top-level deprecated names
* Test attribute access and importing separately
* Start on top-level module attribute access regression tests
* Annotate basic deprecation tests; have mypy scan it
* Better name and document the basic deprecation test module
* Call repo.close() instead of manually collecting
* Test that subclassing deprecated git.util.Iterable warns
* Use the :exc: Sphinx role for DeprecationWarning
* Test that Traversable.{list_,}traverse, but not overrides, warn
* Have the deprecated Commit.trailers property issue a warning
* Test that the deprecated Commit.trailers property warns
* Extract no-deprecation-warning asserter as a context manager
* Decompose new fixture logic better
* Add a TODO for simplifying the single_diff fixture
* Test that the preferred renamed_file property does not warn
* Fix exception in Popen.__del__ in test on Windows
* Have the deprecated Diff.renamed property issue a warning
* Test that deprecated Diff.renamed property warns
* Clarify how tag objects are usually tree-ish and commit-ish
* Fix slightly unsorted imports in setup.py
* Improve test suite import grouping/sorting, __all__ placement
* Remove modattrs.py and related
* Save diff of non-__all__ attributes across import changes
* Pick a consistent type for __all__ (for now, list)
* Don't explicitly list direct submodules in __all__
* Add missing submodule imports in git.objects
* Further improve git.objects.util module docstring
* Add the nonpublic indirect submodule aliases back for now
* Restore relative order to fix circular import error
* Replace wildcard imports in top-level git module
* Fix a tiny import sorting nit
* Remove unneeded F401 "Unused import" suppressions
* Make F401 "unused import" suppressions more specific
* Improve how second-level imports and __all__ are written
* Remove old commented-out flagKeyLiteral assertions in git.remote
* Remove old commented-out change_type assertions in git.diff
* Improve how imports and __all__ are written in git.util
* Add __all__ and imports in git.objects.submodule
* Make git.objects.util module docstring more specific
* Fix git.objects.__all__ and make submodules explicit
* Don't patch IndexObject and Object into git.objects.submodule.util
* Remove a bit of old commented-out code in git.objects.*
* Improve order of imports and __all__ in git.object.submodule.*
* Improve order of imports and __all__ in git.objects.*
* Add git.repo.__all__ and make submodules explicit
* Improve order of imports and __all__ in git.repo submodules
* Replace wildcard imports in git.refs
* Improve order of imports and __all__ in git.refs submodules
* Improve relative order of import groups, and __all__, in git.index
* Fix git.index imports
* Incompletely change git.index imports to test modattrs.py
* Add regression tests of the git.util aliasing situation
* Add a script to validate refactored imports
* Use the :exc: role for exceptions
* Fix parse_date docstring spacing; use RFC role
* Use :const: for constants that had the :attr: role
* Use current main official link to git-clone URLS doc
* Use more official link to index-format documentation
* Use Sphinx manpage references where applicable
* Add a missing Sphinx reference to a class
* Remove a spurious extra backtick from a docstring
* Link Sphinx manpage references to online Git docs
* Put Sphinx conf.py in the same style as other code
* Include TagObject in git.types.Tree_ish
* Describe Submodule.__init__ parent_commit parameter
* Use LBYL for imports where EAFP is a mypy type error
* Help Ruff avoid a very long line
* Apply Ruff auto-fixes not included in merge
* Make some broad mypy suppressions more specific
* Fix and deprecate Lit_commit_ish
* Remove the temporary Old_commit_ish type
* Fix old Commit_ish annotation in RootModule
* Fix other submodule.base parent_commit annotations
* Start on fixing Submodule parent_commit annotations
* Add a "doc" extra for documentation build dependencies
* Streamline setup.py file reading
* Group setup.py imports
* Bump pre-commit hook versions
* Update requirements-dev.txt (as long as we have it)
* Comment all Ruff rule codes; tweak formatting
* Let Ruff scan doc/source/conf.py
* Colorize mypy output when run through tox
* Colorize ruff output when run through tox
* Split tox "lint" env into three envs, all safe
* Clean up mention of manual hook stage
* Have tox skip linting unless requested, for now
* Update readme for recent tooling changes
* Make installation instructions more consistent
* Very slightly improve readme presentation
* drop `make lint`
* apply `ruff-format`
* lint: switch Black with `ruff-format`
* try: from typing import Literal
* fixing lints / noqa
* lint: replace `flake8` with `ruff` check
* Upgrade test fixture pip in venv without upgrade_deps
* Start fixing venv test fixture pip toml bug
* Fix old Commit_ish annotations in git.remote
* Fix IndexFile.commit `parent_commits` annotation
* Fix remaining old Commit_ish annotations in git.refs
* Fix remaining old Commit_ish annotations in git.repo.fun
* Keep the type of a Commit's `parents` from being too narrow
* Help tools know the type of a Commit's `parents`
* Remove extra `parents` param in Commit.__init__ docstring
* Fix some annotations in git.repo.fun
* Start fixing annotations that used the old Commit_ish
* Define GitObjectTypeString and update Object to use it
* Define and document AnyGitObject and (new) Commit_ish
* Temporarily rename Commit_ish to Old_commit_ish
* Further improve _safer_popen_windows doc
* Wrap docstrings and comments in _safer_popen_windows
* Have test suite use sys.platform to check for Windows
* Fix new mypy error in is_cygwin_git
* Fix new mypy error in _read_win_env_flag
* Have git module use sys.platform to check for Windows
* Test that redefined Diffable.Index should be compatible
* Spell self.Index as self.INDEX in IndexFile.diff
* Apply intended suppression in Tree.traverse
* Drop deprecated mypy option
* Remove some unneeded mypy suppressions
* Colorize mypy output on CI for easier reading
* Adjust mypy options to work well with mypy 1.9.0
* Add INDEX and DiffConstants to git.__all__
* Mention collections.abc for Sequence
* Deprecate public access to typing imports in git
* Add refresh to top-level __all__
* Modify annotations to accommodate NULL_TREE
* Fix Sphinx references; give Diffable.Index a docstring
* Make NULL_TREE and Index precisely annotatable
* Annotate _process_diff_args without Diffable.Index
* Further clarify Diffable.diff docstring
* Consolidate str and os.PathLike[str] (use GitPython's PathLike)
* Start fixing diff and _process_diff_args type annotations
* Correct and clarify Diffable.diff docstring
* Fix wrong class name in git.objects.tag docstring
* Fixing stripping issue causing passing tests to be interpreted as failures
* Setting universal_newlines=False explicitly in fetch() and pull().
* Fix RootModule.update `ignore[override]` suppression
* Clarify CallableProgress vs. CallableRemoteProgress
* Drop wrong variable annotations in BlobFilter.__call__
* Fix how Remote annotates dynamic config-backed url attribute
* Have Repo.__init__ convert epath to str first instead
* Broaden cygpath parameter annotation
* Fix how HEAD annotates inherited commit property
* Fix how Diffable annotates expected repo attribute
* Fix new mypy confusion about kill_after_timeout type
* Factor communicate and watchdog logic to helper
* Refactor kill_after_timeout logic so mypy can check it
* Fix mypy error with creationflags in subprocess module
* Annotate safer_popen broad enough for all platforms
* Simplify _safer_popen_windows "if shell" logic
* Fix Sphinx reference that rendered overly long
* Remove commented-out code
* Fixing Windows encoding issue.
* Add return-type annotation on __init__ methods
* Fix some underindented portions of docstrings
* Remove unneeded annotation on __slots__ variable
* Don't bind unused _assertion_msg_format
* Add a cationary note about Object vs. object
* Expand git.compat docstring
* Remove commented-out is_config_level function
* Move our PathLike below even TYPE_CHECKING imports
* Add docstrings to protocols in git.types
* Use phrases like "git object type" where applicable
* Fix possible inaccuracy in Lit_config_levels docstring
* Revise a couple new docstrings for clarity
* Add docstrings to TypedDicts in git.types
* Do a bit of tidying related to unused names
* Expand docs of classes representing Git objects
* Document Tree_ish, Commit_ish, and related types
* Start adding docstrings to types in git.types
* Refine how tree[subscript] is introduced
* Change how tree[subscript] is introduced
* Fix unnecessarily long reference in Tree docstrings
* Revise assert_never
* Restore building of documentation downloads
* Remove duplicate information in docstring
* Fix unterminated double-backtick in a git.compat docstring
* Add git.compat, git.db, and git.types in API Reference
* Include top-level git.refresh in API Reference
* Improve stream_object_data and _parse_object_header docstrings
* Updating spacing per linting test.
* Updating regex pattern to handle unicode whitespaces.
* Better document overrides in GitCmdObjectDB
* Further expand refresh methods' docstrings
* Fix ref to git.refresh in refresh methods' docstrings
* A couple more small docstring refinements
* Somewhat improve _get_ref_info{,_helper} docstrings
* Remove note in GitCmdObjectDB docstring
* Further refine some docstring revisions
* More docstring revisions in git.objects.submodule.base
* More docstring revisions within git.objects
* More docstring revisions within git.repo
* More docstring revisions in second-level modules and git.__init__
* Fix exception type in require_remote_ref_path docstring
* More docstring revisions within git.refs
* Better clarify Submodule.branch_path documentation
* Revise test suite docstrings and comments
* Better explain conditional cleanup in test_base_object
* Further revise docstrings within git.repo
* Add a bit of missing docstring formatting
* Undo some expansion of "reference" parameter
* Fix param name in TagRefernece docstring and add info
* Improve docstrings about tags
* Fix erroneous reference to DateTime "class"
* Further revise other docstrings within git.objects
* Further revise docstrings within git.objects.submodule
* Further revise docstrings within git.index
* Undo a couple minor black-incompatible changes
* Further revise docstrings in second-level modules
* Improve Git.execute docstring formatting re: max_chunk_size
* Fully qualify non-builtin exceptions in :raise:
* Fix another :raises: to :raise:
* Revise Repo.archive docstring
* Further revise docstrings in git.objects.submodule.base
* Fix recent inconsistency, using :raise:, not :raises:
* Update comment about improving expand_path overloads
* Update git source link in Repo.merge_base comment
* Adjust spacing in colon seach mode NotImplementedError
* Revise docstrings within git.repo
* Fix Repo.iter_commits docstring about return type
* Fix backslashes in Repo.__init__ docstring
* test: :white_check_mark: Added test for external diff engine and removed comment
* Revise docstrings within git.refs
* Further git.util docstring revisions
* Fix backslash formatting in git.util docstrings
* Revise docstrings within git.objects
* Fix parameter names in TagObject.__init__
* Fix IndexObject.abspath docstring formatting
* Change _write to write in SubmoduleConfigParser docstring
* Revise docstrings within git.objects.submodule
* Clarify Submodule.branch_path documentation
* Condense output_stream description in Git.execute docstring
* Further revise post_clear_cache docstring
* Rewrite post_clear_cache note
* Revise docstrings within git.index
* Show full-path refresh() in failure message differently
* Format first Git.execute overload stub like the others
* Revise docstrings in second-level modules
* Fix up Remote.push docstring
* Tweak code formatting in Remote._set_cache_
* Update CommandError._msg documentation
* Reword partial_to_complete_sha_hex note
* Fix concurrency note for stream_object_data
* Revise docstrings in git.__init__ and git.cmd
* Tweak message about GIT_PYTHON_REFRESH for 80-column terminals
* Clarify comment on shell case in _safer_popen_windows
* Fix typos and further clarify Git.refresh docstring
* docs: updated explanation of the `rev` parameter for both blame methods
* fix: both blame methods accept None as a revision
* Suggest full-path refresh() in failure message
* Fix ambiguous wording in Git.refresh docstring
* Build online docs (RTD) with -W and dependencies
* Fix USE_SHELL docstring reStructuredText list formatting
* Document manual refresh path treatment
* Fix how version_info omits non-numeric fields
* Test version_info parsing
* Fix version_info type hint + more refactoring
* Refactor and further clarify comments
* Clarify comments; add assertion (helps mypy)
* Invalidate all cached version_info on refresh
* Fix tests for Python <3.9 which lack Path.with_stem
* Test that version_info is not pickled
* Make "install" and refresh version_info test portable
* Simplify patched PATH env var construction
* Test "installing" another git and refreshing
* Test that refreshing invalidates cached version_info
* Use documented version_info in test_index_file_diffing
* Fix Git.version_info pickling
* Test version_info on unpickled Git instance
* Have _fake_git fixture take version_info
* Test that version_info caching is per instance
* Test that version_info caches
* Use TemporaryFile as a context manager
* feat: :sparkles: added "--no-ext-diff" flag when create_patch=True to diff
* Factor venv activation into the venv creation step
* Re-remove safe.directory step
* Bring back venv
* Take ownership of cloned repository
* Debug ownership
* Add back safe.directory step
* Run tests as non-root user in Alpine Linux
* Use venv on Alpine Linux
* Work around different ownership in container
* Test Alpine Linux on CI
* prepare the next release
* Tweak `@with_rw_directory` and go back to using it
* Use more ligtweight approach to guarantee deletion
* Fix new PermissionError in Windows with Python 3.7
* Keep temp files out of project dir and improve cleanup
* Remove deprecated section in README.md
* Bump Vampire/setup-wsl from 2.0.2 to 3.0.0
* Bump pre-commit/action from 3.0.0 to 3.0.1
* Add note to clarify that `gitoxide` doensn't work in Python just yet.
* Use same code style for all logging without placeholders
* Omit extra "WARNING:" prefix
* Test that extra prefix "WARNING:" is omitted
* Write Git instead of type(self.git)
* Extend test_cmd_override to test exception's `command` attribute
* Exclude unavailable Python versions for M1 runner
* Test with M1 macOS CI runner
* Have initial refresh use a logger to warn
* Change warning refresh-mode tests to expect logging
* Test current initial-refresh behavior
* Test established zero-argument refresh() behavior
* Use Python 3.9.16 on Cygwin CI
* Use Python 3.8 on Cygwin CI
* Don't add `NullHandler`s
* Don't access logger in tests by nonpublic attribute
* Rename logger globals from log to _logger
* Use consistent style for passing logger name
* State what the refresh tests verify
* Condense FetchInfo.refresh using contextlib.suppress
* Refactor _rollback_refresh slightly for clarity
* Re-refresh to restore state after refresh tests
* Start work on making refresh tests restore state
* Also test refresh with an already-absolute bad path
* Fix wrong GitCommandNotFound command from refresh
* Have test of refresh that should fail assert command
* Simplify test of refresh that should succeed
* Split test_refresh into two tests
* Apply suggestions from code review
* Clarify why GIT_PYTHON_GIT_EXECUTABLE may be set on failure
* Remove git.util.NullHandler
* Deprecate git.util.NullHandler
* chore: update AUTHORS
* fix: treeNotSorted issue
* fix: add treeNotSorted test
* Bump Sphinx from 4.3.0 to 4.3.2
* Extend plugin version ranges down for Python 3.7
* Pin Sphinx plugins to compatible versions
* Fix annotations for Python 3.8 and lower
* Remove test dependency on sumtypes library
* maybe fix readthedocs by adding configuration (#1794)
* Fix typo in release link in changelog
* bump patch level
* Further clarify comment in test_hook_uses_shell_not_from_cwd
* Move safer_popen from git.util to git.cmd
* Extract shared logic for using Popen safely on Windows
* Clarify comment in test_hook_uses_shell_not_from_cwd
* Avoid spurious "location may have moved" on Windows
* Cover absent/no-distro bash.exe in hooks "not from cwd" test
* Extract venv management from test_installation
* Omit CWD in search for bash.exe to run hooks on Windows
* Start on test_hook_uses_shell_not_from_cwd
* Make Git.execute a bit simpler and very slightly more robust
* Further expand "not from cwd" test re: cmd.exe
* Refactor "not from cwd" test for readability
* Omit CWD in executable search even when shell=True
* Use SystemRoot instead of WINDIR, to fix tox
* Correct the "not from cwd" test and add more cases
* Show "not from cwd" test is broken for shell=True
* Fix mypy warning "Missing return statement"
* In handle_process_output don't forward finalizer result
* Deprecate USE_SHELL; caution in Git.execute shell doc
* Improve deprecation messages and other docstrings
* Fix incompletely revised Iterable/IterableObj docstrings
* Shorten Iterable docstrings and put IterableObj first
* Make setuptools check on CI more precise
* Add missing pip in $PATH on Cygwin CI
* Revert "Don't install black on Cygwin"
* Update USE_SHELL docstring on why not to use it anymore
* Convert constant and attribute comments to docstrings
* Improve self-documentation of IterableObj and related classes
* In Submodule.iter_items, don't attach second empty iterator
* Expand "invalid hash" test to assert normal StopIteration
* Add tests for current Submodule.iter_items behavior
* Remove explicit PushInfo/FetchInfo inheritance from object
* Fix Items of type PathLike
* Add a direct test of run_commit_hook
* Add xfail marks to hook tests for WinBashStatus.Absent
* Tweak formatting for `@pytest.mark.parametrize`
* Refactor TemporaryFileSwap.__init__ for clarity
* Fix TemporaryFileSwap bug when file_path is a Path
* Add a test for git.index.util.TemporaryFileSwap
* Run test_env_vars_for_windows_tests only on Windows
* Use Path.touch to create files for rmtree tests
* Bump github/codeql-action from 2 to 3
* Customize CodeQL
* Set up CodeQL
* Replace the one use of mktemp in the git module
* Avoid mktemp in tests, in straightforward cases
* Extract remaining local "import gc" to module level
* Replace xfail with gc.collect in TestSubmodule.test_rename
* Remove TestSubmodule.test_rename xfail mark
* Don't install black on Cygwin
* Extract all "import gc" to module level
* Bump actions/setup-python from 4 to 5
* Avoid making it look like kill_process works on Windows
* Document more Git.execute kill_after_timeout limitations
* Overhaul noqa directives
* Small docstring copyedits
* Compare types in test_orig_head with "is"
* be even more generous with 'extra-time' to wait on MacOS
* Test InvalidGitRepositoryError in repo subdir
* Avoid another tempdir content assumption in test
* Avoid unsafe assumptions about tempdir content in tests
* Adding dubious ownership handling
* Group .gitignore entries by purpose
* Don't return with operand when conceptually void
* Remove unused TASKKILL fallback in AutoInterrupt
* Let close_fds be True on all platforms
* macOS needs even more extra time in test_blocking_lock_file
* Restore longer extra time for Windows, and add for macOS
* Temporarily break test_blocking_lock_file on Windows
* Use macOS 13 on CI
* Add macOS test jobs to CI matrix
* Add myself to AUTHORS
* Avoid subprocess-writable temp file race condition
* Minor formatting consistency improvement
* Add xfail mark for new test_index_mutation failure
* Let Windows subprocess open or rename onto temp file
* Revert "Add xfail marks for IndexFile.from_tree failures"
* Further document cygpath test parameter collections
* Don't mock the lchmod functions, and explain why
* Mock out lchmod functions in _patch_for_wrapping_test?
* Always read metadata files as UTF-8 in setup.py
* Shorten comments on _decode steps
* Improve readability of WinBashStatus class
* Put back WSL on Windows CI
* Handle encodings better; make the sum type "public"
* Don't assume WSL-related bash.exe error is English
* Handle multiple encodings for WSL error messages
* Use bytes in bash.exe check; retest no-distro case
* Make _WinBashStatus instances carry all their info
* Reword comment in _WinBashStatus.check for clarity
* Refine TestSubmodule.test_rename xfail condition
* Revert "Treat XPASS status as a test failure"
* Correct TestSubmodule.test_rename xfail condition
* Treat XPASS status as a test failure
* Put back WSL on Windows CI; pare down debug info
* Temporarily don't install WSL system to test xfail
* Simplify/clarify bash.exe check for hook tests; do it only once
* Fix and expand bash.exe xfail marks on hook tests
* Install WSL system on CI for hook tests
* Show bash and other WSL-relevant info but not PATH
* Show PATH on CI
* Mark unsafe-options "allowed" tests xfail on Windows
* Mark test_create_remote_unsafe_url_allowed xfail on Windows
* Improve ordering/grouping of a few imports
* Mark test_conditional_includes_from_git_dir xfail on Windows
* Mark TestSubmodule.test_rename xfail on Windows
* Mark test_diff_submodule xfail on Windows
* Mark test_clone_command_injection xfail on Windows
* Add xfail marks for IndexFile.from_tree failures
* Add native Windows test jobs to CI matrix
* List all non-passing tests in test summaries
* Remove demonstration script
* Extract some shared patching code to a helper
* Test that PermissionError is only wrapped on Windows
* Refactor current fix for symlink-following bug
* One approach to the symlink-following bug
* Test that rmtree doesn't chmod outside the tree
* Revise and restore some module docstrings
* Create FUNDING.json to support Drips
* Fix compat.is_darwin
* Deprecate compat.is_<platform>, rewriting all uses
* Pass more specific license argument in setup.py
* Update README to clarify license name
* Make comments more consistent and clarify license
* Better explain the Windows and Unix cases
* Let all TestRmtree tests run on 3.7
* Finish making TestCygpath xfail markings granular
* Start making TestCygpath xfail markings granular
* Pull cygpath and decygpath tests out of TestUtils
* Move permission_error_tmpdir skips to test cases
* Remove file_not_found_tmpdir fixture for TestRmtree
* Pull HIDE_WINDOWS_*_ERRORS tests out of TestUtils
* Pull rmtree tests out of TestUtils class
* Revise test_util comment style
* Remove obsolete note in _iter_packed_refs
* Don't swallow AttributeError from super().setUp()
* Use zero-argument super() where applicable
* Revise some comments and strings
* Remove encoding declarations
* Fix commented *.py names at the top of modules
* Shorten some docstring references with tilde notation
* Add missing comment revisions in git/index/base.py
* Avoid making "END" notation more verbose
* Improve consistency of "END" comments in test suite
* Add missing comment revisions in git/objects/submodule/base.py
* Improve consistency of "END" comments
* Remove explicit inheritance from object in test suite
* Revise docstrings/comments in performance tests
* Revise docstrings/comments in test helpers
* Remove outdated git_daemon_launched Windows info
* Fix TestBigRepoR.setUp info message
* Change :returns: to :return:
* More wording improvements (in git module)
* Slightly improve readability of installation-test strings
* Add a module docstring to tstrunner.py
* Revise docstrings/comments in most other test modules
* Revise comments in tests used to generate tutorials
* Make all one-element __slots__ be tuples
* Remove explicit inheritance from object
* Firm up comment about is_win in util.is_cygwin_git
* Revise docstrings and comments for clarity and formatting
* Use "is" to compare __class__
* Fix message in SymbolicReference.from_path
* Update git-source citation in Reference.set_object
* Change spelling from "commit'ish" to "commit-ish"
* Clarify "master repository" in RootModule docs
* Remove obsolete comment in Submodule.module
* Add missing space in Submodule.update debug message
* Remove Commit._deserialize doc for param_from_rev_list
* Fix case in IndexObject.abspath exception message
* Fix _index_from_*_format docstrings (proc reading)
* Remove r prefix from strings that need not be raw
* Put all regex patterns in r-strings
* Fix docstrings that intend '\' literally
* Bump git/ext/gitdb from `8ec2390` to `ec58b7e`
* Document how to use vendored dependencies
* Never modify sys.path
* Set submodule update cadence to weekly
* Remove `@UnusedImport` from an import that is used
* Add __all__ in git.exc, adjust __init__.py imports
* Remove now-unused import in top-level __init__.py
* prepare next release
* Have init script clone submodules unconditionally
* Don't pre-clone submodules on CI, at least for now
* Add missing info in Submodule.remove docstring
* prepare next release
* Run Cygwin CI workflow commands in login shells
* Shorten another step
* Make the release instructions a numbered list
* Update readme for milestone-less releasing
* Bump git/ext/gitdb from `8ec2390` to `6a22706`
* Bump git/ext/gitdb from `49c3178` to `8ec2390`
* Drop obsolete info on yanking from security policy
* Have Dependabot offer submodule updates
* Fix small #1662 regression due to #1659
* black lint
* Typo
* Fix unused import linting
* Clarify a test helper docstring
* Further cleanup in test_util (on new tests)
* Simplify HIDE_* env var test; add missing cases
* Treat false-seeming HIDE_* env var values as false
* Make HIDE_* attributes always bool
* Warn if HIDE_WINDOWS_*_ERRORS set in environment
* Add initial test_env_vars_for_windows_tests
* Clean up test_util, reorganizing for readability
* Revise and update rmtree docstrings and comments
* Use onexc callback where supported
* Fix onerror callback type hinting, improve style
* In rmtree, have onerror catch only PermissionError
* Fix test bug that assumed staticmethod callability
* Test situations git.util.rmtree shouldn't wrap
* Test current expected behavior of git.util.rmtree
* Clean up git.objects.submodule.base imports
* Eliminate duplicate rmtree try-except logic
* Update "ACTUALLY skipped by" comments
* Add a missing PermissionError xfail on Windows
* Ask git where its daemon is and use that
* Add @UnusedImport to recent changes
* Clean up __all__ in main, and explicit imports in exc
* Note that the init script can be run from Git Bash
* Update readme: CI jobs not just for "main" branch
* Let tox run lint, mypy, and html envs without 3.9
* Format all YAML files in the same style
* Reword comment to fix ambiguity
* Don't print the exact same warning twice
* Get tags for tests from original repo as fallback
* Have init script check for GitHub Actions
* Add BUILDDIR var to doc/Makefile; have tox use it
* Update readme about most of the test/lint tools
* Add "make lint" to lint without auto-formatting
* Fix the formatting
* Pass --all-files explicitly so it is retained
* Use two hooks for black: to check, and format
* Fix typo in comment
* Add a black check to pre-commit
* Use a single awk instead of two greps and a cut
* Make the "all" Makefile target more robust
* Use set -u in init script
* Explain what each step in the init script achieves
* A couple more script tweaks for clarity
* Reduce code duplication in version check script
* Move extra tag-fetching step into init script
* Make the init script a portable POSIX shell script
* Use 4-space indentation in all shell scripts
* Have init script treat master unambiguously as a branch
* Use some handy bash-isms in version check script
* Extract suggest_venv out of the else block
* Don't split and glob the interpreter name
* Suppress SC2086 where word splitting is intended
* Force color when running shellcheck in pre-commit
* Add pre-commit hook to run shellcheck
* No longer allow CI to select a prerelease for 3.12
* Fix a small YAML formatting style inconsistency
* Eliminate istream_ok variable
* Log args in the order they are passed to Popen
* Log stdin arg as such, and test that this is done
* Extract a _assert_logged_for_popen method
* Simplify shell test helper with with_exceptions=False
* Test that git.cmd.execute_kwargs is correct
* Avoid having a local function seem to be a method
* Other copyediting in the git.cmd module
* Copyedit Git.execute docstring
* Don't say Git.execute uses a shell, in its summary
* Document Git.execute parameters in definition order
* Fix Git.execute shell use and reporting bugs
* Use the mock backport on Python 3.7
* Extract shared test logic to a helper
* Fix tests so they don't try to run "g"
* Test if whether a shell is used is logged
* Test whether a shell is used
* Fix the name of the "executes git" test
* Allow base_daemon_path to be normalized for Cygwin
* Drop claim about Cygwin not having git-daemon
* Drop flake8 suppressions that are no longer needed
* Clearer YAML style for flake8 extra plugin list
* Fix new link to license in readme
* Further reduce differences between test workflows
* Remove the recently added "Limit $PATH" step
* Consistent formatting style across all workflows
* Try to work in all LF on Cygwin CI
* Use Cygwin's bash and git for more CI steps
* Show more CI system information
* Consolidate test_repo module import statements
* Add missing raises keyword for test_depth xfail
* Run the tests in test_tree on Windows
* Change test_git_submodules_and_add_sm_with_new_commit Windows
skip to xfail
* Update test_git_submodules_and_add_sm_with_new_commit skip
reason
* Change test_root_module Windows skip to xfail
* Update test_root_module Windows skip reason
* Make 2 more too-low git version skips into errors
* Remove no-effect `@skipIf` on test_untracked_files
* Express known test_depth failure with xfail
* Change skipIf(not ...) to skipUnless(...)
* Report <2.5.1 in test_linked_worktree_traversal as error
* Add a few FIXMEs re: better use of xfail
* Report encoding error in test_add_unicode as error
* No longer skip test_index_mutation on Cygwin
* Run test_commit_msg_hook_success on more systems
* Mark some cygpath tests xfail
* Run cygpath tests on Cygwin, not native Windows
* Fix test_blocking_lock_file for cygwin
* Force pytest color output on CI
* Pass -v twice to see full skip reasons
* Keep sugar for local use, but use instafail on CI
* Show all the failures
* Make "Update PyPA packages" step clearer
* Show version and platform info in one place
* Instrument workflows to investigate skipped tests
* Add missing assert keywords
* fix makefile to compare commit hashes only
* prepare next release
* remove unnecessary list comprehension to fix CI
* Remove `@NoEffect` annotations
* Tweak rollback logic in log.to_file
* Refactor try-finally cleanup in git/
* Fix rollback bug in SymbolicReference.set_reference
* Make an old mock.patch.dict on os.environ clearer
* Add more checks for the validity of refnames
* Refactor "finally" cleanup in tests, fix minor bug
* Lint test/ (not just git/), fix warnings and a bug
* Update flake8 additional dependencies, fix warning
* Upgrade flake8 in pre-commit and fix new warnings
* Reformat tests with black
* Don't limit black to git/
* Small manual formatting improvements
* Fix black exclusions to omit .gitignore dirs
* Add tox environment to build HTML documentation
* Don't have mypy failure fail the whole tox run
* Pass through SSH_ env vars to tox envs
* Start setting up tox
* Don't track code coverage temporary files
* Omit py_modules in setup
* Use venv instead of virtualenv in test_installation
* Assorted small fixes/improvements to root dir docs
* Fix URLs that were redirecting to another license
* refinements to `build-reelase.sh`
* Be explicit on how to interpret the data table
* Use 'echo' where possible to avoid explicit newlines
* submodules don't contribute to the release; ignore their
changes
* make `.gitattributes` file more generic
* Ignore some other virtual environment directories
* Fix message wording that was opposite of intended
* Prevent buggy interaction between MinGW and WSL
* Extract build from force_release target to script
* Extract checks from release target to script
* delete sublime-text project, nobody uses it and it's probably
very outdated
* Fix non-venv branch always failing
* Have "make release" check other release preconditions
* LF line endings for scripts that may need them
* Use "python" in the virtual env, "python3" outside
* Improve when and how Makefile suggests virtual env
* Make "git tag" sort our SemVer-ish tags correctly
* Have Makefile use git tag to sort the tags
* Reference HEAD in Makefile (more portable than head)
* Fix dynamically-set __all__ variable
* leave another note in Makefile to help remember using
virtualenv
* Remove spurious executable permissions
* Clarify test relationship to env_case.py fixture
* Improve git.util.cwd docstring
* Condense an overly long comment
* Better explain the env_case test
* Let "make" install build and twine if in a virtual environment
* Make publish process possible on MacOS
* prepare next release
* Move effect of "set -x" into default shell command
* Have actions/checkout do the full fetch
* Small clarity improvements in setup.py
* List Python 3.12 as supported in setup.py
* Don't use "set -x" for "pytest" command on Cygwin
* Test changed setup, and Python 3.12, on CI
* Don't preinstall dependencies in test_installation
* Ungroup and sort test_requirements.txt
* Use "build" for building
* Use a "test" extra instead of tests_require
* Don't duplicate packages across requirements files
* Use more compatible hashbangs
* Update installation instructions in readme
* Fix installation test for Python 3.12 and Windows
* prepare next release
* updated docs to better describe testing procedure with new repo
* add test for submodule path not owned by submodule case
* Eliminate duplication of git.util.cwd logic
* Fix Windows env var upcasing regression
* Make test helper script a file, for readability
* Add test for Windows env var upcasing regression
* Redesign new decorator to better separate concerns
* Set protocol.file.allow only in tests that need it
* Use env vars on CI to set protocol.file.allow
* Only set safe.directory on Cygwin (which needs it)
* Add test for CVE-2023-41040
* Fix CVE-2023-41040
* Fix 'Tree' object has no attribute '_name' when submodule path
is normal path
* Bump actions/checkout from 3 to 4
- Drop patch which is already included in upstream:
* CVE-2023-41040.patch
- Rebase patches:
* test_blocking_lock_file-extra-time.patch
* test-skips.patch
-------------------------------------------------------------------
Tue Sep 5 08:30:24 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
- Add CVE-2023-41040.patch to fix directory traversal attack
vulnerability gh#gitpython-developers/GitPython#1644
bsc#1214810
-------------------------------------------------------------------
Tue Sep 05 06:34:12 UTC 2023 - daniel.garcia@suse.com
- Update _service to use manualrun, disabledrun is deprecated now.
- Update to version 3.1.34.1693646983.2a2ae77:
* prepare patch release
* util: close lockfile after opening successfully
* update instructions for how to create a release
* prepare for next release
* Skip now permanently failing test with note on how to fix it
* Don't check form of version number
* Add a unit test for CVE-2023-40590
* Fix CVE-2023-40590
* feat: full typing for "progress" parameter
* Creating a lock now uses python built-in "open()" method to work around docker virtiofs issue
* Disable merge_includes in config writers
* Apply straight-forward typing fixes
* Add missing type annotation
* Run black and exclude submodule
* Allow explicit casting even when slightly redundant
* Ignore remaining [unreachable] type errors
* Define supported version for mypy
* Do not typecheck submodule
* typo
* added more resources section
* generic hash
* redundant code cell
* redundant line
* fixed tabbing
* tabbed all code-blocks
* added new section for diffs and formatting
* formatting wip
* change to formatting - removed = bash cmds
* Added new section to print prev file
* WIP major changes to structure to improve readability
* Removed all reference to source code
* Updated generic sha hash
* Added warning about index add
* Made trees and blobs the first section
* refactored print git tree
* clarified comment
* draft of description
* replaced hash with generic
* replaced output cell to generic commit ID
* removed unnecessary variables
* convert from --all flag to all=True
* correct way to get the latest commit tree
* removed try/except and updated sample url
* Updated the sample repo URL
* Made variable names more intuitive
* try to fix CI by making it deal with tags forcefully.
* Removed code from RST
* added quickstart to toctree to fix sphinx warning
* added quickstart to toctree and fixed sphinx warning
* fixed some indentation
* finished code for quickstart
* finished code for quickstart
* Finishing touches for Repo quickstart
* Added git clone & git add
* Made the init repo section of quickdoc
-------------------------------------------------------------------
Mon Aug 21 04:36:14 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Update to version 3.1.32.1689011721.5d45ce2:
* Block insecure non-multi options in clone/clone_from Follow-up to #1521
(bsc#1214174, CVE-2023-40267)
* Name top-level exceptions as private variables
* Revert the removal of Commit.trailers property.
* Specify encoding in Commit.trailer_list.
* Update Commit.trailer_list to return tuples.
* Deprecate Commit.trailers.
* Add trailers_list and trailers_list methods to fix the commit trailers
functionality.
- Switch to pyproject macros.
-------------------------------------------------------------------
Thu May 11 13:59:44 UTC 2023 - mcepl@suse.com
- Update to version 3.1.31.1676565040.f253335:
* prepare next release
* Add test asserting that get_values works by itself
* Update cmd.py
* Fix RecursionError when iterating streams
* Update docs
* Add additional assertions to test_base.py
* Updated diff test to use different similarity thresholds
* Add check to test bare repo
* Added diff test to disable rename detection
* fixed lint error
* Enable user to override default diff -M arg
* Remove optional from two member variables
* Fix timezone parsing functions for non-hour timezones
* Raise exception if return code from check-ignore is not 1
* Add test to verify GitCommandError is raised when check-ignore is run against a file behind a symlink
* Add test_ignored_items_reported
* Lint with Flake8 via pre-commit
* Upgrade Python syntax with pyupgrade --py37-plus
* Fix typo
* Declare support for Python 3.11
* fix files list on file rename
* get_values eagerly loads sections before return
* Fix some resource leaks by open file handles
* fix clone_from_unsafe_protocol tests
* replace tempfile.mkdtemp w/ tempfile.TemporaryDirectory
* fix/add allow_unsafe_* params in docstrings + fix typo
* tests: Use `command -v` instead of third-party `which` program
* Fix Sphinx rendering errors
-------------------------------------------------------------------
Fri Apr 21 12:20:42 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add sle15_python_module_pythons (jsc#PED-68)
-------------------------------------------------------------------
Thu Apr 13 22:41:36 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Make calling of %{sle15modernpython} optional.
-------------------------------------------------------------------
Wed Jan 4 06:33:38 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Update to version 3.1.30.1672298042.141cd65:
* Make injections of command-invocations harder or impossible for clone and
others. See #1518 for details. Note that this might constitute a breaking
change for some users. (bsc#1206099, CVE-2022-24439)
* Prohibit insecure options and protocols by default, which is potentially a
breaking change, but a necessary fix for #1515.
* Make the git.__version__ re-appear.
* Reduced startup time due to optimized imports.
* Fix a vulenerability that could cause great slowdowns when encountering
long remote path names when pulling/fetching.
* Newly added timeout flag is not be enabled by default, and was renamed
to kill_after_timeout
* drop support for python 3.5 to reduce maintenance burden on typing.
* Add more static typing information
* git.Commit objects now have a replace method that will return a copy of
the commit with modified attributes.
* Add python 3.9 support
* Drop python 3.4 support
- Refresh patches.
-------------------------------------------------------------------
Mon Nov 7 23:35:37 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Setting proper configuration variable allows to run previously
skipped tests.
-------------------------------------------------------------------
Mon Nov 7 14:50:21 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Skip failing tests (gh#gitpython-developers/GitPython#1511).
-------------------------------------------------------------------
Thu Jan 14 14:19:01 UTC 2021 - mmachova@suse.com
- Update to version 3.1.12.1610074031.f653af66:
* fix flake
* fix tests the fast way
* First attempt to fix failing test of #1103
-------------------------------------------------------------------
Sun Jan 10 17:13:24 UTC 2021 - mliska@suse.cz
- Update to version 3.1.12.1609914640.3dd71d3e:
* prepare release
* Fix handle_diff_line for -z option.
* try fixing up test fixtures and implementation
* Add '-z' on top of '--raw' to avoid path name mangling
* fix universal_newlines TypeError
* docs: fix simple typo, repostory -> repository
* Added ability to define git environment in submodule add/update methods
* change decode type and add replace flag
* bump patch level
* Fix default actor name handling
* bump patch level
* Get system user id in a lazy manner
* Keep flake happy
* Do not break convention when updating sys.path
* Bump patch level
* rename sublist to subset
* Rename get_ignored to ignored and fix the documentation
* Find paths ignored in .gitignore
* Add venv to gitignore
* git/repo/base.py: is_dirty(): Fix pathspec handling
* Fix typo
* Update release verification instructions as suggested in #1055
* Adjust signature key - please read if you verify installs/packages
* bump patch level
* Ensure that detached HEAD does not raise when comparing branch name.
* Reformat code to remove unnecessary indentation
* Remove name as not necessary to track down authors.
* update contribution guidelines to be a little less concise and more polite
* Add missing blank line
* Add missing rules to match hierarchy path
* Update AUTHOR to respect to contributing guidelines.
* Add unit tests
* Fix logic to properly compare glob pattern to value
* Add method to retrieve all possible paths to include
* Add reference to repository to config.
* Update check method to find all includes
* Add Regex to match content of "includeIf" section
* inform about Gitoxide
* add myself to authors
* accept datetime instances as dates
* Ensure only fully matching symrefs are deleted
* Fixed all warnings in documentation and updated Makefile to treat warnings as errors.
* Added nose to test-requirements
-------------------------------------------------------------------
Thu Aug 20 10:32:30 UTC 2020 - mimi.vx@gmail.com
- Update to version 3.1.7.1594621338.176838a3:
- refresed test-skips.patch and test_blocking_lock_file-extra-time.patch
- used pytest as test runner
* bump patch level
* Fixed broken file paths.
* bump patch level
* test: add installation test
* tools: update tool scripts after moving tests
* MANIFEST.in: update to exclude tests
* setup.py: exclude all test files
* tests: move to root dir
* bump patch level
* Revert moving tests out of 'git' folder, related to #1030
* bump patch level
* tools: update tool scripts after moving tests
* MANIFEST.in: update to exclude tests
* setup.py: exclude all test files
* tests: move to root dir
* Add Ram Rachum to AUTHORS
* Fix exception causes all over the codebase
* Fix exception causes in 7 modules
* Fix exception causes in cmd.py
-------------------------------------------------------------------
Sun Jun 14 08:43:10 UTC 2020 - dmueller@suse.com
- Update to version 3.1.3.1590895281.24cd6da:
* Bump patch level
* BF: tollerate errors while parsing fetch lines
* Fix flake8 errors
* Improve unfortunate wording
-------------------------------------------------------------------
Tue Jun 02 16:41:06 UTC 2020 - dmueller@suse.com
- Update to version 3.1.2.1588659169.f14903a:
* Bump patch level, this time with known signature
* Accept that this arguably simple feature can't be tested easily…
* allow setting depth when cloning a submodule
* add test case for submodule depth parameter
* add myself to AUTHORS
* Change signing key back to what it was
* bump patch level
* Remove forced verbosity when fetching from a remote
* Now it should really start working - go, doctests, go!
* Maybe this fixes the doc tests
-------------------------------------------------------------------
Mon May 04 09:21:39 UTC 2020 - johannes.grassler@suse.com
- Update to version 3.1.1.1586590969.b860d1873a25:
* bump patch level
* Remove forced verbosity when fetching from a remote
* Now it should really start working - go, doctests, go!
* Maybe this fixes the doc tests
* This should fix tests, as tree[0] is not a tree anymore
* Test for PyOxidizer and avoid trying to use __file__ if present
* Satisfy flake8 requirement related to #1000
* Try again to apply patch related to #1000
* make clear that appveyor and travis are not used anymore
* Remove code-coverage from requirements - codecov wants way too many permissions…
-------------------------------------------------------------------
Thu Apr 2 11:03:10 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Disable three more tests on git submodules:
* https://github.com/gitpython-developers/GitPython/issues/597
* test-skips.patch
-------------------------------------------------------------------
Mon Mar 30 10:40:09 UTC 2020 - tchvatal@suse.com
- Update to version 3.1.0.1582544583.8c9da73:
* Replace invalid bytes when decoding TagObject stream
* Use UTF-8 encoding when getting information about a symbolic reference
* Remove and replace references to nose with unittest in documentation
* Remove nose from test requirements
* Replace nose with unittest in tox configuration
* Replace nose with unittest in Travis CI script
* Added changelog for unreleased changes
* Restrict gitdb2 version to <4
* Remove test.lib.asserts and use unittest.mock.patch directly
* Replace assert_false with assertFalse
* Replace assert_true with assertTrue
* Replace raises with assertRaises
* Replace assert_raises with assertRaises
* Replace assert_not_equal with assertNotEqual
* Replace assert_equal with assertEqual
* Remove and replace assert_match with assertRegex
* Remove old, no longer used assert methods
* Remove references to old mock library in documentation
* Remove outdated checks for unittest.mock existence
* Fix Python version requirement in documentation
* Remove badges for no longer existing Waffle site from README
* Add support for Python 3.8
* Replace deprecated Logger.warn with Logger.warning
* Replace deprecated assertRaisesRegexp alias with assertRaisesRegex
* Replace deprecated assertNotEquals alias with assertNotEqual
* Replace deprecated assertEquals alias with assertEqual in TestGit
* Replace deprecated assertRegexpMatches alias with assertRegex
* Replace deprecated failUnlessRaises alias with assertRaises in tests
* Improve requirements.txt format
* Remove checks for pathlib existence in TestRepo for Python < 3.4
* Improve README Python requirement specificity
* Simplify Travis CI configuration
* Require latest gitdb version (with dropped python 2 support)
* Fix spelling in Dockerfile description LABEL
* Fix Repo.__repr__ when subclassed
* Apparently -s must be there, even if --sign-with is specified??
* Sign with a different key for now, it's USB-C and can be used
* disable signing - don't have a USB-A to -C adapter :(
* Remove now unused is_invoking_git variable in test
* Fix requirements.txt formatting
* Remove unnecessary check for PermissionError for Python < 3.3
* Improve setup.py python_requires
* Remove unnecessary check for logging.NullHandler for Python 2.6
* Remove check for Python 2.7
- Rebase patch test-skips.patch and test_blocking_lock_file-extra-time.patch
- Give up on tests for now, gh#gitpython-developers/GitPython#914
-------------------------------------------------------------------
Sat Nov 16 16:40:59 UTC 2019 - Arun Persaud <arun@gmx.de>
- specfile:
* be more explicit in %files section
* updated line numbers in patches
- update to version 3.0.5:
* Remove duplicate license parameter
* Fix/deepsource issues
* Check if submodule exists before referencing
* Fix cloning to path with unicode
* Global ConfigParser
* Fix 'PushInfo' object has no attribute 'name'
* Reading and writing global configuration parameters acknowledged
help wanted
* Added Git Gud to projects
* Git.AutoInterrupt.__del__() OSError: [WinError 6] The handle is
invalid acknowledged help wanted tag.Windows
- changes from version 3.0.4:
* Fix repo.index.diff("HEAD", create_patch=True) always returning an
empty list
* Fix how Diff handles commits that contain submodule changes
* Fix pickling of tzoffset
* Add support for 'C'-type diffs
* Fixed#731
* Update .deepsource.toml
* Allow single item for index.addremovemove
-------------------------------------------------------------------
Mon Oct 07 13:33:58 UTC 2019 - tchvatal@suse.com
- Update to version 3.0.3.1570041589.23b83cd:
* Prepare v3.0.3
* git: repo: base: update clone_from env argument description
* remove previously added debug code from test_doc.py
* Revert "Remove control character stripping."
* Try to fix tests; get more debug output
* Update util.py
* Update util.py
* Remove control character stripping.
* add type check to git.Remote.__eq__
* Take advantage of universal newlines.
* Parse rejected deletes.
* Remove assert that can fail erroneously.
* Fix test_commit_msg_hook_success.
* fix decoding problem
* Fix #889: Add DeepSource config and fix some major issues
-------------------------------------------------------------------
Tue Sep 24 09:03:41 UTC 2019 - tchvatal@suse.com
- Update to version 3.0.2.1566444429.0765792:
* prepare next release
* BF: remove ddt from requirements.txt since no ddt required at run time.
* Bump version to 3.0.1
* Remove dependency on 'gitdb'; fixes #908
* Changelog information
* Adding test
* Returning commit object instead of hash value
* Snack case as requested in #903
* Method stating which commit is being played during an halted rebase
* Fix performance regression, see #906
- Drop merged patch merged_pr_793.patch
- Rebase patch test-skips.patch
-------------------------------------------------------------------
Fri Mar 15 13:52:47 UTC 2019 - tchvatal@suse.com
- Update to version 2.1.11.1531661757.92a4819:
* Bump version to 2.1.11
* fix whitespace violation
* Update test_docs.py
* Dedent code blocks in tutorial.
* Allow pathlib.Path in Repo.__init__
* Fix small typo
* Fix exception on import in MacOS
* Bump to 2.1.10
* Add change in type support
* Get correcly rename change_type.
- Simplify the service file and generating of the tarball
and base everything on a tag
-------------------------------------------------------------------
Wed Mar 13 12:09:51 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Activate test suite and remove bcond test
- Add merged_pr_793.patch already merged upstream to fix Python 3.7,
especially git submodules
- Add test_blocking_lock_file-extra-time.patch to avoid an
indeterministic timing failure
- Add test-skips.patch to skip one expected failure and workaround
two unknown failures
- Remove test suite from the runtime package
- Add doc/source/*.rst to %docs
- Remove dependency on python3-mock
- Set build dependency ddt minimum version 1.1.1
-------------------------------------------------------------------
Tue Dec 4 12:48:28 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Thu Sep 27 11:17:43 UTC 2018 - comurphy@suse.com
- Require git-core instead of git
-------------------------------------------------------------------
Tue Aug 7 14:58:46 UTC 2018 - toddrme2178@gmail.com
- update to 2.1.11
* Update test_docs.py
* Dedent code blocks in tutorial.
* Exception when constructing a Repo() from a pathlib.Path acknowledged help wanted
* Allow pathlib.Path in Repo.__init__
* Fix exception on import in MacOS
* Failed import raises non-ImportError exception on MacOS
- update to 2.1.10
* Fix rename change type & support 'change in type' acknowledged
* Configurable chunk size
* Avoid from_timestamp() function to raise an exception when the offset…
* Adding files to repository that is located directly in the root acknowledged
* git: index: base: use os.path.relpath
-------------------------------------------------------------------
Sat Apr 14 17:16:15 UTC 2018 - arun@gmx.de
- update to version 2.1.9:
* Drop support for EOL Python 2.6 and 3.3
* Allow mmap not just for py2.6, 2.7 and 3.6+ but also 3.0+
* Fix doc typos
-------------------------------------------------------------------
Wed Jan 17 16:12:22 UTC 2018 - toddrme2178@gmail.com
- Implement single-spec version
- Update to version 2.1.8
* bugfixes
- Update to version 2.1.6
* bugfixes
* support for worktrees
- Update to version 2.1.3
* bugfixes
- Update to version 2.1.1
* bugfixes
- Update to version 2.1.0
* Much better windows support!
* The `GIT_DIR` environment variable does not override the `path` argument when
initializing a `Repo` object anymore. However, if said `path` unset, `GIT_DIR`
will be used to fill the void.
- Update to version 2.0.9
* Bugfixes
* `tag.commit` will now resolve commits deeply.
* `Repo` objects can now be pickled, which helps with multi-processing.
* `Head.checkout()` now deals with detached heads, which is when it will return
the `HEAD` reference instead.
* `DiffIndex.iter_change_type(...)` produces better results when diffing
-------------------------------------------------------------------
Wed Aug 31 17:27:54 UTC 2016 - dmueller@suse.com
- update to 2.0.8:
* Py2.6 support dropped
* lots of new features and bugfixes
-------------------------------------------------------------------
Wed May 6 09:41:17 UTC 2015 - benoit.monin@gmx.fr
- update to version 1.0.1:
* A list of all issues can be found on github
- additional changes from version 1.0.0:
* This version is equivalent to v0.3.7, but finally acknowledges
that GitPython is stable and production ready
- additional changes from version 0.3.7:
* IndexFile.add() will now write the index without any extension
data by default
* Renamed ignore_tree_extension_data keyword argument in
IndexFile.write(...) to ignore_extension_data
* If the git command executed during Remote.push(...)|fetch(...)
returns with an non-zero exit code and GitPython didn't obtain
any head-information, the corresponding GitCommandError will be
raised
* If the git executable can't be found in the PATH or at the path
provided by GIT_PYTHON_GIT_EXECUTABLE, this is made obvious by
throwing GitCommandNotFound, both on unix and on windows.
* A list of all issues can be found on github
- additional changes from version 0.3.6:
* special members like __init__ are now listed in the API
documentation
* tutorial section was revised entirely, more advanced examples
were added
* As rev_parse will now throw BadName as well as BadObject,
client code will have to catch both exception types
* Repo.working_tree_dir now returns None if it is bare
* IndexFile.add() previously raised AssertionError when paths
where used with bare repository, now it raises
InvalidGitRepositoryError
* Added Repo.merge_base() implementation. See the respective
issue on github
* [include] sections in git configuration files are now respected
* Added GitConfigParser.rename_section()
* Added Submodule.rename()
* A list of all issues can be found on github
- additional changes from version 0.3.5:
* push/pull/fetch operations will not block anymore
* diff() can now properly detect renames, both in patch and raw
format
* repo.odb.update_cache() is now called automatically after fetch
and pull operations
* Repo(path) will not automatically search upstream anymore and
find any git directory on its way up
* IndexFile.commit() now runs the pre-commit and post-commit hooks
* A list of all issues can be found on github
- additional changes from version 0.3.4:
* Internally, hexadecimal SHA1 are treated as ascii encoded
strings
* Id attribute of Commit objects is now hexsha, instead of binsha
* IMPORTANT: If you were using the config_writer(), you
implicitly relied on __del__ to work as expected to flush
changes. To be sure changes are flushed under PY3, you will
have to call the new release() method to trigger a flush
* The Tree now has a .join('name') method which is equivalent to
tree / 'name'
- additional changes from version 0.3.3:
* When fetching, pulling or pushing, and an error occours, it
will not be reported on stdout anymore
* Code Cleanup (in preparation for python 3 support)
- additional changes from version 0.3.2.1:
* Fix for #207
- additional changes from version 0.3.2:
* Release of most recent version as non-RC build, just to allow
pip to install the latest version right away.
- update project URL
- point the source URL to pypi
- set a minimum version for python-gitdb and add it to
BuildRequires to validate dependencies at build time.
- add python-ordereddict as dependency for SLE11 (python 2.6)
- remove outdated py_requires
-------------------------------------------------------------------
Thu Sep 26 13:13:58 UTC 2013 - speilicke@suse.com
- Require git-core for the cgit backend (bnc#841684)
-------------------------------------------------------------------
Tue Jun 26 09:55:59 UTC 2012 - saschpe@suse.de
- Spec file cleanup
-------------------------------------------------------------------
Wed Jul 6 20:34:02 UTC 2011 - alexandre@exatati.com.br
- Update to 0.3.2.RC1;
- Regenerate spec file with py2pack;
- Building as noarch now.
-------------------------------------------------------------------
Tue Sep 7 13:31:06 UTC 2010 - alexandre@exatati.com.br
- Update to 0.3.0-beta2;
- Bzip2 source file.
-------------------------------------------------------------------
Thu Jul 8 15:11:43 UTC 2010 - alexandre@exatati.com.br
- Update to 0.3.0-beta1.
-------------------------------------------------------------------
Wed Apr 7 11:58:12 UTC 2010 - alexandre@exatati.com.br
- Update to 0.2.0-beta1;
- Spec file cleaned with spec-cleaner.
-------------------------------------------------------------------
Tue Nov 24 11:21:41 UTC 2009 - alexandre@exatati.com.br
- Initial pacakge (0.1.6) for openSUSE.