gitea源码

metadata.go 825B

123456789101112131415161718192021222324
  1. // Copyright 2022 The Gitea Authors. All rights reserved.
  2. // SPDX-License-Identifier: MIT
  3. package conan
  4. const (
  5. PropertyRecipeUser = "conan.recipe.user"
  6. PropertyRecipeChannel = "conan.recipe.channel"
  7. PropertyRecipeRevision = "conan.recipe.revision"
  8. PropertyPackageReference = "conan.package.reference"
  9. PropertyPackageRevision = "conan.package.revision"
  10. PropertyPackageInfo = "conan.package.info"
  11. )
  12. // Metadata represents the metadata of a Conan package
  13. type Metadata struct {
  14. Author string `json:"author,omitempty"`
  15. License string `json:"license,omitempty"`
  16. ProjectURL string `json:"project_url,omitempty"`
  17. RepositoryURL string `json:"repository_url,omitempty"`
  18. Description string `json:"description,omitempty"`
  19. Keywords []string `json:"keywords,omitempty"`
  20. }