mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
metdata/repoman/*: Add current API version and minimum repoman version info
With teh version field, repoman can check that it meets the API compatibility requirements of the metadata/repoman file(s). The minimum repoman_version is output in the repoman error message if the currently installed repoman is not capable of handling all the file & data features.
This commit is contained in:
@@ -10,7 +10,12 @@
|
||||
# but support for third party module will be limited to the plugin API
|
||||
#
|
||||
|
||||
errors:
|
||||
# Repoman API version (do not edit)
|
||||
version: 1
|
||||
# minimum
|
||||
repoman_version: 2.3.3
|
||||
|
||||
errors:
|
||||
COPYRIGHT_ERROR: 'Invalid Gentoo Copyright on line: %d'
|
||||
LICENSE_ERROR: 'Invalid Gentoo/GPL License on line: %d'
|
||||
ID_HEADER_ERROR: 'Stale CVS header on line: %d'
|
||||
|
||||
@@ -9,6 +9,11 @@
|
||||
# but support for third party module will be limited to the plugin API
|
||||
#
|
||||
|
||||
# Repoman API version (do not edit)
|
||||
version: 1
|
||||
# minimum
|
||||
repoman_version: 2.3.3
|
||||
|
||||
|
||||
allowed_filename_chars: "a-zA-Z0-9._-+:"
|
||||
max_description_length: 80
|
||||
|
||||
@@ -10,6 +10,11 @@
|
||||
# but support for third party module will be limited to the plugin API
|
||||
#
|
||||
|
||||
# Repoman API version (do not edit)
|
||||
version: 1
|
||||
# minimum
|
||||
repoman_version: 2.3.3
|
||||
|
||||
# NOTE: for non-gentoo repos, any custom modules added will need their
|
||||
# module names to the modules list in order for them to run.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user