Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

feat: Add support to read provider schema from local file #20

Closed
tmeckel opened this issue Dec 3, 2023 · 3 comments
Closed

feat: Add support to read provider schema from local file #20

tmeckel opened this issue Dec 3, 2023 · 3 comments
Labels
area/docs kind/enhancement Improvements or new features

Comments

@tmeckel
Copy link

tmeckel commented Dec 3, 2023

Hello!

  • Vote on this issue by adding a 👍 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

The registrygen tool has no option to read a provider schema JSON file from the local disk instead of downloading it from the provider repository.

This slows down the development of providers, as you always have to first upload the schema file into the provider repository in order to check the generation of the provider documentation.

With a flag like --useLocalSchemaFile to the docs command, registrygen will read the file specified by the --schemaFile directly instead of downloading it from the repository.

@tmeckel tmeckel added kind/enhancement Improvements or new features needs-triage Needs attention from the triage team labels Dec 3, 2023
@tmeckel
Copy link
Author

tmeckel commented Dec 3, 2023

I've a patched version of registrygen ready locally. So I could provide a PR quickly, if my feature request make sense to the Pulumi docs team.

@iwahbe
Copy link
Member

iwahbe commented Dec 28, 2023

CC @cnunciato

@mjeffryes mjeffryes added area/docs and removed needs-triage Needs attention from the triage team labels Apr 1, 2024
@iwahbe
Copy link
Member

iwahbe commented Jun 5, 2024

We are deprecating registrygen (this repo) in favor of github.com/pulumi/registry/tools.

@iwahbe iwahbe closed this as not planned Won't fix, can't repro, duplicate, stale Jun 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/docs kind/enhancement Improvements or new features
Projects
None yet
Development

No branches or pull requests

3 participants