Metadata-Version: 2.1
Name: controlgraph
Version: 0.1.1
Summary: Generate build order graph from directory of debian packaging repositories
Home-page: https://openswitch.net
License: UNKNOWN
Author: Dell inc.
Author-email: opx-infra@openswitch.net
Requires-Python: >=3.5,<4
Description-Content-Type: text/markdown
Classifier: License :: OSI Approved :: MIT License
Requires-Dist: dbp
Requires-Dist: networkx

# controlgraph

Given a directory of repositories with Debian packaging, return the proper build order.

## Installation

```bash
pip3 install controlgraph
```

## Usage

With a bunch of directories present, run `controlgraph`.

```bash
$ git clone https://github.com/open-switch/SAI
$ git clone https://github.com/open-switch/opx-nas-acl
$ git clone https://github.com/open-switch/opx-nas-daemon
$ git clone https://github.com/open-switch/opx-logging
$ git clone https://github.com/open-switch/sai-bcm
$ git clone https://github.com/open-switch/opx-common-utils

$ controlgraph
opx-logging opx-common-utils opx-nas-acl opx-nas-daemon SAI opx-sai-bcm
```

Pair it with [`dbp`](https://github.com/opx-infra/dbp) for easy full builds.

```bash
dbp build $(controlgraph)
```

