claranet / ansible-gendoc

Auto generate Ansible documentation
Mozilla Public License 2.0
26 stars 7 forks source link

fix split issue to determine repo information #2

Closed vincentDcmps closed 2 years ago

stephrobert commented 2 years ago

Can you explain the reason of this PR ?

vincentDcmps commented 2 years ago

When I generate my document with an origin type "ssh://git@git.ducamps.win:2222/ansible-roles/system.git" repourl variable was not set.

Moreover an exception was raise to determine repoowner

stephrobert commented 2 years ago

I fixthe code with a regex to extract information

stephrobert commented 2 years ago

Good news i fixed it with giturlparse lib

stephrobert commented 2 years ago

Next time create an Issue. Please

stephrobert commented 2 years ago

Next time create an Issue. Please