git-url-parse icon indicating copy to clipboard operation
git-url-parse copied to clipboard

A simple GIT URL parser.

Results 9 git-url-parse issues
Sort by recently updated
recently updated
newest added

when parsing HTTPS urls the server url of the originating repository is not parsed. We would need to parse urls for both github.com and our internal github enterprise server instance...

``` >>> p = giturlparse.parse("https://github.com/test/foo/") >>> p Parsed(pathname='foo/', protocols=['https'], protocol='ssh', href='https://github.com/test/foo/', resource='test', user=None, port=None, name=None, owner='foo') >>> p = giturlparse.parse("https://github.com/test/foo") >>> p Parsed(pathname='/test/foo', protocols=['https'], protocol='https', href='https://github.com/test/foo', resource='github.com', user=None, port=None, name='foo',...

improving the regex to parse more exotic URLs. Signed-off-by: André Roth

These patterns are returned by npm registry, eg, http://registry.npmjs.com/commander where the protocols are bundled together. It would be nice if giturlparse could add this patterns too.

git allows local urls in it's path Currently the parser will put some un-helpful values in the parsed object's tuples if this is the case Possibly there can be some...

help wanted

This repo was/is `https://github.com/retr0h/git-url-parse`, and has just been transferred to the @coala group to assist with maintenance. There are a few things which need to be updated, which can be...

https://github.com/nephila/giturlparse/ is `giturlparse` on PyPI. It has become more active recently. As the two modules share the installed module name `giturlparse` we should either aim to having the same API,...

Under version 1.2.0 I this URL which correctly specifies a branch, PROD, works fine: ``` In [1]: import giturlparse; giturlparse.parse('git+ssh://[email protected]_dept.uw.edu/uwmydept/my_repo.git@PROD') Out[1]: Parsed(pathname='/uwmydept/my_repo.git', protocols=['git', 'ssh'], protocol='ssh', href='git+ssh://[email protected]_dept.uw.edu/uwmydept/my_repo.git@PROD', resource='gitlab.my_dept.uw.edu', user='git', port=None, name='my_repo',...

SOOS has a free community edition for open source projects and publishes CycleonDX, SPDX, and VEX SBOMs- which will include any vulnerability attestations you make. It would be great to...