Skip to content

Commit

Permalink
build: 🔨 add script to build roadmap docs
Browse files Browse the repository at this point in the history
  • Loading branch information
signekb committed Jan 2, 2025
1 parent 607b067 commit 7f061f2
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tools/roadmap-creation-helper.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/sh

# This script is used to help build the roadmap documentation. It goes through
# all the seedcase-project repositories and gets the URL, repo name, and
# description to create a Markdown link with that information. The form looks
# like:
#
# [`repo-name`](url): description
#

# Get the list of repositories in the form of `repo-1 repo-2`
repo_list=$(gh repo list seedcase-project --json name --template '{{range .}}seedcase-project/{{.name}}{{"\n"}}{{end}}')
repo_list="${repo_list} rostools/r-pkg-intro rostools/git4cats steno-aarhus/research-ops"

for repo in $repo_list
do
gh repo view $repo --json description,name,owner,url --template '[`{{.owner.login}}/{{.name}}`]({{.url}}): {{.description}}'
done

0 comments on commit 7f061f2

Please sign in to comment.