Skip to content

Latest commit

 

History

History
83 lines (61 loc) · 3.3 KB

TODO.md

File metadata and controls

83 lines (61 loc) · 3.3 KB

To Do

  • customization page

  • security notes page - screenshot of warning when enabling Github Actions

  • instructions w/screenshots

  • instructions w/screencast (or video?)

  • switch template data from array to struct with array as a property, and add more properties (Title, Created, Header)

  • Golang template function markdown to escape markdown

  • fork-is-current GHA

  • support multi-line env vars for []String flags

  • dogfood GHA: build a ghashboard of my stuff

  • demo GHA: find a couple orgs with a middling number of GHAs for a demo ghashboard

  • make releases

  • Fix: pages-build-deployment do have working flags - Github Bug

Bookmarks

repos.go

builds a list of repos

  • repos: a list of repos (or @filename), bypasses all flags

workflows.go

builds a list of actions for each repo

  • empty flag: include repos w/o workflows in the list (for non-workflow badges)
  • include/exclude: support for regexes

badges.go

adds external (non-Github Action) badges to the list

  • Go Template that takes a Repository
  • built-in badges (see below): map of string to template

built-in:

template.go

  • hyperlink the repo name
  • better indenting in markdown.tmpl
  • if only one owner, don't use FullName
  • header/footer: markdown blobs to include in template
  • output: html?
  • template: custom template file
  • template-string: load entire template from env (for customizing forks with a GHA variable)

Potential go libraries: https://github.com/knadh/koanf https://pkg.go.dev/github.com/google/go-github/v58/github

Maybe

gh cmd line "html_url": "https://github.com/VectorLogoZone/svgzone/blob/main/dynamic/pages/pages-build-deployment", "badge_url": "https://github.com/VectorLogoZone/svgzone/workflows/pages-build-deployment/badge.svg"