Age | Commit message (Collapse) | Author |
|
Also drop obsolete, genini-compatible --okmissing option from help text.
|
|
|
|
Defaulting this to 'cygwin' isn't a very good idea.
|
|
Fix test data to satisfy that.
|
|
Fixes: d77b94da7803 ("Propagate any error reading packages through mksetupini")
|
|
At the moment, calm.process_relarea() is expected to keep going,
although we might later fail due to package set validation problemss.
(In particular tests just assume that we ignore various problematic
packages, although we don't actually check that they are being rejected
with the epxected problem)
|
|
|
|
Disabling either of 'missing-depended-package' or 'missing-required-package'
checks, implies both of these checks are disabled (since depends: is
generated from requires:, and vice versa, if not present)
|
|
... as well as being repeated
|
|
Add a disable-check: key to hints to disable certain checks, rather than a
static lists in past_mistakes (which needs calm restarting to re-read)
disable-check: contains a list of tokens, similar to those for the
--disable-check option, which indicates which checks are to be downgraded
from errors to warnings for this package
in override.hint, disable-check: can contain:
curr-most-recent
check that the curr: version is the most recent non-test version
Also, don't consider equal mtime to be newer
Also, allow curr-most-recent to be disabled by --disable-check
|
|
Add mksetupini option --disable-check, as a more general replacement for
--okmissing
|
|
|
|
Future work: We probably need something to set requires: hint based on
depends: hint, if one isn't present.
|
|
Validate that the obsoleted packages exist (unless disabled with okmissing)
No validation is done on any version relation which might be specified, but
it's not clear how we can do that...
|
|
|
|
For every package version, either setup.hint or pvr.hint must exist
Read version overrides from override.hint or setup.hint
Factor out reading hints and checking for errors in read_package
|
|
If this option is specified, suppress warning that a package doesn’t
have a current version.
|
|
Rearrange file layout for python packaging
Add setup.py
Use python3 style relative imports
Add calm and mksetupini script entry points
Fix tests to locate testdata in the same directory
|