1
0
forked from pool/python-pygit2
Commit Graph

42 Commits

Author SHA256 Message Date
e6cad68a57 - update to 1.14.1:
* Now `Object.filemode` returns `enums.FileMode` and
    `Reference.type` returns `enums.ReferenceType`
  * Fix tests on Fedora 40
  * Deprecate `ReferenceType.OID`, use `ReferenceType.DIRECT`
  * Deprecate `ReferenceType.LISTALL`, use `ReferenceType.ALL`

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=84
2024-03-01 10:14:54 +00:00
5e36294a53 - update to 1.14.0:
* Drop support for Python 3.8
  * New `Repository.submodules` namespace
  * New `Repository.listall_mergeheads()`,
    `Repository.message`,
    `Repository.raw_message` and `Repository.remove_message()`
  * New `pygit2.enums` supersedes the `GIT_` constants
  * Now `Repository.status()`, `Repository.status_file()`,
    `Repository.merge_analysis()`, `DiffFile.flags`,
    `DiffFile.mode`,
    `DiffDelta.flags` and `DiffDelta.status` return enums
  * Now repository\'s `merge()`, `merge_commits()` and
    `merge_trees()`  take enums/flags for their `favor`,
    `flags` and `file_flags` arguments.
  * Fix crash in filter cleanup
  * Documentation fixes
  * Remove deprecated `Repository.create_remote(...)` function,
    use instead `Repository.remotes.create(...)`
  * Deprecate `Repository.add_submodule(...)`, use
    `Repository.submodules.add(...)`
  * Deprecate `Repository.lookup_submodule(...)`, use
    `Repository.submodules[...]`
  * Deprecate `Repository.init_submodules(...)`, use
    `Repository.submodules.init(...)`
  * Deprecate `Repository.update_submodule(...)`, use
    `Repository.submodules.update(...)`
  * Deprecate `GIT_*` constants, use `pygit2.enums`
  * Passign dicts to repository\'s `merge(...)`,
    `merge_commits(...)` and `merge_trees(...)` is deprecated.
    Instead pass `MergeFavor` for the `favor` argument, `MergeFlag`

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=82
2024-01-30 18:13:05 +00:00
cce0cea461 - update to 1.13.3:
* New API for filters in Python #1237 #1244
  * Shallow repositories: New depth optional argument for
    clone_repository(...) and Remote.fetch(...) #1245 #1246
  * New submodule init(...), update(...) and reload(...)
    functions #1248
  * Release GIL in Walker.__next__ #1249
  * Type hints for submodule functions in Repository #1247
  * Support Python 3.12
  * Documentation updates #1242
  * Fix crash in reference rename #1233
  * Upgrade to libgit2 v1.7.1
  * Don't distribute wheels for pypy, only universal wheels for
    macOS
  * New Repository.remotes.create_anonymous(url) #1229
  * docs: update links to pypi, pygit2.org #1228
  * Prep work for Python 3.12 (not yet supported) #1223
- drop support-libgit2-1.7.patch (upstream)
  * Add missing newline at end of pygit2/decl/pack.h #1163
  * Remove redundant line #1139
  *  Added mwindow_mapped_limit, cached_memory, enable_caching,

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=80
2024-01-06 21:01:04 +00:00
372385db80 Accepting request 1100659 from home:dimstar:Factory
Fix build in openSUSE:Factory; support libgit2 1.7

OBS-URL: https://build.opensuse.org/request/show/1100659
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=77
2023-07-25 14:59:33 +00:00
017f481103 Accepting request 1073520 from home:dgarcia:branches:devel:languages:python
- Add support-libgit2-1.6.patch to make it work with the latest
  libgit2 release gh#libgit2/pygit2#1200

OBS-URL: https://build.opensuse.org/request/show/1073520
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=75
2023-03-21 20:35:02 +00:00
e80915fa35 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=73 2022-12-04 14:55:39 +00:00
2897b9a787 Accepting request 1039869 from home:yarunachalam:branches:devel:languages:python
- Update to version 1.11.1 (2022-11-09)
  * Fix Linux wheels, downgrade to manylinux 2_24 #1176
  * Windows wheels for Python 3.11 #1177
  * CI: Use 3.11 final release for testing #1178
- Update to versino 1.11.0 (2022-11-06)
  * Drop support for Python 3.7
  * Update Linux wheels to manylinux 2_28 #1136
  * Fix crash in signature representation #1162
  * Fix memory leak in Signature #1173
  * New optional argument raise_error in Repository.applies(...) #1166
  * New notify/progress callbacks for checkout and stash #1167 #1169
  * New Repository.remotes.names() #1159
  * Now refname argument in RemoteCallbacks.push_update_reference(...) is a string, not bytes #1168
  * Add missing newline at end of pygit2/decl/pack.h #1163 

- Update to version

OBS-URL: https://build.opensuse.org/request/show/1039869
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=72
2022-12-04 14:55:17 +00:00
ca524fcc3d Accepting request 1004945 from home:coolo:branches:openSUSE:Factory
- Update to 1.10.1
  - Fix segfault in ``Signature`` repr
    `#1155 <https://github.com/libgit2/pygit2/pull/1155>`_
  - Linux and macOS wheels for Python 3.11
    `#1154 <https://github.com/libgit2/pygit2/pull/1154>`_
  - Upgrade to libgit2 1.5
  - Add support for ``GIT_OPT_GET_OWNER_VALIDATION`` and
    ``GIT_OPT_SET_OWNER_VALIDATION``
    `#1150 <https://github.com/libgit2/pygit2/pull/1150>`_
  - New ``untracked_files`` and ``ignored`` optional arguments for
    ``Repository.status(...)``
    `#1151 <https://github.com/libgit2/pygit2/pull/1151>`_
- Remove support-libgit-1.5.patch no longer needed

OBS-URL: https://build.opensuse.org/request/show/1004945
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=70
2022-09-20 12:05:41 +00:00
Steve Kowalik
2792e03e4c - Add patch support-libgit-1.5.patch:
* Suppot libgit 1.5.0

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=68
2022-07-21 14:45:28 +00:00
Steve Kowalik
f911a1ee67 - Update to 1.9.2:
* New Repository.create_commit_string(...) and
    Repository.create_commit_with_signature(...) #1142
  * Linux and macOS wheels updated to libgit2 v1.4.3
  * Remove redundant line #1139

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=67
2022-07-21 14:18:07 +00:00
5e5f79d1ac - update to 1.9.1:
- Type hints: added to C code and Branches/References
  - New ``Signature`` supports ``str()`` and ``repr()``
  - Fix ODB backend's read in big endian architectures
  - Fix install with poetry
  - Wheels: update to libgit2 v1.4.2
  - Tests: fix testing ``parse_diff``
  - CI: various fixes after migration to libgit2 v1.4

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=65
2022-03-26 18:53:24 +00:00
257e6e388d Accepting request 957975 from home:pgajdos:python
- version update to 1.9.0
  1.9.0 (2022-02-22)
  -------------------------
  - Upgrade to libgit2 v1.4
  - Documentation, new recipes for committing and cloning
    `#1125 <https://github.com/libgit2/pygit2/pull/1125>`_
  1.8.0 (2022-02-04)
  -------------------------
  - Rename ``RemoteCallbacks.progress(...)`` callback to ``.sideband_progress(...)``
    `#1120 <https://github.com/libgit2/pygit2/pull/1120>`_
  - New ``Repository.merge_base_many(...)`` and ``Repository.merge_base_octopus(...)``
    `#1112 <https://github.com/libgit2/pygit2/pull/1112>`_
  - New ``Repository.listall_stashes()``
    `#1117 <https://github.com/libgit2/pygit2/pull/1117>`_
  - Code cleanup
    `#1118 <https://github.com/libgit2/pygit2/pull/1118>`_
  Backward incompatible changes:
  - The ``RemoteCallbacks.progress(...)`` callback has been renamed to
    ``RemoteCallbacks.sideband_progress(...)``. This matches the documentation,
    but may break existing code that still uses the old name.
  1.7.2 (2021-12-06)
  -------------------------
  - Universal wheels for macOS
    `#1109 <https://github.com/libgit2/pygit2/pull/1109>`_
  1.7.1 (2021-11-19)
  -------------------------
  - New ``Repository.amend_commit(...)``
    `#1098 <https://github.com/libgit2/pygit2/pull/1098>`_
  - New ``Commit.message_trailers``
    `#1101 <https://github.com/libgit2/pygit2/pull/1101>`_

OBS-URL: https://build.opensuse.org/request/show/957975
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=64
2022-02-28 11:02:51 +00:00
51b70e4430 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 09:10:02 +00:00
e8d7e2c65f fix changelog
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=61
2020-11-03 09:02:39 +00:00
1ba22b36f4 Accepting request 845218 from home:jayvdb:branches:devel:libraries:c_c++
- Add libgit2_1_1.patch for compatibility with libgit 1.1.0
- Update to v1.3.0

OBS-URL: https://build.opensuse.org/request/show/845218
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=60
2020-11-02 15:43:22 +00:00
Tomáš Chvátal
211b658785 - Update to 1.2.1:
* Drop python2 support
  * Various crash fixes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=58
2020-05-06 08:08:09 +00:00
Tomáš Chvátal
a17653abbb Accepting request 753135 from home:juliogonzalezgil:branches:devel:languages:python
- Fix building for s390x (bsc#1158198)

NOTE: SLE15SP2 build results are only possible by copypacking libgit2

OBS-URL: https://build.opensuse.org/request/show/753135
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=55
2019-12-03 09:46:47 +00:00
Tomáš Chvátal
838326e593 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=52
2019-07-23 08:46:18 +00:00
Tomáš Chvátal
6778612787 Accepting request 703237 from home:gary_smith:branches:devel:languages:python
- 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,

OBS-URL: https://build.opensuse.org/request/show/703237
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=50
2019-05-15 18:35:11 +00:00
Tomáš Chvátal
c1adf547c6 - Add patch to fix the pycparser issues as per bellow:
* pycparser.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=48
2019-04-08 08:30:13 +00:00
Tomáš Chvátal
4493705311 - Disable tests temporarily as per above
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=46
2019-03-26 09:11:29 +00:00
Tomáš Chvátal
7ea1c3f2fc - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=45
2019-03-23 11:40:49 +00:00
Tomáš Chvátal
7abfe8db2a Accepting request 687891 from home:Pharaoh_Atem:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/687891
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=44
2019-03-23 11:27:24 +00:00
Tomáš Chvátal
6f380ee367 - Add patch to fix issues on i586 arch:
* pygit2-i586.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=42
2018-05-21 08:34:38 +00:00
Tomáš Chvátal
e265214141 - Update to 0.27.0:
* Update to libgit2 v0.27 #783
  * Fix for GCC 4 #786

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=40
2018-05-17 12:13:49 +00:00
Todd R
dcc6728618 Accepting request 518566 from home:TheBlackCat:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/518566
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=38
2017-08-24 16:16:36 +00:00
Todd R
b3e1b15069 Accepting request 486849 from home:TheBlackCat:branches:devel:languages:python
- Update to 0.25.0.
- Implement singlespec version.

OBS-URL: https://build.opensuse.org/request/show/486849
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=36
2017-04-08 19:04:55 +00:00
f2d4a8b426 Accepting request 449745 from home:AndreasStieger:branches:devel:languages:python
pygit 0.24.2

OBS-URL: https://build.opensuse.org/request/show/449745
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=34
2017-01-12 12:19:25 +00:00
Thomas Bechtold
420d206c48 Accepting request 438236 from home:kwk:branches:devel:languages:python
- Fix Url link (old one was dead).

OBS-URL: https://build.opensuse.org/request/show/438236
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=32
2016-11-02 09:32:38 +00:00
Jan Matejek
9cd8652ecd Accepting request 419057 from home:tbechtold:branches:devel:languages:python
- require the cffi version it was built against
- Use pypi.io as Source url

OBS-URL: https://build.opensuse.org/request/show/419057
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=30
2016-08-15 14:23:37 +00:00
ed2f2feae6 Accepting request 385998 from home:Zaitor:branches:devel:languages:python
Fix build in factory.

OBS-URL: https://build.opensuse.org/request/show/385998
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=28
2016-04-08 09:48:27 +00:00
Todd R
fed868479c Accepting request 334932 from home:TheBlackCat:branches:devel:languages:python
Update to version 0.23.1

OBS-URL: https://build.opensuse.org/request/show/334932
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=26
2015-09-30 09:54:35 +00:00
Denisart Benjamin
4f33cfcee0 Accepting request 331689 from home:posophe:branches:devel:languages:python
update

OBS-URL: https://build.opensuse.org/request/show/331689
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=25
2015-09-17 12:03:24 +00:00
Denisart Benjamin
7ca7e83303 Accepting request 283921 from home:dimstar:Factory
update to 0.22.0

OBS-URL: https://build.opensuse.org/request/show/283921
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=23
2015-02-03 16:09:25 +00:00
Denisart Benjamin
89d9f25bc6 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=22 2014-09-02 18:47:26 +00:00
Denisart Benjamin
50e9fb3a23 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=19 2014-09-02 18:22:34 +00:00
Denisart Benjamin
2f5ac8c80b Accepting request 210102 from home:posophe:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/210102
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=11
2013-12-10 02:38:39 +00:00
Todd R
b0767b5501 Accepting request 195541 from home:TheBlackCat:branches:devel:languages:python
Update to 0.19.0 for openSUSE >= 12.3

OBS-URL: https://build.opensuse.org/request/show/195541
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=9
2013-08-18 13:52:59 +00:00
Ismail Dönmez
ff101b1b0d Accepting request 146457 from home:babelworx:ldig:branches:devel:languages:python
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

OBS-URL: https://build.opensuse.org/request/show/146457
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=5
2012-12-27 20:15:39 +00:00
Sascha Peilicke
8eb2f7c606 - 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
  + Upstream provides no changelog

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=4
2012-12-18 10:57:33 +00:00
Sascha Peilicke
7eebcfb115 - Update to version 0.16.1:
- No changelog

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=3
2012-04-24 09:14:51 +00:00
Sascha Peilicke
d281e2cab7 Accepting request 59191 from home:saschpe
OBS-URL: https://build.opensuse.org/request/show/59191
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=1
2011-02-02 12:49:39 +00:00