Skip to content

pidwait: Use common process_matcher (+ move a pidwait feature there)#323

Merged
Krysztal112233 merged 3 commits intouutils:mainfrom
dezgeg:pgrep_pkill_unification3
Feb 18, 2025
Merged

pidwait: Use common process_matcher (+ move a pidwait feature there)#323
Krysztal112233 merged 3 commits intouutils:mainfrom
dezgeg:pgrep_pkill_unification3

Conversation

@dezgeg
Copy link
Contributor

@dezgeg dezgeg commented Feb 15, 2025

Copy remaining process-matching feature of pidwait to process_matcher so pgrep and pkill can utilize it, then move pidwait to use the common process_matcher as well.

@dezgeg dezgeg force-pushed the pgrep_pkill_unification3 branch 2 times, most recently from 9cb9c21 to 5a11134 Compare February 15, 2025 18:52
pidwait already has a check for this, copy it to the common
process_matcher implementation.

Some tests need adjustment to not use such long fake names.
Its matching functionality should be a superset of what pidwait can
currently do.
@dezgeg dezgeg force-pushed the pgrep_pkill_unification3 branch from 5a11134 to b633a46 Compare February 17, 2025 16:49
Copy link
Collaborator

@Krysztal112233 Krysztal112233 left a comment

Choose a reason for hiding this comment

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

It's very exciting, thanks!

@Krysztal112233 Krysztal112233 merged commit a2d49d6 into uutils:main Feb 18, 2025
14 checks passed
@codecov
Copy link

codecov bot commented Feb 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 0.00%. Comparing base (967d288) to head (b633a46).
Report is 13 commits behind head on main.

Additional details and impacted files
@@     Coverage Diff     @@
##   main   #323   +/-   ##
===========================
===========================

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

3 participants