Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SpecObject.publish() should add spec to default WebRegistry #322

Open
andyk opened this issue Mar 12, 2022 · 0 comments
Open

SpecObject.publish() should add spec to default WebRegistry #322

andyk opened this issue Mar 12, 2022 · 0 comments

Comments

@andyk
Copy link
Contributor

andyk commented Mar 12, 2022

Note the below framing of this feature assumes #250 is either already done or this could be done as part of #250.

Publishing a spec via my_spec.publish() should be a thin wrapper for the following:

reg = get the default WebRegistry (which depends on whether local test flag is set)
my_spec.to_registry(reg)

Once identifiers are hashes, this should never fail since identifiers of two different specs will be unique.

Then we would need a different mechanism for allowing human readable names of specs (to make sharing easier/more intuitive). Perhaps something akin to git branches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant