azure-dev icon indicating copy to clipboard operation
azure-dev copied to clipboard

Template Discoverability + Contribution

Open jongio opened this issue 3 years ago • 7 comments

  • [ ] https://github.com/Azure/azure-dev/issues/398
  • [ ] https://github.com/Azure/azure-dev/issues/287
  • [ ] https://github.com/Azure/azure-dev/issues/425

jongio avatar Jan 19 '22 23:01 jongio

Parts

  • [x] Template discovery for the CLI
  • [x] Template discovery in VS Code
  • [x] Template discovery in GitHub.com
  • [x] Template discovery from Docs
  • [x] Template discovery from Samples Browser

Things to consider:

  • Should we have a custom endpoint that encapsulates a list of templates + some auto-discovery logic?
  • Or should that template discover logic be embedded in the CLI (e.g. look for GitHub templates belonging to some org(s) with some label(s)) and the VS Code should just leverage that logic in the CLI?

karolz-ms avatar Mar 21 '22 17:03 karolz-ms

Ideally, we use github labels and query based on that label

jongio avatar Mar 21 '22 23:03 jongio

We could create an 'awesome repo' that lists all repos, MS and community.

jongio avatar May 31 '22 17:05 jongio

We should have the following for public preview:

  • Template discovery for the CLI
  • Template discovery in VS Code

markweitzel avatar Jun 02 '22 18:06 markweitzel

Ideally, we use github labels and query based on that label

FWIW - I would be a little hesitant to build something in the CLI itself that uses the GitHub API as the source of truth due to rate limiting from the GitHub side. We'd have to make anonymous requests and I've seen other tools that do this get hampered by rate limiting (for example, the bicep install script uses GitHub at the source of truth for the "latest" version and we had seen that fail in CI from time to time with rate limit issues)

ellismg avatar Jun 09 '22 23:06 ellismg

Triage: We have template lists in cli and vs code, which is good enough for public preview.

jongio avatar Jun 13 '22 17:06 jongio

We have done some work here for cli, doc and in vs code. Adding @savannahostrowski for the uber template repo strategy.

puicchan avatar Jul 19 '22 17:07 puicchan

@savannahostrowski closing since samples are now published to the Microsoft samples browser.

rajeshkamal5050 avatar Mar 23 '23 07:03 rajeshkamal5050