diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-09-26 18:06:29 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-09-26 18:06:29 +0000 |
commit | e66d6781ef36e39d15b1b9bc84cc30e87969edad (patch) | |
tree | 0165ff173dee501a55115d605dd8fa8a09f8d313 /lib/bitbucket | |
parent | 4e9f718e190a944c39fda2a178eb8b901e7e6ec7 (diff) | |
download | gitlab-ce-e66d6781ef36e39d15b1b9bc84cc30e87969edad.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/bitbucket')
-rw-r--r-- | lib/bitbucket/client.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/bitbucket/client.rb b/lib/bitbucket/client.rb index 1343f424c51..92894575ec2 100644 --- a/lib/bitbucket/client.rb +++ b/lib/bitbucket/client.rb @@ -38,8 +38,10 @@ module Bitbucket Representation::Repo.new(parsed_response) end - def repos + def repos(filter: nil) path = "/repositories?role=member" + path += "&q=name~\"#{filter}\"" if filter + get_collection(path, :repo) end |