-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: 🔨 add script to build roadmap docs
- Loading branch information
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |