Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pygit2.write_archive() looses executable permissions #616

Closed
ignatenkobrain opened this issue Apr 6, 2016 · 1 comment
Closed

pygit2.write_archive() looses executable permissions #616

ignatenkobrain opened this issue Apr 6, 2016 · 1 comment

Comments

@ignatenkobrain
Copy link
Contributor

I have repo with some files with executable flag.

Unfortunately, after pygit2.write_archive() it looses it.

ignatenkobrain pushed a commit to ignatenkobrain/pygit2 that referenced this issue Apr 6, 2016
Reference: libgit2#616
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
ignatenkobrain pushed a commit to ignatenkobrain/pygit2 that referenced this issue Apr 6, 2016
Reference: libgit2#616
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
ignatenkobrain pushed a commit to ignatenkobrain/pygit2 that referenced this issue Apr 6, 2016
Reference: libgit2#616
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
@jdavid
Copy link
Member

jdavid commented Apr 19, 2019

Should be fixed now PR #898 is merged.

@jdavid jdavid closed this as completed Apr 19, 2019
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this issue May 1, 2019
0.28.1 (2019-04-19)
-------------------------

- Now works with pycparser 2.18 and above
  `#846 <https://github.com/libgit2/pygit2/issues/846>`_

- Now ``Repository.write_archive(..)`` keeps the file mode
  `#616 <https://github.com/libgit2/pygit2/issues/616>`_
  `#898 <https://github.com/libgit2/pygit2/pull/898>`_

- New ``Patch.data`` returns the raw contents of the patch as a byte string
  `#790 <https://github.com/libgit2/pygit2/pull/790>`_
  `#893 <https://github.com/libgit2/pygit2/pull/893>`_

- New ``Patch.text`` returns the contents of the patch as a text string,
  deprecates `Patch.patch`
  `#790 <https://github.com/libgit2/pygit2/pull/790>`_
  `#893 <https://github.com/libgit2/pygit2/pull/893>`_

Deprecations:

- ``Patch.patch`` is deprecated, use ``Patch.text`` instead
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this issue May 19, 2019
0.28.1 (2019-04-19)
-------------------------

- Now works with pycparser 2.18 and above
  `#846 <https://github.com/libgit2/pygit2/issues/846>`_

- Now ``Repository.write_archive(..)`` keeps the file mode
  `#616 <https://github.com/libgit2/pygit2/issues/616>`_
  `#898 <https://github.com/libgit2/pygit2/pull/898>`_

- New ``Patch.data`` returns the raw contents of the patch as a byte string
  `#790 <https://github.com/libgit2/pygit2/pull/790>`_
  `#893 <https://github.com/libgit2/pygit2/pull/893>`_

- New ``Patch.text`` returns the contents of the patch as a text string,
  deprecates `Patch.patch`
  `#790 <https://github.com/libgit2/pygit2/pull/790>`_
  `#893 <https://github.com/libgit2/pygit2/pull/893>`_

Deprecations:

- ``Patch.patch`` is deprecated, use ``Patch.text`` instead
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants