recommended version of gitfs integration? PyGit2 vs GitPython?

29 views
Skip to first unread message

Urs Rau

unread,
Jan 20, 2025, 5:59:27 AMJan 20
to Salt-users
On a almalinux v. 8 salt master trying to switch from a purely localfs backed salt roots master to a gitfs backed roots. 

which of the two flavours of either GitPython-3.1.18-2.el8.or python-pygit2-0.26.4-1.el8 would you recommend we switch to? 

Are they both equally well supported and integrated with current salt >= 3007 or are there benefits of switching to one over switching to the other? 

Thanks for any suggestions, comments or shared experiences. 

Phipps, Thomas

unread,
Jan 20, 2025, 6:26:54 AMJan 20
to salt-...@googlegroups.com

niether is good. if you are on 3007 you should be salt-pip installing python modules. system packages do not install into the relenv python.

salt-pip install 'pygit2==1.14.1'

as for gitpython vs pygit2. depends on if you are using login. if you are logging in you need pygit2. gitpython does not handle many login situations.


--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/salt-users/2dcedd5e-9b26-450d-beea-b05ba53c8297n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages