Commit graph

137 commits

Author SHA1 Message Date
Mohamed El Mouctar HAIDARA
fb71980da4 fix: Replace forgotten my_blocks to block_list + bold edge from play to role 2021-08-29 20:11:43 +02:00
Mohamed El Mouctar HAIDARA
7651b755b7 style: Rename some variables and fields + set root_node in the parser 2021-08-29 20:00:24 +02:00
Mohamed El Mouctar Haidara
0c1094bdc2
Refactor the grapher. Part 2 (#81) 2021-08-29 18:43:27 +02:00
Mohamed El Mouctar HAIDARA
3b27fc0cdd fix(front): Do not unhighlight the current selected node when hovering on parent node 2021-08-04 03:15:17 +02:00
Mohamed El Mouctar HAIDARA
baf8bb06a5 refactor(internal): Add prefix to generate_id function 2021-08-04 02:49:00 +02:00
Mohamed El Mouctar HAIDARA
b57097e89b fix: Refactor the JS part and fix issue when selecting/unselecting nodes 2021-08-04 02:40:25 +02:00
Mohamed El Mouctar HAIDARA
53da4b2a48 release: Prepare for next iteration 2021-08-04 00:54:38 +02:00
Mohamed El Mouctar HAIDARA
9fb54d7137 docs: Update for release 0.11.1 2021-07-28 11:40:53 +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
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
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
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
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
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
Mohamed El Mouctar HAIDARA
6b0d62e0ca feat: Add some types annotations 2020-11-13 00:40:22 +01:00
Mohamed El Mouctar HAIDARA
83b82963ec feat: Add some types annotations 2020-11-13 00:18:20 +01:00
Mohamed El Mouctar HAIDARA
9ab880765c fix: Do not add the skipped tags to the graph 2020-08-01 18:55:33 +02:00
Mohamed El Mouctar HAIDARA
d6412a7a9d fix(postprocessor): No need to remove graph title if we specify a name
This also adds a double quote around the graph name to avoid to handle the special characters.
2020-07-21 00:31:43 +02:00
Mohamed El Mouctar HAIDARA
63a28dcf06 Fix cli help message for --inventory + update message 2020-06-27 00:57:06 +02:00
Mohamed El Mouctar HAIDARA
fd6de3abbe Update CHANGELOG.md for upcoming release: 0.10.0 2020-06-05 23:11:31 +02:00
Mohamed El Mouctar HAIDARA
4db882ab79 Remove unused function 2020-06-05 23:05:59 +02:00
Mohamed El Mouctar HAIDARA
50135a2a22 Do not identity a task with its name on the graph.
This fixes #21
2020-06-05 23:03:42 +02:00
Mohamed El Mouctar HAIDARA
2439825053 Fix some typos in the code 2020-06-05 22:59:34 +02:00
Mohamed El Mouctar HAIDARA
49aca54899 Update __version__ to 0.9.4 2020-05-16 23:01:33 +02:00
Mohamed El Mouctar Haidara
7b3c55d547
Fix playbook with relative var file (#36) 2020-05-16 22:54:50 +02:00
Mohamed El Mouctar HAIDARA
81f63f59ca Update changelog and version for 0.9.3 2020-02-25 17:26:18 +01:00
Peter Mosmans
985a6792ef
Make sure that an element exists before assigning it (#26) 2020-02-25 16:09:15 +00:00
Mohamed El Mouctar HAIDARA
1ce01cd5da Update __version__ in the init 2020-02-18 13:50:49 +00:00
Mohamed El Mouctar Haidara
d875b04115
Support for Ansible 2.9 (#25)
* Drop support for ansible 2.7 and new CLI for ansible 2.9

* Remove python2 support
2020-01-13 20:17:10 +01:00
Mohamed El Mouctar HAIDARA
faf0ae0cb3 Update changelog for 0.9.1 2019-06-10 01:07:22 +02:00
Mohamed El Mouctar Haidara
5f051df6f6
fix #18: New CLI compatible with ansible 2.8 (#19)
This change is needed because of https://github.com/ansible/ansible/pull/50069.

The new CLI in this PR should be used in the future when we drop support
for Ansible < 2.8
2019-06-10 01:00:49 +02:00
Mohamed El Mouctar HAIDARA
156ebeaf58 Bump version 0.9.0 2019-04-08 21:14:26 +02:00
Mohamed El Mouctar HAIDARA
c45ccc39e7 Add dot extension to graphviz exported file 2019-04-03 23:49:08 +02:00
Mohamed El Mouctar HAIDARA
a11a8729c7 Simple quote to double quotes 2019-04-03 23:42:36 +02:00
Mohamed El Mouctar HAIDARA
567abd5407 Pass role to load_list_of_blocks so that they know they are from a role 2019-03-30 01:09:50 +01:00
Mohamed El Mouctar HAIDARA
49c888883b banner with play name 2019-03-30 00:39:37 +01:00
Mohamed El Mouctar HAIDARA
97067c0a68 Add play_counter to play node to distinguish plays with the same hosts 2019-03-29 19:09:42 +01:00