-
Notifications
You must be signed in to change notification settings - Fork 942
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dependabot doesn't work with projects in GitLab subgroups #4106
Comments
Hi @b1rdex, currently our support for GitLab is community contributed as we don't have the resources to maintain this ourselves. I'd be happy to review a PR that addresses this, it looks like the error is raised here. I'm not sure why these specific repo's don't seem to have a |
I think the problem is in the regex for Gitlab in
I've tried to come up with something better but haven't managed yet. I added this test (which currently fail) to source_spec.rb :
context "with a GitLab subgroup URL" do
let(:url) { "https://gitlab.com/org/group/abc/blob/master/dir/readme.md" }
its(:provider) { is_expected.to eq("gitlab") }
its(:repo) { is_expected.to eq("org/group/abc") }
its(:directory) { is_expected.to eq("dir") }
end |
I use dependabot-script to run Dependabot on self-hosted GitLab issue. The tool is working fine, but there is a problem with repositories, that are located in the subgroups – the names like
group/subgroup/repository
.The text was updated successfully, but these errors were encountered: