From 13c55af160dd68ef6e570e6521151c9e002c0119 Mon Sep 17 00:00:00 2001 From: Francisco Gindre Date: Thu, 16 Jun 2022 14:54:14 -0300 Subject: [PATCH] [#17] Create Android and iOS specific views of the Wallet DAG Closes #17 This adds two new views of the Wallet DAG: `ios` and `android`. They focus only on the repos directly related to those platforms proving a more concise DAG that is more suitable for platform focused tasks such as backlog grooming or sprint planning. This commit also adds respective gh-pages.yml tasks, template scripts for users building the DAGs locally and a `README.md` update. Add `href` tags for Android and iOS DAGs turn on `SHOW_MILESTONES` for Wallet DAG PR Suggestions --- .github/workflows/gh-pages.yml | 17 +++++++++++++++++ README.md | 2 ++ index.html | 2 ++ template_scripts/generate_schemas.sh | 12 ++++++++++++ template_scripts/generate_wallet_android_dag.sh | 7 +++++++ template_scripts/generate_wallet_dag.sh | 7 +++++++ template_scripts/generate_wallet_ios_dag.sh | 7 +++++++ 7 files changed, 54 insertions(+) create mode 100644 template_scripts/generate_schemas.sh create mode 100644 template_scripts/generate_wallet_android_dag.sh create mode 100644 template_scripts/generate_wallet_dag.sh create mode 100644 template_scripts/generate_wallet_ios_dag.sh diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 638ea53..7b7b522 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -66,6 +66,23 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ZENHUB_TOKEN: ${{ secrets.ZENHUB_TOKEN }} DAG_VIEW: wallet + SHOW_MILESTONES: true + + - name: Render ECC iOS Wallet DAG + run: python3 ./zcash-issue-dag.py + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + ZENHUB_TOKEN: ${{ secrets.ZENHUB_TOKEN }} + DAG_VIEW: wallet-ios + SHOW_MILESTONES: true + + - name: Render ECC Android Wallet DAG + run: python3 ./zcash-issue-dag.py + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + ZENHUB_TOKEN: ${{ secrets.ZENHUB_TOKEN }} + DAG_VIEW: wallet-android + SHOW_MILESTONES: true - name: Render ZF DAG run: python3 ./zcash-issue-dag.py diff --git a/README.md b/README.md index 93fd925..0e6e771 100644 --- a/README.md +++ b/README.md @@ -55,4 +55,6 @@ ZENHUB_TOKEN= \ poetry run python ./zcash-issue-dag.py ``` +You can find a series of template script files inside the folder `template_scripts`. + diff --git a/index.html b/index.html index 174322b..60488ab 100644 --- a/index.html +++ b/index.html @@ -9,6 +9,8 @@

Currently this is just hosting DAGs showing dependencies between issues and PRs, for several Zcash teams.

ECC core team DAG

ECC wallet team DAG

+

ECC wallet team Android DAG

+

ECC wallet team iOS DAG

ZF DAG

Halo2-focused DAG

diff --git a/template_scripts/generate_schemas.sh b/template_scripts/generate_schemas.sh new file mode 100644 index 0000000..6331749 --- /dev/null +++ b/template_scripts/generate_schemas.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +#GITHUB_TOKEN= \ +#ZENHUB_TOKEN= \ +poetry run python3 -m sgqlc.introspection \ + --exclude-deprecated \ + --exclude-description \ + -H "Authorization: bearer $GITHUB_TOKEN" \ + https://api.github.com/graphql \ + github_schema.json + +poetry run sgqlc-codegen schema github_schema.json github_schema.py diff --git a/template_scripts/generate_wallet_android_dag.sh b/template_scripts/generate_wallet_android_dag.sh new file mode 100644 index 0000000..5b3c935 --- /dev/null +++ b/template_scripts/generate_wallet_android_dag.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +DAG_VIEW=wallet-android \ +SHOW_MILESTONES=true \ +#GITHUB_TOKEN= \ +#ZENHUB_TOKEN= \ +poetry run python ./zcash-issue-dag.py diff --git a/template_scripts/generate_wallet_dag.sh b/template_scripts/generate_wallet_dag.sh new file mode 100644 index 0000000..9f95b65 --- /dev/null +++ b/template_scripts/generate_wallet_dag.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +DAG_VIEW=wallet \ +SHOW_MILESTONES=true \ +#GITHUB_TOKEN= \ +#ZENHUB_TOKEN= \ +poetry run python ./zcash-issue-dag.py diff --git a/template_scripts/generate_wallet_ios_dag.sh b/template_scripts/generate_wallet_ios_dag.sh new file mode 100644 index 0000000..868f0e1 --- /dev/null +++ b/template_scripts/generate_wallet_ios_dag.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +DAG_VIEW=wallet-ios \ +SHOW_MILESTONES=true \ +#GITHUB_TOKEN= \ +#ZENHUB_TOKEN= \ +poetry run python ./zcash-issue-dag.py