Commit graph

128 commits

Author SHA1 Message Date
dependabot[bot]
d0faeddb58
chore(deps): update black requirement from ~=23.7 to ~=23.9 (#156)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-01 07:48:10 +02:00
dependabot[bot]
aacefb0765
chore(deps): bump pytest from 7.4.0 to 7.4.2 (#157)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-01 07:47:31 +02:00
dependabot[bot]
067e351995
chore(deps): bump pytest from 7.3.1 to 7.4.0 (#152)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-12 00:52:35 +02:00
dependabot[bot]
5f5d7fc6a8
chore(deps): update black requirement from ~=23.3 to ~=23.7 (#153)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-12 00:52:23 +02:00
dependabot[bot]
7922f50eff
chore(deps): bump pytest-cov from 4.0.0 to 4.1.0 (#149)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-03 20:22:50 +02:00
Mohamed El Mouctar Haidara
f2c3fc89cf
feat(mermaid): Add support for loop icon (#146) 2023-05-13 18:21:39 +02:00
Mohamed El Mouctar Haidara
389e6ffda3
Initial support for mermaidjs (#144)
Co-authored-by: haidaraM <haidaraM@users.noreply.github.com>
2023-05-13 14:41:07 +02:00
Mohamed El Mouctar Haidara
bc318c5814
feat: Refactor the rendering part to make it more extensible (#143)
Co-authored-by: haidaraM <haidaraM@users.noreply.github.com>
2023-05-10 18:45:57 +02:00
dependabot[bot]
226bbd9a7f
chore(deps): bump pytest from 7.3.0 to 7.3.1 (#142)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-02 22:43:19 +02:00
dependabot[bot]
9fff5c50fd
chore(deps): update black requirement from ~=23.0 to ~=23.3 (#141)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-02 22:42:46 +02:00
dependabot[bot]
086c7b16ce
chore(deps): bump pytest from 7.1.3 to 7.3.0 (#140)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-02 22:33:59 +02:00
Mohamed El Mouctar Haidara
84d759d70c
ci: Trigger black on python file changes only + autocommit (#139)
Co-authored-by: haidaraM <haidaraM@users.noreply.github.com>
2023-04-12 16:43:44 +02:00
dependabot[bot]
31a264b285
chore(deps): bump pyquery from 1.4.3 to 2.0.0 (#135)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-04 09:47:51 +01:00
Mohamed El Mouctar Haidara
3326ab0dde
feat: Add rendered images to job summary (#112) 2022-10-17 15:46:07 +02:00
Mohamed El Mouctar Haidara
12cee0fbd5
feat: Add test cases for role dependencies (#127) 2022-10-11 00:32:23 +02:00
dependabot[bot]
0b1124b8f1
chore(deps): update ansible-core requirement from <2.13,>=2.11 to >=2.12,<2.14 (#115)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mohamed El Mouctar HAIDARA <elmhaidara@gmail.com>
2022-10-09 14:12:57 +02:00
dependabot[bot]
a8dfd02434
chore(deps): bump pytest from 7.1.2 to 7.1.3 (#126)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-01 14:07:13 +02:00
dependabot[bot]
1c329326a7
chore(deps): bump pytest-cov from 3.0.0 to 4.0.0 (#125)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-01 12:16:00 +02:00
Mohamed El Mouctar Haidara
75f26a9ea2
feat: Add a flag to group roles by name - Revert the old behavior (#122) 2022-08-20 14:35:27 +02:00
Mohamed El Mouctar Haidara
e7f23daee7
fix: Roles usages and do not use multiple edges for role tasks (#120) 2022-08-17 22:20:55 +02:00
Mohamed El Mouctar HAIDARA
4599b10f4f fix: Only render role once for multiple playbooks and refactor 2022-08-15 02:37:03 +02:00
Mohamed El Mouctar Haidara
af67fd5f60
feat: Add support multiple playbooks in one graph (#118) 2022-08-14 22:59:46 +02:00
Mohamed El Mouctar Haidara
89534c1fd3
feat: Add test case for community downloaded roles and collections (#117) 2022-07-30 20:54:55 +02:00
Mohamed El Mouctar Haidara
f3dbfd0ed1
fix: Render a single node when multiple playbooks use the same role (#111)
* fix: Render a single node when multiple playbooks use the same role

Related to #110
2022-07-02 11:40:00 +02:00
Mohamed El Mouctar HAIDARA
3f6dd6f27b tests: change assert order for consistency 2022-06-26 18:02:49 +02:00
dependabot[bot]
8f877a6d49
chore(deps): bump pytest from 7.1.1 to 7.1.2 (#107)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-19 00:02:42 +02:00
Mohamed El Mouctar Haidara
2d5f70d6f6
refactor(internal): Remove useless EdgeNode (#109) 2022-06-18 00:11:16 +02:00
dependabot[bot]
9f0ea1e7c8
chore(deps): bump pytest from 7.0.1 to 7.1.1 (#106)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.0.1 to 7.1.1.
- [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/7.0.1...7.1.1)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-23 19:17:19 +02:00
dependabot[bot]
a4553455e2
chore(deps): bump pytest from 6.2.5 to 7.0.1 (#105)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.2.5 to 7.0.1.
- [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.5...7.0.1)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-13 15:05:03 +01:00
Mohamed El Mouctar Haidara
d61ba1ed0b
fix: Properly rank the edges in the graphs and sub-graphs (#104) 2022-02-15 19:47:32 +01:00
Mohamed El Mouctar Haidara
0e16ceb53e
refactor: format the code with black (#102) 2022-02-07 23:41:13 +01:00
Mohamed El Mouctar Haidara
826c6ef284
feat: Open node file when double-clicking on it from a browser (#79) 2022-01-29 14:47:09 +01:00
Mohamed El Mouctar Haidara
2ce66443dc
fix: Do not pass display as param since it's a singleton + init locale to fix warning (#101) 2022-01-25 22:55:35 +01:00
Mohamed El Mouctar HAIDARA
8500784e09 test: Add assert to check if the warning is displayed to users 2022-01-11 22:42:03 +01:00
Mohamed El Mouctar Haidara
c05cc91aac
fix: Fix include_role with loop and list index out of range (#99)
Related to #80
2022-01-11 22:32:10 +01:00
Mohamed El Mouctar Haidara
5615043089
fix: Fix include_role with loop (#92) 2022-01-09 20:24:52 +01:00
Mohamed El Mouctar Haidara
1f2f2be408
fix: Properly manage include in pre_tasks and post_tasks (#97) 2022-01-06 23:49:52 +01:00
Mohamed El Mouctar HAIDARA
5f6d356fe9 style: replace .format by fstring and fix typo 2022-01-02 13:39:13 +01:00
Mohamed El Mouctar Haidara
3c4961dec0
fix: Block can only contain tasks regardless of the context (#96)
Fixes #95
2022-01-01 09:47:25 +01:00
Mohamed El Mouctar HAIDARA
c8f42e1ea3 refactor: Move test_install.sh to tests/ 2021-11-11 18:27:48 +01:00
dependabot[bot]
9c9327014b
chore(deps): bump pytest-cov from 2.12.1 to 3.0.0 (#90)
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 2.12.1 to 3.0.0.
- [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.12.1...v3.0.0)

---
updated-dependencies:
- dependency-name: pytest-cov
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-07 18:32:46 +01:00
Mohamed El Mouctar HAIDARA
2bf42cd8d5 tests: Set display verbosity and use only one for all tests 2021-10-03 21:08:28 +02:00
Mohamed El Mouctar HAIDARA
f0a0d8b60e tests: Rename fake_role_2 and update tasks 2021-10-03 21:00:58 +02:00
Mohamed El Mouctar HAIDARA
dbdf3fb48f test: TEST_VIEW_GENERATED_FILE should be == 1 to view the graphs during testing [ci skip] 2021-10-03 20:01:02 +02:00
Mohamed El Mouctar Haidara
0dc6034992
feat: Parser improvements + tests (#89) 2021-10-03 16:04:08 +02:00
Mohamed El Mouctar HAIDARA
585eb6311f feat: Add support for when on include_role 2021-09-29 01:12:42 +02:00
Mohamed El Mouctar Haidara
77d3f2bd6a
feat: Add ability do distinguish the explicit block on the graph (#86) 2021-09-26 18:18:09 +02:00
Mohamed El Mouctar HAIDARA
9a0fdec592 fix(tests): Correctly insert --view option 2021-09-25 00:21:47 +02:00
Mohamed El Mouctar Haidara
8c9ad83206
feat: Add option to automatically view the generated file (#88)
This new option --view will automatically open the resulting SVG file with your system’s default viewer application for the file type
2021-09-25 00:09:20 +02:00
Mohamed El Mouctar HAIDARA
2c9c65a802 tests: Add missing docs + type annotations 2021-09-24 23:54:41 +02:00