|
500 | 500 | }, |
501 | 501 | ), |
502 | 502 | ), |
| 503 | + ( |
| 504 | + "GIT", |
| 505 | + ( |
| 506 | + "git://host.org/Org/Group/subGroup/Repo.git/blob/master/giturlparse/github.py", |
| 507 | + { |
| 508 | + "host": "host.org", |
| 509 | + "resource": "host.org", |
| 510 | + "user": "git", |
| 511 | + "port": "", |
| 512 | + "owner": "Org", |
| 513 | + "repo": "Repo", |
| 514 | + "name": "Repo", |
| 515 | + "groups": ["Group", "subGroup"], |
| 516 | + "path": "master/giturlparse/github.py", |
| 517 | + "path_raw": "/blob/master/giturlparse/github.py", |
| 518 | + "pathname": "/Org/Group/subGroup/Repo.git/blob/master/giturlparse/github.py", |
| 519 | + "branch": "", |
| 520 | + "protocol": "git", |
| 521 | + "protocols": ["git"], |
| 522 | + "platform": "gitlab", |
| 523 | + }, |
| 524 | + ), |
| 525 | + ), |
503 | 526 | ( |
504 | 527 | "GIT", |
505 | 528 | ( |
|
546 | 569 | }, |
547 | 570 | ), |
548 | 571 | ), |
| 572 | + ( |
| 573 | + "GIT", |
| 574 | + ( |
| 575 | + "joe@github.com-work:nephila/giturlparse.git", |
| 576 | + { |
| 577 | + "host": "github.com-work", |
| 578 | + "resource": "github.com-work", |
| 579 | + "user": "joe", |
| 580 | + "port": "", |
| 581 | + "owner": "nephila", |
| 582 | + "repo": "giturlparse", |
| 583 | + "name": "giturlparse", |
| 584 | + "groups": [], |
| 585 | + "path": "", |
| 586 | + "path_raw": "", |
| 587 | + "pathname": "nephila/giturlparse.git", |
| 588 | + "branch": "", |
| 589 | + "protocol": "ssh", |
| 590 | + "protocols": [], |
| 591 | + "github": False, |
| 592 | + "platform": "gitlab", |
| 593 | + }, |
| 594 | + ), |
| 595 | + ), |
| 596 | + ( |
| 597 | + "SSH", |
| 598 | + ( |
| 599 | + "git@gitlab.example.com/groupA/projectB.git", |
| 600 | + { |
| 601 | + "host": "gitlab.example.com", |
| 602 | + "resource": "gitlab.example.com", |
| 603 | + "user": "git", |
| 604 | + "port": "", |
| 605 | + "owner": "groupA", |
| 606 | + "repo": "projectB", |
| 607 | + "name": "projectB", |
| 608 | + "groups": [], |
| 609 | + "path": "", |
| 610 | + "path_raw": "", |
| 611 | + "pathname": "/groupA/projectB.git", |
| 612 | + "branch": "", |
| 613 | + "protocol": "ssh", |
| 614 | + "protocols": [], |
| 615 | + "github": False, |
| 616 | + "platform": "gitlab", |
| 617 | + }, |
| 618 | + ), |
| 619 | + ), |
| 620 | + ( |
| 621 | + "SSH", |
| 622 | + ( |
| 623 | + "ssh://git@gitlab.example.com/groupA/projectB.git", |
| 624 | + { |
| 625 | + "host": "gitlab.example.com", |
| 626 | + "resource": "gitlab.example.com", |
| 627 | + "user": "git", |
| 628 | + "port": "", |
| 629 | + "owner": "groupA", |
| 630 | + "repo": "projectB", |
| 631 | + "name": "projectB", |
| 632 | + "groups": [], |
| 633 | + "path": "", |
| 634 | + "path_raw": "", |
| 635 | + "pathname": "/groupA/projectB.git", |
| 636 | + "branch": "", |
| 637 | + "protocol": "ssh", |
| 638 | + "protocols": ["ssh"], |
| 639 | + "github": False, |
| 640 | + "platform": "gitlab", |
| 641 | + }, |
| 642 | + ), |
| 643 | + ), |
549 | 644 | ) |
550 | 645 |
|
551 | 646 | INVALID_PARSE_URLS = ( |
|
0 commit comments