File tree Expand file tree Collapse file tree 2 files changed +25
-1
lines changed
Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 4242 r'[:/]*'
4343 r'(?P<port>[\d]+){0,1}'
4444 r'(?P<pathname>\/((?P<owner>[\w\-]+)\/)?'
45- r'((?P<name>[\w\-]+ )(\.git)?)?)$' ),
45+ r'((?P<name>[\w\-\.]+? )(\.git)?)?)$' ),
4646 re .compile (r'(git\+)?'
4747 r'((?P<protocol>\w+)://)'
4848 r'((?P<user>\w+)@)?'
Original file line number Diff line number Diff line change @@ -236,6 +236,30 @@ def first_match_urls():
236236 'name' : 'sphinx' ,
237237 'owner' : 'sphinx-doc' ,
238238 },
239+ # https://github.com/retr0h/git-url-parse/issues/33
240+ 'https://github.com/tterranigma/Stouts.openvpn' : {
241+ 'pathname' : '/tterranigma/Stouts.openvpn' ,
242+ 'protocols' : ['https' ],
243+ 'protocol' : 'https' ,
244+ 'href' : 'https://github.com/tterranigma/Stouts.openvpn' ,
245+ 'resource' : 'github.com' ,
246+ 'user' : None ,
247+ 'port' : None ,
248+ 'name' : 'Stouts.openvpn' ,
249+ 'owner' : 'tterranigma' ,
250+ },
251+ # https://github.com/retr0h/git-url-parse/issues/33
252+ 'https://github.com/tterranigma/Stouts.openvpn.git' : {
253+ 'pathname' : '/tterranigma/Stouts.openvpn.git' ,
254+ 'protocols' : ['https' ],
255+ 'protocol' : 'https' ,
256+ 'href' : 'https://github.com/tterranigma/Stouts.openvpn.git' ,
257+ 'resource' : 'github.com' ,
258+ 'user' : None ,
259+ 'port' : None ,
260+ 'name' : 'Stouts.openvpn' ,
261+ 'owner' : 'tterranigma' ,
262+ },
239263 }
240264
241265
You can’t perform that action at this time.
0 commit comments