Commit graph

331 commits

Author SHA1 Message Date
Mohamed El Mouctar HAIDARA
30795af49d test: Add Ansible 2.10.7 in the test matrix 2021-08-04 00:36:48 +02:00
Mohamed El Mouctar HAIDARA
6835c96963 docs(changelog): Reformat CHANGELOG 2021-08-03 23:52:13 +02:00
Mohamed El Mouctar HAIDARA
9fb54d7137 docs: Update for release 0.11.1 2021-07-28 11:40:53 +02:00
dependabot-preview[bot]
549f8e4144 Upgrade to GitHub-native Dependabot 2021-07-28 00:01:17 +02:00
dependabot-preview[bot]
ed7afd6eae
build(deps): Bump pytest from 6.2.2 to 6.2.4 (#76)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.2.2 to 6.2.4.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/6.2.2...6.2.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-07-27 23:58:01 +02:00
dependabot-preview[bot]
ee6f9ea828
build(deps): Bump pytest-cov from 2.11.1 to 2.12.1 (#78)
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 2.11.1 to 2.12.1.
- [Release notes](https://github.com/pytest-dev/pytest-cov/releases)
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v2.11.1...v2.12.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-07-27 23:54:40 +02:00
Mohamed El Mouctar Haidara
1d4cb691a7
Merge pull request #74 from haidaraM/fix/dropAnsible2.8
fix: Drop support for ansible 2.8
2021-07-27 23:41:18 +02:00
Mohamed El Mouctar HAIDARA
a24138191b ci: Add pip freeze after installing dependencies 2021-05-09 16:19:44 +02:00
Mohamed El Mouctar HAIDARA
4ce09488c9 fix: remove some workaround about ansible 2.8 and update docs 2021-05-09 16:12:47 +02:00
Mohamed El Mouctar HAIDARA
9205d824a4 fix: Drop support for ansible 2.8 2021-05-09 16:12:47 +02:00
Mohamed El Mouctar HAIDARA
be2ecc6b57 ci: Do not trigger build twice on pushing on PRs 2021-05-09 16:05:59 +02:00
Mohamed El Mouctar HAIDARA
8c023ac122 docs: Update changelog 2021-04-02 11:02:42 +02:00
Mohamed El Mouctar Haidara
b2a80daaa7
Merge pull request #71 from adamchainz/unpin_requirements
Unpin requirements
2021-04-02 10:55:44 +02:00
Adam Johnson
0984058e9f Unpin requirements
lxml has a security release in version 4.6.3, however I cannot upgrade to it due to ansible-playbook-grapher pinning it directly. As an installable tool that can interact with a virtualenv, ansible-playbook-grapher should not pin dependencies but declare ranges up until the next backwards-incompatible version, to allow users to fetch such upgrades.
2021-04-02 09:33:04 +01:00
Mohamed El Mouctar HAIDARA
1d2eebdecc fix(ci): Run github actions on pull requests 2021-04-01 21:44:33 +02:00
Mohamed El Mouctar HAIDARA
28ec1f7e4b chore: Prepare for next iteration (maybe 0.12) 2021-04-01 21:36:59 +02:00
Sonu Lohani
7bec77084c fix: Correct graph exported display message 2021-04-01 21:30:01 +02:00
Mohamed El Mouctar HAIDARA
ee63ee2d2f docs: Update __version__ to 0.11.0 2021-02-14 21:48:58 +01:00
Mohamed El Mouctar HAIDARA
07f8b3b575 docs: Finalize changelog for 0.11.0 2021-02-14 21:44:34 +01:00
Mohamed El Mouctar HAIDARA
6644f0efa3 docs: Update changelog 2021-02-14 02:42:29 +01:00
Mohamed El Mouctar HAIDARA
9acd5beb26 feat: add type hints to tests 2021-02-14 02:41:33 +01:00
Mohamed El Mouctar HAIDARA
7adcc90d9a fix: Fix test after adding a tooltip 2021-02-14 02:32:03 +01:00
Mohamed El Mouctar HAIDARA
0e74a33eba fix: Show task name instead of its ID on hover
Closes #57
2021-02-14 01:56:33 +01:00
Mohamed El Mouctar HAIDARA
b796ca62ab docs: Update changelog for the next version 0.11.0 2021-02-14 01:45:32 +01:00
dependabot-preview[bot]
4a1ab38611 build(deps): Bump pyquery from 1.4.1 to 1.4.3
Bumps [pyquery](https://github.com/gawel/pyquery) from 1.4.1 to 1.4.3.
- [Release notes](https://github.com/gawel/pyquery/releases)
- [Changelog](https://github.com/gawel/pyquery/blob/master/CHANGES.rst)
- [Commits](https://github.com/gawel/pyquery/compare/1.4.1...1.4.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-14 01:43:59 +01:00
dependabot-preview[bot]
9ebdb401d0 build(deps): Bump packaging from 20.4 to 20.9
Bumps [packaging](https://github.com/pypa/packaging) from 20.4 to 20.9.
- [Release notes](https://github.com/pypa/packaging/releases)
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pypa/packaging/compare/20.4...20.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-14 01:40:19 +01:00
dependabot-preview[bot]
ce5a02148e build(deps): Bump graphviz from 0.14.2 to 0.16
Bumps [graphviz](https://github.com/xflr6/graphviz) from 0.14.2 to 0.16.
- [Release notes](https://github.com/xflr6/graphviz/releases)
- [Changelog](https://github.com/xflr6/graphviz/blob/master/CHANGES.txt)
- [Commits](https://github.com/xflr6/graphviz/compare/0.14.2...0.16)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-14 01:33:05 +01:00
dependabot-preview[bot]
bf6c573325 build(deps): Bump pytest-cov from 2.10.1 to 2.11.1
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 2.10.1 to 2.11.1.
- [Release notes](https://github.com/pytest-dev/pytest-cov/releases)
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v2.10.1...v2.11.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-14 01:30:24 +01:00
dependabot-preview[bot]
d1c32637db build(deps): Bump pytest from 6.1.2 to 6.2.2
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.1.2 to 6.2.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/6.1.2...6.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-14 01:20:59 +01:00
Mohamed El Mouctar HAIDARA
a9be9d3695 fix: Trying to fix coveralls
https://github.com/lemurheavy/coveralls-public/issues/1435
2021-02-03 16:24:31 +01:00
dependabot-preview[bot]
e3da59b75b build(deps): Bump lxml from 4.6.1 to 4.6.2
Bumps [lxml](https://github.com/lxml/lxml) from 4.6.1 to 4.6.2.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-4.6.1...lxml-4.6.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-03 16:12:01 +01:00
Mohamed El Mouctar HAIDARA
fe1ec8eeee docs: Update changelog for next version 2020-11-28 16:59:35 +01:00
Mohamed El Mouctar HAIDARA
cfe77af021 refactor: Rename _include_task to _graph_task 2020-11-28 16:53:01 +01:00
Mohamed El Mouctar HAIDARA
5b2cdfbe23 style: Replace some format by f-string 2020-11-28 16:53:01 +01:00
Mohamed El Mouctar HAIDARA
6ee7165fa1 refactor: Generate node IDs from a util function 2020-11-28 16:53:01 +01:00
Mohamed El Mouctar HAIDARA
871dbb58c2 refactor: Use an abstract class to provide the run() method to the CLIs
This also fixes the CLI to not run the parse method twice.
2020-11-28 16:53:01 +01:00
Mohamed El Mouctar HAIDARA
a40b0f25c0 refactor: Move render_graph to BaseGrapher 2020-11-28 16:53:01 +01:00
Mohamed El Mouctar HAIDARA
278ccccfa5 refactor: Move PostProcessor to a dedicated file 2020-11-28 16:53:01 +01:00
Mohamed El Mouctar HAIDARA
c0e913044b refactor: Remove post process from the grapher class 2020-11-28 16:53:01 +01:00
Mohamed El Mouctar HAIDARA
a891b2e0cd feat: Add more debug info + improve counter 2020-11-28 16:53:01 +01:00
Mohamed El Mouctar HAIDARA
e75c487e25 fix: Fix display verbosity
Looks like the display is a singleton. As such we need to override it's verbosity after getting the singleton instance
2020-11-28 16:53:01 +01:00
Mohamed El Mouctar HAIDARA
645c942e17 refactor: Clean code and simplification
This introduces a new class BaseGrapher from which the PlaybookGrapher inherits. The goal is to split the PlaybookGrapher into simpler class later on. This change

Some methods have been refactored a little bit also.

style: Set instance attribute before creating objects
2020-11-28 16:53:01 +01:00
Mohamed El Mouctar HAIDARA
548db27939 fix: Fix pytest warning (remove rootdir from pytest.ini) 2020-11-17 20:24:46 +01:00
Mohamed El Mouctar HAIDARA
47b4581349 fix(postprocessor): Do not try to append root to element if not found
And do not run xpath twice.
2020-11-15 03:00:50 +01:00
Mohamed El Mouctar HAIDARA
fb4c836cbe feat: Add tests for CLI verbosity 2020-11-15 01:50:27 +01:00
Mohamed El Mouctar Haidara
0ef1ed587d
docs: Update Readme 2020-11-15 00:25:59 +01:00
Mohamed El Mouctar HAIDARA
d54ca20bce docs: Update readme 2020-11-14 14:15:37 +01:00
Mohamed El Mouctar HAIDARA
9a04285382 docs: Update changelog for next version (TBD) 2020-11-14 13:49:29 +01:00
Mohamed El Mouctar HAIDARA
4e10b03334 fix: Attach play to role edge to play_subgraph
instead of role one
2020-11-14 13:31:35 +01:00
Mohamed El Mouctar HAIDARA
9622137ee6 fix: Rename Grapher.graph to Grapher.graphiz_graph 2020-11-13 01:13:48 +01:00