Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | reformat with black 24 | Arthur Zamarin | 2024-01-26 | 1 | -3/+4 |
| | | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | scan: fix unknown exit checkset during initial config load | Arthur Zamarin | 2023-06-29 | 1 | -1/+3 |
| | | | | | | | | | Similar to previous fix, `--exit`` also can accept checksets which come from args, so we also need to "escape" failures of ExitArgs. Follows: a2358d60680611d7cbe07068440031c3c6e68f31 Resolves: https://github.com/pkgcore/pkgcheck/issues/594 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | scan: fix unknown checkset during initial config load | Arthur Zamarin | 2023-05-11 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | The config load is performed in multiple stages: 1. parse `--config` path 2. load bundled config 3. load user & system configs 4. parse cmd args (needed for repo and targets) 5. load repo's config 6. parse full cmd args The problem is that the checkset is parsed during stage 4, which means it hasn't loaded the repo's config yet. While a more correct solution would be to parse only needed args during stage 4, it wasn't simple since the targets collect everything, including cmd args. So instead this just patches temporarily to not fail upon unknown checksets. Resolves: https://github.com/pkgcore/pkgcheck/issues/576 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | scan: Replace NOCOLOR by NO_COLOR | Ulrich Müller | 2023-03-01 | 1 | -1/+1 |
| | | | | | | | | | NO_COLOR is an informal standard that is followed by many programs, see https://no-color.org/. Signed-off-by: Ulrich Müller <ulm@gentoo.org> Closes: https://bugs.gentoo.org/898230 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | scan: fix quiet mode with keywords | Arthur Zamarin | 2023-01-20 | 1 | -0/+4 |
| | | | | | Resolves: https://github.com/pkgcore/pkgcheck/issues/413 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | scan: suppress non-error results in quiet mode | Arthur Zamarin | 2023-01-20 | 1 | -1/+4 |
| | | | | | | | When in quiet mode, include in scan only results of error level. Resolves: https://github.com/pkgcore/pkgcheck/issues/413 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | format using black | Arthur Zamarin | 2022-12-29 | 9 | -237/+345 |
| | | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | setup.py: move to pure setuptools | Arthur Zamarin | 2022-11-19 | 1 | -2/+6 |
| | | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | scan: add support for NOCOLOR to disable colors | Arthur Zamarin | 2022-11-19 | 1 | -0/+3 |
| | | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | scan: respect jobs count from MAKEOPTS | Arthur Zamarin | 2022-09-30 | 1 | -2/+18 |
| | | | | | | | | | When selecting the default `--jobs` value for `pkgcheck scan`, respect `MAKEOPTS`. As a result, it selects the correct value during tests phase. Bug: https://bugs.gentoo.org/799314 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | scan: move `--stabletime` arg to StableRequestCheck | Arthur Zamarin | 2022-08-25 | 1 | -8/+0 |
| | | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | StableRequestCheck: Add stabletime config option | Emily Rowlands | 2022-08-14 | 1 | -0/+8 |
| | | | | | | | | | | This commit adds an option allows the user to specify the time before a version is flagged by StableRequestCheck. The primary use case for this is in overlays where the stabilisation policy may be different from ::gentoo. Signed-off-by: Emily Rowlands <emily@erowl.net> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | pkgcheck show: fix missing f-string | Tim Harder | 2021-03-17 | 1 | -6/+5 |
| | |||||
* | pkgcheck scan: always load settings from bundled config | Tim Harder | 2021-03-04 | 1 | -0/+3 |
| | |||||
* | pkgcheck: make snakeoil register known subcommands internally | Tim Harder | 2021-03-02 | 1 | -8/+1 |
| | |||||
* | pkgcheck: suppress pkgcore-specific help options | Tim Harder | 2021-02-26 | 1 | -1/+1 |
| | | | | | They're still supported for now, just not shown when --help or similar is used. | ||||
* | move addons into separate subdir | Tim Harder | 2021-02-26 | 3 | -3/+3 |
| | |||||
* | move and rename custom argparse actions module | Tim Harder | 2021-02-26 | 3 | -12/+361 |
| | |||||
* | pkgcheck scan: add more context why piped input blocks | Tim Harder | 2021-02-26 | 1 | -2/+4 |
| | |||||
* | fix module import sorting with isort | Tim Harder | 2021-02-21 | 7 | -12/+5 |
| | |||||
* | add initial ci subcommand support | Tim Harder | 2021-02-21 | 2 | -0/+46 |
| | | | | That helps support the pkgcheck github action. | ||||
* | pkgcheck scan: parallelize profile node scan targets by dir | Tim Harder | 2021-02-19 | 1 | -3/+2 |
| | |||||
* | pkgcheck scan: minor updates for comma-separated arg docs | Tim Harder | 2021-02-19 | 1 | -9/+9 |
| | |||||
* | scripts: split shared argparsers into a separate module | Tim Harder | 2021-02-17 | 5 | -70/+71 |
| | |||||
* | scripts: move config_argparser to scan module | Tim Harder | 2021-02-17 | 2 | -16/+17 |
| | | | | Since it's not used by any other command. | ||||
* | pkgcheck: use ArgumentParser from arghparse where possible | Tim Harder | 2021-02-17 | 1 | -3/+4 |
| | | | | | Instead of pkgcore's slightly enhanced version that injects config and domain options. | ||||
* | pkgcheck.scripts: force subcmds to use proper prog settings | Tim Harder | 2021-02-17 | 4 | -5/+6 |
| | |||||
* | pkgcheck.scripts: split subcommands into separate modules | Tim Harder | 2021-02-17 | 5 | -703/+735 |
| | |||||
* | pkgcheck scan: simplify eclass/profile restriction generation | Tim Harder | 2021-02-13 | 1 | -10/+5 |
| | |||||
* | pkgcheck scan: drop unnecessary restriction collapse support | Tim Harder | 2021-02-08 | 1 | -13/+1 |
| | | | | Checkrunners are now generated per restriction and run in parallel. | ||||
* | pipeline: collapse restrictions to list during generation phase | Tim Harder | 2021-02-08 | 1 | -18/+18 |
| | |||||
* | pkgcheck: add 'style' keyword group to related arg docs | Tim Harder | 2021-02-08 | 1 | -5/+5 |
| | |||||
* | Pipeline: generate checkrunners per restriction | Tim Harder | 2021-02-08 | 1 | -0/+3 |
| | | | | Fixes #279. | ||||
* | pkgcheck replay: drop pickle stream support | Tim Harder | 2021-01-29 | 1 | -20/+5 |
| | |||||
* | base: use better info for Scope __str__() | Tim Harder | 2020-12-29 | 1 | -2/+2 |
| | |||||
* | pkgcheck scan: descend into profiles dir path targets | Tim Harder | 2020-12-27 | 1 | -2/+3 |
| | | | | | Meaning it will report any subprofile issues when pointed at a parent profile. | ||||
* | pkgcheck scan: fix restriction generation for direct profile file | Tim Harder | 2020-12-26 | 1 | -3/+3 |
| | |||||
* | pkgcheck scan: support profiles dir targets | Tim Harder | 2020-12-26 | 1 | -8/+12 |
| | | | | | | Note that it currently doesn't descend into subdirs so targeting a profiles dir is generally like targeting a single profile node for testing. | ||||
* | make targeted profiles file restrictions limit to node scope | Tim Harder | 2020-12-26 | 1 | -1/+1 |
| | | | | | So non-incremental profiles dir checks aren't also run when a node-specific restriction is targeted. | ||||
* | pkgcheck scan: always set default restrictions last | Tim Harder | 2020-12-26 | 1 | -1/+1 |
| | |||||
* | pkgcheck scan: add support for profile file target restrictions | Tim Harder | 2020-12-26 | 1 | -8/+15 |
| | |||||
* | git: add initial incremental profile scanning support | Tim Harder | 2020-12-26 | 1 | -1/+1 |
| | |||||
* | drop unused import | Tim Harder | 2020-12-24 | 1 | -1/+0 |
| | |||||
* | pkgcheck scan: perform remaining check validation during pipeline creation | Tim Harder | 2020-12-24 | 1 | -49/+0 |
| | |||||
* | Pipeline: fix scope comparisons | Tim Harder | 2020-12-24 | 1 | -2/+2 |
| | | | | | Multiprocessing and other cases can cause object recreation so we can't rely on the is operator to work correctly in all situations. | ||||
* | pkgcheck scan: improve wording for disabled -f/--filter docs | Tim Harder | 2020-12-24 | 1 | -5/+5 |
| | |||||
* | pkgcheck scan: add docs for disabled and targeted -f/--filter args | Tim Harder | 2020-12-24 | 1 | -1/+11 |
| | |||||
* | pkgcheck scan: add todo note about argparsing | Tim Harder | 2020-12-23 | 1 | -1/+4 |
| | |||||
* | pkgcheck: use separate repo argparser instance | Tim Harder | 2020-12-23 | 1 | -11/+10 |
| | | | | | So it can be used for both 'scan' and 'cache' subcommands without duplicating adding the argument. | ||||
* | pkgcheck scan: add docs for additive -c/--checks args | Tim Harder | 2020-12-23 | 1 | -6/+10 |
| |