gitlab-org--gitlab-foss/app/models/packages/debian.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
344 B
Ruby
Raw Normal View History

# frozen_string_literal: true
module Packages
module Debian
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
LETTER_REGEX = %r{(lib)?[a-z0-9]}.freeze
def self.table_name_prefix
'packages_debian_'
end
end
end