2020-12-21 06:10:03 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Packages
|
|
|
|
module Debian
|
2021-06-28 06:07:45 +00:00
|
|
|
DISTRIBUTION_REGEX = %r{[a-z0-9][a-z0-9.-]*}i.freeze
|
|
|
|
COMPONENT_REGEX = DISTRIBUTION_REGEX.freeze
|
|
|
|
ARCHITECTURE_REGEX = %r{[a-z0-9][-a-z0-9]*}.freeze
|
|
|
|
|
2020-12-21 06:10:03 +00:00
|
|
|
def self.table_name_prefix
|
|
|
|
'packages_debian_'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|