Welcome to mirror list, hosted at ThFree Co, Russian Federation.

group_distribution.rb « debian « packages « models « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 01938f4a2ec89a6e7add26da806b2b9715195ea5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

class Packages::Debian::GroupDistribution < ApplicationRecord
  def self.container_type
    :group
  end

  include Packages::Debian::Distribution

  def packages
    Packages::Package
      .for_projects(group.all_projects.public_only)
      .with_debian_codename(codename)
  end
end