Skip to content
This repository has been archived by the owner on Oct 31, 2018. It is now read-only.

Detect dead paths in YAML configuration #10

Closed
fridex opened this issue Mar 13, 2017 · 1 comment
Closed

Detect dead paths in YAML configuration #10

fridex opened this issue Mar 13, 2017 · 1 comment

Comments

@fridex
Copy link
Member

fridex commented Mar 13, 2017

For the following configuration:

tasks:
  - name: A
    import: foo.bar

  - name: B
    import: foo.bar

  - name: C
    import: foo.bar

  - name: D
    import: foo.bar

flows:
  - flow1

flow-definitions:
    - name: flow1
      edges:
        - from:
          to: A
        - from: A
          to: B
        - from:
            - B
            - C
          to: D
        - from: D
          to: C

selinonlib should report error as C and D will never be run due to cyclic dependencies. We should examine attainability of graph nodes in YAML config file.

@fridex
Copy link
Member Author

fridex commented Dec 10, 2017

Replaced with selinon/selinon#90

@fridex fridex closed this as completed Dec 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant