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

Move docs-data to source heartbeat API #264

Open
dylanratcliffe opened this issue Sep 30, 2024 · 5 comments
Open

Move docs-data to source heartbeat API #264

dylanratcliffe opened this issue Sep 30, 2024 · 5 comments
Assignees

Comments

@dylanratcliffe
Copy link
Member

dylanratcliffe commented Sep 30, 2024

Research

We still need a way to extract the nice structured data from the code for docs generation, but we also need this to be able to made available to discovery and therefore as part of the heartbeats

Proposed API

@tphoney Can you please fill this one out?

@tphoney
Copy link
Contributor

tphoney commented Sep 30, 2024

➜  workspace git:(full_stack_vscode) ✗ grep -ihor "+overmind:\S*" stdlib-source  | sort | uniq
+overmind:description
+overmind:descriptiveType
+overmind:get
+overmind:link
+overmind:linked-item-query
+overmind:search
+overmind:type
➜  workspace git:(full_stack_vscode) ✗ grep -ihor "+overmind:\S*" aws-source  | sort | uniq
+overmind:descriptiveType
+overmind:get
+overmind:group
+overmind:link
+overmind:list
+overmind:search
+overmind:terraform:method
+overmind:terraform:queryMap
+overmind:type
➜  workspace git:(full_stack_vscode) ✗ grep -ihor "+overmind:\S*" k8s-source  | sort | uniq
+overmind:descriptiveType
+overmind:get
+overmind:group
+overmind:link
+overmind:list
+overmind:search
+overmind:terraform:queryMap
+overmind:terraform:scope
+overmind:type
➜  workspace git:(full_stack_vscode) ✗                                

gives
+overmind:description
+overmind:descriptiveType
+overmind:get
+overmind:group
+overmind:link
+overmind:linked-item-query
+overmind:list
+overmind:search
+overmind:terraform:method
+overmind:terraform:queryMap
+overmind:terraform:scope
+overmind:type

@tphoney
Copy link
Contributor

tphoney commented Oct 1, 2024

We could extend the functionality of https://github.com/overmindtech/aws-source/blob/ab5978f87de4d015b4a55758bdae881b507c0967/sources/describe_source.go#L21

adding in the additional fields that were previously tags.

@tphoney
Copy link
Contributor

tphoney commented Oct 3, 2024

Image

@tphoney
Copy link
Contributor

tphoney commented Oct 4, 2024

todo

  • // +overmind:linked-item-query rdap-entity only in stdlib-source/sources/internet/main.go ??te

@dylanratcliffe
Copy link
Member Author

todo

  • // +overmind:linked-item-query rdap-entity only in stdlib-source/sources/internet/main.go ??te

Haha whoops, this is a hallucination

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

2 participants