Skip to content

Incorrect parse result of gitlab ref #328

Closed

Description

@pawelru
pkgdepends::parse_pkg_ref("gitlab::https://foo.bar.com/aa/bb/cc")
#> $package
#> [1] "aa"
#> 
#> $protocol
#> [1] "https"
#> 
#> $host
#> [1] "foo.bar.co"
#> 
#> $username
#> [1] "m"
#> 
#> $repo
#> [1] "aa"
#> 
#> $subdir
#> [1] "bb/cc"
#> 
#> $commitish
#> [1] "HEAD"
#> 
#> $ref
#> [1] "gitlab::https://foo.bar.com/aa/bb/cc"
#> 
#> $path
#> [1] "/m/"
#> 
#> $dotgit
#> [1] ""
#> 
#> $url
#> [1] "https://foo.bar.co/m/aa.git"
#> 
#> $type
#> [1] "gitlab"
#> 
#> $params
#> character(0)
#> 
#> attr(,"class")
#> [1] "remote_ref_gitlab" "remote_ref"        "list"

Created on 2023-08-02 with reprex v2.0.2

Please have a look at host and username elements.

Activity

  1. added
    bug
    on Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions