- 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-GitPython?expand=0&rev=55
* 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.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-GitPython?expand=0&rev=53
* 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
- Give up on tests for now, gh#gitpython-developers/GitPython#914
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-GitPython?expand=0&rev=51
* 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.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-GitPython?expand=0&rev=47
- 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
OBS-URL: https://build.opensuse.org/request/show/862137
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-GitPython?expand=0&rev=41
- 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-GitPython?expand=0&rev=39
* 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-GitPython?expand=0&rev=35
- 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…
OBS-URL: https://build.opensuse.org/request/show/800003
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-GitPython?expand=0&rev=33
* 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-GitPython?expand=0&rev=30
* 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-GitPython?expand=0&rev=26
* 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-GitPython?expand=0&rev=24
* 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-GitPython?expand=0&rev=21
- Activate test suite and remove bcond test
- Add py37.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
OBS-URL: https://build.opensuse.org/request/show/685184
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-GitPython?expand=0&rev=20
- 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
OBS-URL: https://build.opensuse.org/request/show/627918
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-GitPython?expand=0&rev=14
- 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
OBS-URL: https://build.opensuse.org/request/show/567213
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-GitPython?expand=0&rev=11