-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat(mcl/host_info): Upload results to Coda #104
base: main
Are you sure you want to change the base?
Conversation
…ckages, and push them to cachix
auto docId = "0rz18jyJ1M"; | ||
auto hostTableId = "grid-b3MAjem325"; | ||
auto cpuTableId = "grid-mCI3x3nEIE"; | ||
auto memoryTableId = "grid-o7o2PeB4rz"; | ||
auto motherboardTableId = "grid-270PlzmA8K"; | ||
auto gpuTableId = "grid-ho6EPztvni"; | ||
auto storageTableId = "grid-JvXFbttMNz"; | ||
auto osTableId = "grid-ora7n98-ls"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these specifics for the table you edit? Isn't it better to obtain them from some env var?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are specific tables in coda, in a specific document. So the ids need to be hardcoded.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@monyarm I agree about these being doc specific, but they still shouldn't be hard coded. * the docId
should be an env / cli parameter.
- ideally your code will list the tables in the document and locate the table ids by their name
- if not easily doable, these should also be configurable via env or cli
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dunno, given that we want people's hardware info to show up in coda after they run host_info, that seems like a bad idea. I mean, do you expect everyone to look up the coda document id, and add it as an env variable?
I can see wether using names instead of ids is supported for tables, it is for columns, but I'm not sure about the rest.
00b941d
to
8c7b681
Compare
b5368a3
to
fcf842e
Compare
No description provided.