Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/cygwin-apps/calm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2017-10-05 14:23:19 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2017-12-20 20:07:22 +0300
commita01b40b06b2623becbffb4e65c32981060801290 (patch)
tree6dd76973f3e90ed3b1efab0ba6586a932e3826af /calm/hint.py
parentef284b75cdfe8eaf79637ac0e80f82bf66d1eb12 (diff)
Add a disable-check: key in pvr.hint to disable certain checks
Add a disable-check: key in pvr.hint to disable certain checks, to gradually supersede the static list in past_mistakes (which needs calm restarting to re-read) disable-check: contains a list of tokens, which indicates which checks are to be downgraded from errors to warnings in pvr.hint, disable-check: can contain: empty-obsolete check that if a binary package is empty and has no source package, it is marked obsolete unique-version check that this binary package has the same version as all other packages made from the same source package These disable-check:s end up being applied to new versions when something is split out from an existing source. That kind of suggests something is not quite right about the test we are doing here. But we are limited because we don't have a source-centric view of things due to source packages not really being a thing yet...
Diffstat (limited to 'calm/hint.py')
-rwxr-xr-xcalm/hint.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/calm/hint.py b/calm/hint.py
index 2f4b8f4..7e30913 100755
--- a/calm/hint.py
+++ b/calm/hint.py
@@ -81,10 +81,9 @@ hintkeys[pvr] = merge_dicts(commonkeys, {
'depends': 'optval',
'build-depends': 'optval',
'obsoletes': 'optval',
- # mark the package as a test version
- 'test': 'noval',
- # version override
- 'version': 'val',
+ 'test': 'noval', # mark the package as a test version
+ 'version': 'val', # version override
+ 'disble-check': 'val',
})
hintkeys[override] = merge_dicts(versionkeys, overridekeys)