2020-12-21 01:10:03 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Packages
|
|
|
|
module Debian
|
2021-06-28 02:07:45 -04: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
|
|
|
|
|
2021-07-27 08:10:54 -04:00
|
|
|
LETTER_REGEX = %r{(lib)?[a-z0-9]}.freeze
|
|
|
|
|
2020-12-21 01:10:03 -05:00
|
|
|
def self.table_name_prefix
|
|
|
|
'packages_debian_'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|