Commit Graph

31 Commits (30133bec1bd9a3b7b7a26ee9142a56a8ecbd0c3c)
 

Author SHA1 Message Date
blob42 30133bec1b update debug log 1 month ago
blob42 ff2bbd8456 update readme, example 1 month ago
blob42 dece876102 update TODO
Signed-off-by: blob42 <contact@blob42.xyz>
1 month ago
blob42 964eb1dbbd typo 1 month ago
blob42 d4686885cb readme 1 month ago
blob42 1fbff5c5e6 chore: clean debug code 1 month ago
blob42 b379a50762 feat: match process by regex pattern + tests 1 month ago
blob42 34b8644e8f fix test fake bins 1 month ago
blob42 c276e791f3 bacon conf
Signed-off-by: blob42 <contact@blob42.xyz>
1 month ago
blob42 742a38307f refactored process pattern parsing
- auto parse PatternIn<String> and PatternIn<Regex>
- use regex boolean in config to parse regex patterns

Signed-off-by: blob42 <contact@blob42.xyz>
1 month ago
blob42 4f00694df4 fix test for match exe pattern
Signed-off-by: blob42 <contact@blob42.xyz>
3 months ago
blob42 08cfa4341a lint
Signed-off-by: blob42 <contact@blob42.xyz>
3 months ago
blob42 73b7628edb fix exec_end + run_once commands
- exiting the matching condition of a command will run the `exec_end`.
- exec_end is run only once if `run_once` is true.

TODO: tests
Signed-off-by: blob42 <contact@blob42.xyz>
3 months ago
blob42 fb90ec4850 fix one-off commands
todo: exec_end
Signed-off-by: blob42 <contact@blob42.xyz>
3 months ago
blob42 6f1d51615f add CI
Signed-off-by: blob42 <contact@blob42.xyz>
3 months ago
blob42 aa6d44ce28 chore
Signed-off-by: blob42 <contact@blob42.xyz>
3 months ago
blob42 fb0607fc5b add license
Signed-off-by: blob42 <contact@blob42.xyz>
3 months ago
blob42 e2a71432fe lint and better integration tests
Signed-off-by: blob42 <contact@blob42.xyz>
3 months ago
blob42 3c565c364e improved process matching traits, update tests
Signed-off-by: blob42 <contact@blob42.xyz>
3 months ago
blob42 5d630ac48f wip: MatchBy for Process and process pattern matchers
- lint and refactor into mods

Signed-off-by: blob42 <contact@blob42.xyz>
3 months ago
blob42 c57e92e7d5 StateMatcher and StateTracker traits
- future possiblity to have multipler matchers such as memory, and cpu
usage and their corresponding trackers
- updated tests
- Scheduler can take dyn jobs

Signed-off-by: blob42 <contact@blob42.xyz>
3 months ago
blob42 b2785a2f96 test: use parametrized cases
Signed-off-by: blob42 <contact@blob42.xyz>
3 months ago
blob42 8869a1e7dc refactor lib done tests fix
Signed-off-by: blob42 <contact@blob42.xyz>
3 months ago
blob42 f7c267a914 refactor to lib.rs
TODO:
- update tests
- impl new tests
3 months ago
blob42 5fd833f0a2 wip test process condition
Signed-off-by: blob42 <contact@blob42.xyz>
3 months ago
blob42 02345c2aff ProcCondition -> ProcLifetime
Signed-off-by: blob42 <contact@blob42.xyz>
3 months ago
blob42 0390e2e7f2 wip process library and traits refactor
Signed-off-by: blob42 <contact@blob42.xyz>
3 months ago
blob42 b5e7432eac condition matcher prototype
Signed-off-by: blob42 <contact@blob42.xyz>
3 months ago
blob42 ff393791b3 condition matcher trait
Signed-off-by: blob42 <contact@blob42.xyz>
3 months ago
blob42 fdcddeb399 refactor, proto v2
Signed-off-by: blob42 <contact@blob42.xyz>
3 months ago
blob42 54f0159213 initial
Signed-off-by: blob42 <contact@blob42.xyz>
3 months ago