Class: API::ConanPackages

Inherits:
Grape::API::Instance
  • Object
show all
Defined in:
lib/api/conan_packages.rb

Constant Summary collapse

PACKAGE_REQUIREMENTS =
{
  package_name: API::NO_SLASH_URL_PART_REGEX,
  package_version: API::NO_SLASH_URL_PART_REGEX,
  package_username: API::NO_SLASH_URL_PART_REGEX,
  package_channel: API::NO_SLASH_URL_PART_REGEX
}.freeze
FILE_NAME_REQUIREMENTS =
{
  file_name: API::NO_SLASH_URL_PART_REGEX
}.freeze
PACKAGE_COMPONENT_REGEX =
Gitlab::Regex.conan_recipe_component_regex
CONAN_REVISION_REGEX =
Gitlab::Regex.conan_revision_regex
CONAN_FILES =
(Gitlab::Regex::Packages::CONAN_RECIPE_FILES + Gitlab::Regex::Packages::CONAN_PACKAGE_FILES).freeze