action #124493
Updated by mkittler almost 2 years ago
## Observation Both [OpenQA documentation](http://open.qa/docs/#_handling_of_dependencies_when_cloning_jobs) and `openqa-clone-job --help` say that `--skip-deps` and `--skip-chained-deps` should only prevent cloning of **parent** jobs. In reality, however, both options will prevent cloning of all (chained) dependencies regardless of parent/child relationship (even when you specify `--clone-children`). This means there is currently no way to clone a dependency subtree without parents using `openqa-clone-job`. The subtree can only be restarted in webUI which does not support modifying settings of the restarted jobs. ## Acceptance criteria * **AC1:** There is a way to clone a dependency subtree without parents using `openqa-clone-job` (in accordance with the documentation). ## Suggestions * It probably worked in the past, maybe a regression? * Create a set of dependent jobs locally (e.g. by setting dependencies manually within the database or by cloning a set of jobs from production) and run `openqa-clone-job` locally with parameters mention in description * Extend unit tests