debian-mirror-gitlab/app/models/packages/debian/group_distribution.rb
2023-04-23 21:23:45 +05:30

16 lines
330 B
Ruby

# 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)
.debian
.with_debian_codename(codename)
end
end