Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

paddles/controllers/jobs.py: Add filters to JobsListController #131

Merged
merged 1 commit into from
Feb 26, 2025

Conversation

VallariAg
Copy link
Member

Change 'description' filter from exact match
to checking for substring.

Add filter by build branch, sha1, username,
and posted_before/after.

Use-case examples:

  • jobs/?posted_before=2025-11-03&posted_after=2025-02-20
  • jobs/?posted_before=2025-11-03
  • jobs/?description=teuthology&user=root

Change 'description' filter from exact match
to checking for substring.

Add filter by build branch, sha1, username,
and posted_before/after.

Use-case examples:
- jobs/?posted_before=2025-11-03&posted_after=2025-02-20
- jobs/?posted_before=2025-11-03
- jobs/?description=teuthology&user=root

Signed-off-by: Vallari Agrawal <[email protected]>
Copy link
Member

@zmc zmc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@zmc zmc merged commit 8d1e8c8 into ceph:main Feb 26, 2025
3 checks passed
@zmc
Copy link
Member

zmc commented Feb 26, 2025

Deployed to production!

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