1
0
forked from pool/python-pygit2
python-pygit2/python-pygit2.changes

346 lines
14 KiB
Plaintext
Raw Normal View History

Accepting request 926494 from home:mcepl:branches:devel:libraries:c_c++ - Update to 1.7.0: - Upgrade to libgit2 1.3.0 - Add support for Python 3.10 - Drop support for Python 3.6 - New `pygit2.GIT_CHECKOUT_SKIP_LOCKED_DIRECTORIES` - New optional argument ``location`` in ``Repository.applies(..)`` and ``Repository.apply(..)`` - Fix: Now the `flags` argument in `Repository.blame()` is passed through - CI: Stop using Travis, move to GitHub actions - Fix a number of reference leaks - Review custom object backends - In custom backends the callbacks have been renamed from ``read`` to ``read_cb``, ``write`` to ``write_cb``, and so on. - New optional ``proxy`` argument in ``Remote`` methods - New GIT_MERGE_PREFERENCE constants - Don't require cached-property with Python 3.8 or later - Refactored build and CI, new ``build.sh`` script - Remove deprecated ``GIT_CREDTYPE_XXX`` contants, use ``GIT_CREDENTIAL_XXX`` instead. - Remove deprecated ``Patch.patch`` getter, use ``Patch.text`` instead. - New ``PackBuilder`` class and ``Repository.pack(...)`` - New ``Config.delete_multivar(...)`` - New ``Repository.is_shallow`` - New optional ``message`` argument in ``Repository.create_reference(...)`` - Fix truncated diff when there are nulls - Fix ``Index.add(...)`` raise ``TypeError`` instead of ``AttributeError`` when arguments are of unexpected type - Upgrade to libgit2 1.1, new ``GIT_BLAME_IGNORE_WHITESPACE`` constant - Drop support for PyPy3 7.2 - New optional ``flags`` argument in ``Repository.__init__(...)``, new ``GIT_REPOSITORY_OPEN_*`` constants - Remove upstreamed libgit2_1.patch. OBS-URL: https://build.opensuse.org/request/show/926494 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=63
2021-10-20 11:10:02 +02:00
-------------------------------------------------------------------
Wed Oct 20 08:25:16 UTC 2021 - Matej Cepl <mcepl@suse.com>
- Update to 1.7.0:
- Upgrade to libgit2 1.3.0
- Add support for Python 3.10
- Drop support for Python 3.6
- New `pygit2.GIT_CHECKOUT_SKIP_LOCKED_DIRECTORIES`
- New optional argument ``location`` in
``Repository.applies(..)`` and ``Repository.apply(..)``
- Fix: Now the `flags` argument in `Repository.blame()` is
passed through
- CI: Stop using Travis, move to GitHub actions
- Fix a number of reference leaks
- Review custom object backends
- In custom backends the callbacks have been renamed from ``read`` to
``read_cb``, ``write`` to ``write_cb``, and so on.
- New optional ``proxy`` argument in ``Remote`` methods
- New GIT_MERGE_PREFERENCE constants
- Don't require cached-property with Python 3.8 or later
- Refactored build and CI, new ``build.sh`` script
- Remove deprecated ``GIT_CREDTYPE_XXX`` contants, use
``GIT_CREDENTIAL_XXX`` instead.
- Remove deprecated ``Patch.patch`` getter, use ``Patch.text``
instead.
- New ``PackBuilder`` class and ``Repository.pack(...)``
- New ``Config.delete_multivar(...)``
- New ``Repository.is_shallow``
- New optional ``message`` argument in
``Repository.create_reference(...)``
- Fix truncated diff when there are nulls
- Fix ``Index.add(...)`` raise ``TypeError`` instead of
``AttributeError`` when arguments are of unexpected type
- Upgrade to libgit2 1.1, new ``GIT_BLAME_IGNORE_WHITESPACE`` constant
- Drop support for PyPy3 7.2
- New optional ``flags`` argument in ``Repository.__init__(...)``,
new ``GIT_REPOSITORY_OPEN_*`` constants
- Remove upstreamed libgit2_1.patch.
-------------------------------------------------------------------
Sun Nov 1 04:07:45 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Add libgit2_1.patch for compatibility with libgit 1.1.0
- Update to v1.3.0
* New Repository.applies, Repository.revparse, Repository.revparse_ext,
Repository.add_submodule, Repository.raw_listall_branches, and
Repository.raw_listall_references
* New optional flags and file_flags arguments in
Repository.merge_commits and Repository.merge_trees
* New Reference.raw_target
* Allow bytes in Repository.lookup_branch and Repository.diff
* New GIT_BLAME_FIRST_PARENT and GIT_BLAME_USE_MAILMAP constants
* New IndexEntry supports repr(), str(), == and !=
* New Object supports repr()
* New accept tuples of strings (not only lists) in a number of places
* Fix compatibility with old macOS 10.9
* Fix check argument type in Repository.apply(...)
* Fix raise exception if error in Repository.listall_submodules()
* Fix a couple of refcount errors in OdbBackend.refresh() and
Worktree_is_prunable
-------------------------------------------------------------------
Wed May 6 08:01:51 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.2.1:
* Drop python2 support
* Various crash fixes
-------------------------------------------------------------------
Mon Dec 2 14:50:25 UTC 2019 - Julio González Gil <jgonzalez@suse.com>
- Fix building for s390x (bsc#1158198)
-------------------------------------------------------------------
Mon Jun 3 10:20:16 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 0.28.2:
* Fix crash in reflog iteration #901
* Support symbolic references in branches.with_commit(..) #910
* Documentation updates #909
* Test updates #911
-------------------------------------------------------------------
Wed May 15 18:22:32 UTC 2019 - Gary Smith <GSmith@suse.com>
- Update to 0.28.1
* Removed patch pycparser.patch as it is no longer needed
* Now works with pycparser 2.18 and above
* Now ``Repository.write_archive(..)`` keeps the file mode
* New ``Patch.data`` returns the raw contents of the patch as a byte string
* New ``Patch.text`` returns the contents of the patch as a text string,
-------------------------------------------------------------------
Mon Apr 8 08:15:54 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Add patch to fix the pycparser issues as per bellow:
* pycparser.patch
-------------------------------------------------------------------
Sat Mar 23 11:32:34 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Drop the pygit2-0.28-Remove-pycparser-constraint.patch and replace
it with shorter sed
- Switch to pytest testing:
* Fails now but that is pycparser bug https://github.com/eliben/pycparser/issues/305
- Disable tests temporarily as per above
-------------------------------------------------------------------
Wed Mar 20 20:40:34 UTC 2019 - Neal Gompa <ngompa13@gmail.com>
- Update to 0.28.0
* Update to libgit2 v0.28
* New ``pygit2.Mailmap``
* New ``Repository.apply(...)`` wraps ``git_apply(..)``
* Now ``Repository.merge_analysis(...)`` accepts an optional reference parameter
* Now ``Repository.add_worktree(...)`` accepts an optional reference parameter
* Now it's possible to set SSL certificate locations
* Test and documentation improvements
* Now ``worktree.path`` returns the path to the worktree directory
* Remove undocumented ``worktree.git_path``
- Remove unneeded patch to fix issues on i586:
* pygit2-i586.patch
- Add patch to remove unneeded constraint on pycparser
* pygit2-0.28-Remove-pycparser-constraint.patch
-------------------------------------------------------------------
Mon May 21 08:33:07 UTC 2018 - tchvatal@suse.com
- Add patch to fix issues on i586 arch:
* pygit2-i586.patch
-------------------------------------------------------------------
Thu May 17 12:10:25 UTC 2018 - tchvatal@suse.com
- Update to 0.27.0:
* Update to libgit2 v0.27 #783
* Fix for GCC 4 #786
-------------------------------------------------------------------
Thu Aug 24 15:45:45 UTC 2017 - toddrme2178@gmail.com
- Update to 0.26.0
* Update to libgit2 v0.26
* Drop support for Python 3.2, add support for cffi 1.10
* New ``Repository.revert_commit(...)``
* New ``Branch.is_checked_out()``
* Various fixes
-------------------------------------------------------------------
Fri Apr 7 22:12:04 UTC 2017 - toddrme2178@gmail.com
- Update to 0.25.0.
* Make pygit2 throw if tree of a commit is not found
* fixed cached memory tests
* Added mwindow_mapped_limit, cached_memory, enable_caching,
cache_max_size, cache_object_limit options
- Implement singlespec version.
-------------------------------------------------------------------
Wed Jan 11 21:49:47 UTC 2017 - astieger@suse.com
- update to 0.24.2:
* Fix when libgit2 error messages have non-ascii chars
* Documentation improvements
- includes changes from 0.24.1
* New Repository.listall_reference_objects()
* Fix ``Repository.write_archive(...)`
* Reproducible builds
* Documentation fixes
-------------------------------------------------------------------
Wed Nov 2 09:27:00 UTC 2016 - kkaempf@suse.com
- Fix Url link (old one was dead).
-------------------------------------------------------------------
Fri Aug 12 16:35:20 UTC 2016 - tbechtold@suse.com
- require the cffi version it was built against
- Use pypi.io as Source url
-------------------------------------------------------------------
Thu Apr 7 19:47:24 UTC 2016 - zaitor@opensuse.org
- Update to version 0.24.0:
+ Support Python 3.5.
+ New dependency, python-six
+ New Repository.path_is_ignored(path).
+ Fix error in Repository(path) when path is a bytes string.
+ Fix memory issue in Repository.describe(...).
+ Allow testing with `tox.
- Add python-six BuildRequires following upstream changes.
-------------------------------------------------------------------
Tue Sep 29 09:13:03 UTC 2015 - toddrme2178@gmail.com
- Update to version 0.23.1
* Improve support for cffi 1.0+
(https://github.com/libgit2/pygit2/pull/529)
(https://github.com/libgit2/pygit2/pull/561)
* Fix Remote.push
(https://github.com/libgit2/pygit2/pull/557)
* New TreeEntry.type
(https://github.com/libgit2/pygit2/pull/560)
* New pygit2.GIT_DIFF_SHOW_BINARY
(https://github.com/libgit2/pygit2/pull/566)
-------------------------------------------------------------------
Thu Sep 17 11:15:59 UTC 2015 - p.drouand@gmail.com
- Update to version 0.23.0
* Update to libgit2 v0.23
(https://github.com/libgit2/pygit2/pull/540)
* Now Repository.merge_base(...) returns None if no merge base is found
(https://github.com/libgit2/pygit2/pull/550)
* Documentation updates
(https://github.com/libgit2/pygit2/pull/547)
-------------------------------------------------------------------
Tue Feb 3 15:06:02 UTC 2015 - dimstar@opensuse.org
- Update to version 0.22.0:
+ Update to libgit2 v0.22
(https://github.com/libgit2/pygit2/pull/459)
+ Add support for libgit2 feature detection (new pygit2.features
and pygit2.GIT_FEATURE_*)
(https://github.com/libgit2/pygit2/pull/475)
+ New Repository.remotes (RemoteCollection)
(https://github.com/libgit2/pygit2/pull/447)
+ API Changes:
- Prototype of clone_repository changed, check documentation
- Removed clone_into, use clone_repository with callbacks instead
- Use Repository.remotes.rename(name, new_name) instead of
Remote.rename(new_name)
- Use Repository.remotes.delete(name) instead of Remote.delete()
- Now Remote.push(...) takes a list of refspecs instead of just one
- Change Patch.old_id, Patch.new_id, Note.annotated_id,
RefLogEntry.oid_old and RefLogEntry.oid_new to be Oid objects
instead of strings
(https://github.com/libgit2/pygit2/pull/449)
+ Other:
- Fix init_repository when passing optional parameters
workdir_path, description, template_path, initial_head or
origin_url.
- Fix use-after-free when patch outlives diff.
- Documentation improvements.
- Make the GPL exception explicit in setup.py.
- Add python-setuptools BuildRequires: new build dependency.
-------------------------------------------------------------------
Tue Sep 2 18:20:17 UTC 2014 - p.drouand@gmail.com
- Update to version 0.20.2
+ Fix regression with Python 2, ``IndexEntry.path`` returns str
(bytes in Python 2 and unicode in Python 3)
+ Get back ``IndexEntry.oid`` for backwards compatibility
+ Config, iterate over the keys (instead of the key/value pairs)
`#395 <https://github.com/libgit2/pygit2/pull/395>`_
+ ``Diff.find_similar`` supports new threshold arguments
`#396 <https://github.com/libgit2/pygit2/pull/396>`_
+ Optimization, do not load the object when expanding an oid prefix
`#397 <https://github.com/libgit2/pygit2/pull/397>`_
- Changes from version 0.20.1
+ Install fix
`#382 <https://github.com/libgit2/pygit2/pull/382>`_
+ Documentation improved, including
`#383 <https://github.com/libgit2/pygit2/pull/383>`_
`#385 <https://github.com/libgit2/pygit2/pull/385>`_
`#388 <https://github.com/libgit2/pygit2/pull/388>`_
+ Documentation, use the read-the-docs theme
`#387 <https://github.com/libgit2/pygit2/pull/387>`_
+ Coding style improvements
`#392 <https://github.com/libgit2/pygit2/pull/392>`_
+ New ``Repository.state_cleanup()``
`#386 <https://github.com/libgit2/pygit2/pull/386>`_
+ New ``Index.conflicts``
`#345 <https://github.com/libgit2/pygit2/issues/345>`_
`#389 <https://github.com/libgit2/pygit2/pull/389>`_
+ New checkout option to define the target directory
`#390 <https://github.com/libgit2/pygit2/pull/390>`_
- Fix build
- Remove python_sitelib definition; pygit2 is arch dependant
- Add python-cffi and python-unittest2 requirements; new
dependencies
- Disable tests; network is now needed for launching them
-------------------------------------------------------------------
Mon Dec 9 13:31:12 UTC 2013 - p.drouand@gmail.com
- Update to version 0.20.0
+ Upstream provides no changelog, but you can check
https://github.com/libgit2/pygit2/compare/v0.19.0...v0.20.0
- Fix build on openSUSE >= 12.3 and SLE11SP3
- Remove obsolete conditionnal macros
-------------------------------------------------------------------
Sun Aug 18 13:24:03 UTC 2013 - toddrme2178@gmail.com
- Update to 0.19.0
+ Upstream provides no changelog, but you can check
https://github.com/libgit2/pygit2/compare/v0.17.3...v0.19.0
- Keep 0.17.3 for compatibility with openSUSE 12.2
-------------------------------------------------------------------
Thu Dec 27 10:03:25 UTC 2012 - cfarrell@suse.com
- license update: GPL-2.0
See COPYING (and the majority of the source code files). Not sure why
Apache-2.0 was chosen as license here - there is absolutely no indication
of Apache style licensing in the package
-------------------------------------------------------------------
Tue Dec 18 10:48:23 UTC 2012 - saschpe@suse.de
- Update to version 0.17.3:
+ Upstream provides no changelog, but you can check
https://github.com/libgit2/pygit2/compare/v0.17.2...v0.17.3
- Changes from previous versions:
+ https://github.com/libgit2/pygit2/compare/v0.16.1...v0.17.2
- Enable testsuite again
- Package file COPYING
-------------------------------------------------------------------
Tue Apr 24 08:49:31 UTC 2012 - saschpe@suse.de
- Update to version 0.16.1:
+ Upstream provides no changelog
-------------------------------------------------------------------
Wed Jan 26 17:26:21 UTC 2011 - saschpe@gmx.de
- Removed SUSE-specific --record-rpm for file lists
-------------------------------------------------------------------
Tue Jan 18 21:49:47 UTC 2011 - saschpe@gmx.de
- Install documentation (README.md and COPYING)
- Fix install section for other distros
-------------------------------------------------------------------
Tue Jan 18 20:48:40 UTC 2011 - saschpe@gmx.de
- Initial commit (0.1)
- Added patch include recent libgit2 changes