Skip to content

Conversation

@sashalevin
Copy link

Mostly so I could do stuff like:

kci-dev results tests --giturl https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git --branch master --arch x86_64 --latest --config "chrome"

Or:

kci-dev results tests --giturl https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git --branch main --compatible imx6q --latest

Sasha Levin added 11 commits June 11, 2025 21:15
Add support for filtering results by tree name across the dashboard and
maestro-results commands. This allows users to filter builds, boots, and
tests by the kernel tree name (e.g., mainline, linux-next, stable).

Signed-off-by: Sasha Levin <sashal@kernel.org>
Add start-date and end-date filters for results and maestro-results
commands to filter by date ranges.

Signed-off-by: Sasha Levin <sashal@kernel.org>
Add --compiler option to filter build and test results by compiler
(e.g., gcc, clang). The filter is case-insensitive.

Signed-off-by: Sasha Levin <sashal@kernel.org>
Add --config option to filter by kernel configuration (e.g., defconfig,
allmodconfig).

Signed-off-by: Sasha Levin <sashal@kernel.org>
Add --hardware option to filter by hardware platform name or compatible.

Signed-off-by: Sasha Levin <sashal@kernel.org>
Add --test-path option to filter by test path (e.g., baseline.login).

Signed-off-by: Sasha Levin <sashal@kernel.org>
Add --git-branch option to filter by git branch name.

Signed-off-by: Sasha Levin <sashal@kernel.org>
Add --compatible option to filter by device tree compatible string.

Signed-off-by: Sasha Levin <sashal@kernel.org>
Add --min-duration and --max-duration options to filter by test
duration.

Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
…oss commands

- Add BaseFilter abstract class and concrete implementations for all filter types
- Create FilterSet class to manage and apply multiple filters
- Add unified Click decorators in filter_options.py for consistent CLI options

Signed-off-by: Sasha Levin <sashal@kernel.org>
@aliceinwire aliceinwire merged commit 165dcb1 into kernelci:main Jun 13, 2025
5 checks passed
JenySadadia pushed a commit to JenySadadia/kci-dev that referenced this pull request Jun 13, 2025
Fix the below error related to missing command line
options in command `builds` definition.
```
File "kcidev/subcommands/results/options.py", line 117, in wrapper
   return func(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^
TypeError: builds() got an unexpected keyword argument 'hardware'
```
Issue introduced by PR: kernelci#175

Signed-off-by: Jeny Sadadia <jeny.sadadia@collabora.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants