Open gcotelli opened 3 months ago
I've tried the simple change of adding the library version to the known list of versions, and with this change, I'm able to commit changes. But if you try to push directly from Iceberg the image hangs. And in the console, I see double free or corruption (!prev)
. So, it looks like the changes in git_push_options
break something.
I've attempted a fix in pharo-vcs/libgit2-pharo-bindings/pull/85 The changes are proposed for the Pharo12 branch, they will need review by someone with more knowledge in this area. As far as I was able to test the behavior seems correct and now I can push to remote repositories again.
PR was merged. I do not close yet as this might be backported?
This should be available in next P13's build.
For a backport, I described the procedure to follow here (https://github.com/pharo-vcs/libgit2-pharo-bindings/pull/85):
The following steps need to be followed to make it available in Pharo12
Pharo12
branch (see https://github.com/pharo-vcs/iceberg/blob/c2049ea1b3aef1e256d16edae106e3860050bc25/BaselineOfIceberg/BaselineOfIceberg.class.st#L79)GitHubIceberg is the main toolset for handling VCS in Pharo. - pharo-vcs/iceberg
Bug description Manjaro Linux is distributing libgit2 v1.8 making Iceberg fail with an error of library not found.
This is the relevant release of the library
There are some breaking changes maybe affecting the libgit2 bindings:
To Reproduce Steps to reproduce the behavior:
Expected behavior Updated support for libgit2 1.8
Version information:
Expected development cost Adding the library name to
LGitLibrary>>#unix64LibraryName
is trivial. Someone with more knowledge of libgit2 binding internals needs to evaluate if the breaking changes affect the behavior used by Pharo or not, and requires changes in the external object structs