debian-mirror-gitlab/app/finders/packages/composer/packages_finder.rb

17 lines
404 B
Ruby
Raw Normal View History

2020-07-28 23:09:34 +05:30
# frozen_string_literal: true
module Packages
module Composer
class PackagesFinder < Packages::GroupPackagesFinder
def initialize(current_user, group, params = {})
@current_user = current_user
@group = group
@params = params
end
def execute
2021-06-08 01:23:25 +05:30
packages_for_group_projects(installable_only: true).composer.preload_composer
2020-07-28 23:09:34 +05:30
end
end
end
end