github.com/gitbundle/modules@v0.0.0-20231025071548-85b91c5c3b01/packages/conan/metadata.go (about)

     1  // Copyright 2023 The GitBundle Inc. All rights reserved.
     2  // Copyright 2017 The Gitea Authors. All rights reserved.
     3  // Use of this source code is governed by a MIT-style
     4  // license that can be found in the LICENSE file.
     5  
     6  package conan
     7  
     8  const (
     9  	PropertyRecipeUser       = "conan.recipe.user"
    10  	PropertyRecipeChannel    = "conan.recipe.channel"
    11  	PropertyRecipeRevision   = "conan.recipe.revision"
    12  	PropertyPackageReference = "conan.package.reference"
    13  	PropertyPackageRevision  = "conan.package.revision"
    14  	PropertyPackageInfo      = "conan.package.info"
    15  )
    16  
    17  // Metadata represents the metadata of a Conan package
    18  type Metadata struct {
    19  	Author        string   `json:"author,omitempty"`
    20  	License       string   `json:"license,omitempty"`
    21  	ProjectURL    string   `json:"project_url,omitempty"`
    22  	RepositoryURL string   `json:"repository_url,omitempty"`
    23  	Description   string   `json:"description,omitempty"`
    24  	Keywords      []string `json:"keywords,omitempty"`
    25  }