Commit graph

13 commits

Author SHA1 Message Date
Vicki Pfau
127eab4863 Fix some clippy::pedantic warnings 2024-08-30 16:52:17 -07:00
Vicki Pfau
6815b7d695 Run cargo fmt 2024-08-27 19:53:55 -07:00
Vicki Pfau
6a08ce823e job: Rename DBus interfaces Job and JobManager to Job1 and JobManager1 2024-08-27 19:43:57 -07:00
Vicki Pfau
39ea3b0d41 Clean up flaky tests to be more reliable 2024-08-24 00:32:56 -07:00
Vicki Pfau
3dfcb471cb job: Executable names should be passed as AsRef<OsStr> instead of &str 2024-08-12 18:28:36 -07:00
Vicki Pfau
69076acedc job: Add mirror relay test 2024-07-25 21:29:14 -07:00
Vicki Pfau
90b382cf7e job: Add service to listen for jobs starting 2024-07-25 21:29:14 -07:00
Vicki Pfau
3c56afe921 job: Add method to mirror jobs from an already-running daemon 2024-07-25 21:29:14 -07:00
Vicki Pfau
35eb5631ff job: Add job mirroring 2024-07-25 21:29:14 -07:00
Vicki Pfau
ae2351594f job: Move add_job to separate function
Split out the work of creating a new job path in preparation of job mirrors
being added
2024-07-25 21:29:14 -07:00
Vicki Pfau
8e3fc1afeb job: Add JobManagerInterface to emit JobStarted signal
This adds the JobManagerInterface helper object to emit a signal when a job is
started. It also renames the job prefix to be its own path so that the
JobManagerInterface can claim that as an object.
2024-07-25 21:29:14 -07:00
Vicki Pfau
bc9cb4d414 job: Make Job struct private
This does not need to be public, and nothing was using it.
2024-07-18 16:06:45 -07:00
Vicki Pfau
603cd7217c job: Split out from process
Rename ProcessManager to JobManager, as that's what it really handles. This
also renames get_command_object_path, which actually spawns a job instead of
just getting something. Further, it moves job spawning into the Job object
instead of being a helper function on ProcessManager.
2024-07-16 20:12:26 -07:00