windows: Create a decent win_git module #9

Closed
opened 2022-11-06 20:13:26 +00:00 by benie · 2 comments
Owner

The win_git module I found here
turns out to not get very good. It stopped working after Git for Windows 2.36.1
and does not pull the latest changes like the builtin git module does. Here's
some explanation from the git role.

Pinned to 2.36.1 because the unofficial win_git module hangs when using
2.37.3, this is either a breaking change in 2.37.x or an incompatibility with
the win_git module. The git chocolatey package does not respect the version
argument and always installs the most recent version, so instead download the
installer from GitHub and install manually.

The `win_git` module I found [here](https://github.com/tivrobo/ansible-win_git) turns out to not get very good. It stopped working after Git for Windows 2.36.1 and does not pull the latest changes like the builtin `git` module does. Here's some explanation from the `git` role. > Pinned to 2.36.1 because the unofficial win_git module hangs when using > 2.37.3, this is either a breaking change in 2.37.x or an incompatibility with > the win_git module. The git chocolatey package does not respect the version > argument and always installs the most recent version, so instead download the > installer from GitHub and install manually.
Author
Owner
Useful reading: * [ansible.windows](https://docs.ansible.com/ansible/latest/collections/ansible/windows/index.html) * [community.windows](https://docs.ansible.com/ansible/latest/collections/community/windows/index.html) * [gh-community.windows](https://github.com/ansible-collections/community.windows) * [dev-win_modules](https://docs.ansible.com/ansible/latest/dev_guide/developing_modules_general_windows.html)
Author
Owner

Fixed in bec20420ff

Fixed in bec20420fff754e24da3aa91eecd6d3d419b0c04
benie closed this issue 2024-04-06 14:20:02 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: config/local#9
No description provided.