1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189
|
use strict;
use warnings;
return [
{
'author' => [
'Dominique Dumont'
],
'class_description' => 'The upstream metadata file is meant to contain machine-readable metadata about the upstream project, its community and processes.
Information in this file should not be specific to Debian, and be relevant for other distributions as well.
For more details, see L<https://dep-team.pages.debian.net/deps/dep12/>
',
'copyright' => [
'2025, Dominique Dumont'
],
'element' => [
'Archive',
{
'description' => 'The name of the large archive that the upstream work is part of, like CPAN.',
'type' => 'leaf',
'value_type' => 'uniline'
},
'ASCL-Id',
{
'description' => 'Identification code in the L<http://ascl.net>',
'type' => 'leaf',
'value_type' => 'uniline'
},
'Bug-Database',
{
'description' => 'A URL to the list of known bugs for the project.',
'type' => 'leaf',
'value_type' => 'string'
},
'Bug-Submit',
{
'description' => 'A URL that is the place where new bug reports should be sent.',
'type' => 'leaf',
'value_type' => 'uniline'
},
'Cite-As',
{
'description' => 'The way the authors want their software be cited in publications. The value is a string which might contain a link in valid HTML syntax. (L<http://lists.debian.org/debian-science/2012/05/msg00008.html>)',
'type' => 'leaf',
'value_type' => 'uniline'
},
'Changelog',
{
'description' => 'URL to the upstream changelog.',
'type' => 'leaf',
'value_type' => 'uniline'
},
'Contact',
{
'description' => 'Contact should be specified in debian/copyright',
'status' => 'deprecated',
'type' => 'leaf',
'value_type' => 'uniline'
},
'CPE',
{
'description' => 'One or more space separated L<http://cpe.mitre.org/> values useful to look up relevant CVEs in the L<https://nvd.nist.gov/home.cfm> and other CVE sources. See CPEtagPackagesDep for information on how this information can be used. Example: "cpe:/a:ethereal_group:ethereal"',
'type' => 'leaf',
'value_type' => 'uniline'
},
'Documentation',
{
'description' => 'A URL to online documentation.',
'type' => 'leaf',
'value_type' => 'uniline'
},
'Donation',
{
'description' => 'A URL to a donation form (or instructions).',
'type' => 'leaf',
'value_type' => 'uniline'
},
'FAQ',
{
'description' => 'A URL to the online FAQ.',
'type' => 'leaf',
'value_type' => 'uniline'
},
'Funding',
{
'description' => 'One or more sources of funding which have supported this project (e.g. NSF OCI-12345).',
'type' => 'leaf',
'value_type' => 'uniline'
},
'Gallery',
{
'description' => 'A URL to a gallery of pictures made with the program (not screenshots).',
'type' => 'leaf',
'value_type' => 'uniline'
},
'Homepage',
{
'description' => 'Homepage should be specified in debian/control',
'status' => 'deprecated',
'type' => 'leaf',
'value_type' => 'uniline'
},
'Other-References',
{
'description' => 'A URL to a upstream page containing more references.',
'type' => 'leaf',
'value_type' => 'uniline'
},
'Reference',
{
'cargo' => {
'config_class_name' => 'Dpkg::Upstream::Metadata::Reference',
'type' => 'node'
},
'description' => 'One or more bibliographic references. The values for the keys are always scalars, and the keys that correspond to standard BibTeX entries must provide the same content.',
'type' => 'list'
},
'Registration',
{
'description' => 'A URL to a registration form (or instructions). This could be registration of bug reporting accounts, registration for counting/contacting users etc.',
'type' => 'leaf',
'value_type' => 'uniline'
},
'Registry',
{
'description' => 'This field shall point to external catalogs/registries of software. The field features an array of "Name (of registry) - Entry (ID of software in that catalog)" pairs. The names and entries shall only be names, not complete URIs, to avoid any bias on mirrors etc. Example: C< Registry: - Name: bio.tools Entry: clustalw - Name: OMICtools Entry: OMICS_02562 - Name: SciCrunch Entry: SCR_002909> Valid `Name` entries for Registry are: L<https://bio.tools/>, L<https://biii.eu/>, L<https://omictools.com/>, L<https://scicrunch.org/>, L<https://bioconda.github.io/>, L<https://opam.ocaml.org/> and L<https://pypi.org/>. Other channels of conda can be referenced analogously by their name, for instance L<https://conda-forge.org/> or L<https://anaconda.org/r>, but may not yet be prepared to be interpreted. Special value of "Entry" C<NA> means that a catalog/registry is confirmed to not have an entry for this software.',
'type' => 'leaf',
'value_type' => 'uniline'
},
'Repository',
{
'description' => 'URL to a repository containing the upstream sources.',
'type' => 'leaf',
'value_type' => 'uniline'
},
'Repository-Browse',
{
'description' => 'A URL to browse the repository containing the upstream sources.',
'type' => 'leaf',
'value_type' => 'uniline'
},
'Screenshots',
{
'description' => 'One or more URLs to upstream pages containing screenshots (not C<screenshots.debian.net>), represented by a scalar or a sequence of scalars.',
'type' => 'leaf',
'value_type' => 'string'
},
'Security-Contact',
{
'description' => 'Which person, mailing list, forum,… to send security-related messages in the first place.',
'type' => 'leaf',
'value_type' => 'uniline'
},
'Upstream-Contact',
{
'description' => 'Upstream-Contact should be specified in debian/copyright',
'status' => 'deprecated',
'type' => 'leaf',
'value_type' => 'uniline'
},
'Upstream-Name',
{
'description' => 'Upstream-Name should be specified in debian/copyright',
'status' => 'deprecated',
'type' => 'leaf',
'value_type' => 'uniline'
},
'Webservice',
{
'description' => 'URL to an web page where the packaged program can also be used.',
'type' => 'leaf',
'value_type' => 'uniline'
}
],
'name' => 'Dpkg::Upstream::Metadata',
'rw_config' => {
'auto_create' => '1',
'auto_delete' => '1',
'backend' => 'Yaml',
'config_dir' => 'debian/upstream',
'file' => 'metadata'
}
}
]
;
|