2021-03-08 18:12:59 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Packages
|
|
|
|
module Debian
|
2023-04-23 21:23:45 +05:30
|
|
|
TEMPORARY_PACKAGE_NAME = 'debian-temporary-package'
|
|
|
|
|
2021-09-30 23:02:18 +05:30
|
|
|
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-10-27 15:23:28 +05:30
|
|
|
LETTER_REGEX = %r{(lib)?[a-z0-9]}.freeze
|
|
|
|
|
2021-03-08 18:12:59 +05:30
|
|
|
def self.table_name_prefix
|
|
|
|
'packages_debian_'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|