diff options
Diffstat (limited to 'app/models/packages/debian.rb')
-rw-r--r-- | app/models/packages/debian.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/packages/debian.rb b/app/models/packages/debian.rb index f7f7f9f95e9..e20f1b8244a 100644 --- a/app/models/packages/debian.rb +++ b/app/models/packages/debian.rb @@ -2,6 +2,10 @@ 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 + def self.table_name_prefix 'packages_debian_' end |