-
Notifications
You must be signed in to change notification settings - Fork 933
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
lxddoc: Renamed to lxd-metadata #12171
lxddoc: Renamed to lxd-metadata #12171
Conversation
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.
why is lxddoc under config
dir?
For historical reasons I guess... When the tool was first introduced, as it had to do with documenting the config keys of the projects, it has been put there. But I'm not against putting it in |
Yes I suppose this should be called lxd/lxd-metadata now right? Given that @ru-fu says the output isn't to be considered documentation anyway. |
BTW I would like to understand how you were getting a
|
I don't understand either. Tried to remove the binary iin my This is linked to this line |
So the |
ah yes that will be why then |
we should probably rename db/generate to db/lxd-generate too, but separately later. |
…ools Signed-off-by: Gabriel Mougard <[email protected]>
Signed-off-by: Gabriel Mougard <[email protected]>
Signed-off-by: Gabriel Mougard <[email protected]>
4c7f06e
to
7c23e9b
Compare
@tomponline now it should be clearer |
This is why: #11652 (comment) I actually prefer "config" to "metadata", because the tool generates different output for config options - the metadata for consumption by the UI and the documentation for consumption by Sphinx. |
Im thinking we may use it for items other than config metadata in the future too. |
Installing
lxddoc
like previously in the makefile (go install ... /lxd/config/generate
) was creating a binary namedgenerate
which was in conflict with an other lxd tool (the one atlxd/db/generate
).