Welcome to mirror list, hosted at ThFree Co, Russian Federation.

debian.rb « packages « models « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2daafe0ebcf36e351f04a3fc47d4f8d798c0a1f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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