-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
external git pillar docs ref incorrect #56127
Comments
If this is not related to my old salt-version and persists in current salt-versions I can make the PR. |
Confirmed on v3000.
|
@saltstack/docs-working-group |
Could someone clarify which is the correct format. I've always used the one from the docs (see below), and it works. Should I be using If the answer is yes, then I would like to object. Salt should be doing whatever transformation necessary and keep the use of the established format that # grep -A 3 ext_pillar /etc/salt/master
ext_pillar:
- git:
- master git@gitlab.example.com:xxx/yyyy.git:
- root: pillar salt --versions-report# salt --versions-report
Salt Version:
Salt: 2017.7.8
Dependency Versions:
cffi: 1.6.0
cherrypy: Not Installed
dateutil: 1.5
docker-py: Not Installed
gitdb: Not Installed
gitpython: Not Installed
ioflo: Not Installed
Jinja2: 2.7.2
libgit2: 0.26.3
libnacl: Not Installed
M2Crypto: 0.21.1
Mako: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.5.6
mysql-python: Not Installed
pycparser: 2.14
pycrypto: 2.6.1
pycryptodome: 3.9.7
pygit2: 0.26.4
Python: 2.7.5 (default, Apr 2 2020, 13:16:51)
python-gnupg: Not Installed
PyYAML: 3.11
PyZMQ: 15.3.0
RAET: Not Installed
smmap: Not Installed
timelib: Not Installed
Tornado: 4.2.1
ZMQ: 4.1.4
System Versions:
dist: centos 7.8.2003 Core
locale: UTF-8
machine: x86_64
release: 3.10.0-1127.10.1.el7.x86_64
system: Linux
version: CentOS Linux 7.8.2003 Core
|
Git supports all of the url formats in this issue as noted in the man page for git-clone
@rossengeorgiev pygit2 and therefore Salt should also support all of these. I have not dug into this issue enough to know why it's not working for the OP but if your configuration works today it is safe to assume it will keep working in the future. |
I'm wondering if it might be an SSL issue? libgit2/libgit2#3786 |
There is an official libssh2 deprecation announcement on libgit2/libgit2#5225 |
Description of Issue
Docs for git external pillar don't properly show the ref format that pygit2 uses. This causes errors that don't indicate a formatting issue.
docs example
pygit2 example
http error:
ssh error
Setup
(Please provide relevant configs and/or SLS files (Be sure to remove sensitive info).)
Repo used
httpref
https://github.com/wimo7083/test-external-pillar.git
sshref
git@github:wimo7083/test-external-pillar.git
Steps to Reproduce Issue
(Include debug logs if possible and relevant.)
only with pygit2
Versions Report
(Provided by running
salt --versions-report
. Please also mention any differences in master/minion versions.)The text was updated successfully, but these errors were encountered: