2021-01-08 16:10:30 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class Packages::Debian::GroupDistribution < ApplicationRecord
|
|
|
|
def self.container_type
|
|
|
|
:group
|
|
|
|
end
|
|
|
|
|
|
|
|
include Packages::Debian::Distribution
|
2021-05-11 14:10:36 -04:00
|
|
|
|
|
|
|
def packages
|
|
|
|
Packages::Package
|
|
|
|
.for_projects(group.all_projects.public_only)
|
|
|
|
.with_debian_codename(codename)
|
|
|
|
end
|
2021-01-08 16:10:30 -05:00
|
|
|
end
|