-
Notifications
You must be signed in to change notification settings - Fork 148
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
new verb proposal: catkin info #67
Comments
+1 Since you mention Also, I would expect |
Yeah I'm not sure we want to run it automatically, but I suggested over in fkie/catkin_lint/issues/12 if
Yeah this would be supported by context-aware verb functionality also needed to be able to build a specific package or workspace just by calling |
+1 |
+1 to catkin info I expect it would be useful to provide info on:
Not sure which the default should be. |
Not sure how you want to identify the build and run-spaces. Catkin obviously allows the user to create hundreds of run-spaces (debug, release, arm) all over you filesystem if he wishes so, and catkin will not keep track of those for the user AFAIK. Also note that while this is all wonderful information, the largest intended user group does e.g. not know what a run-space is, nor cares to learn about it. That is not a argument against more information, just a reminder to provide enough information that an uninitiated reader can grasp what is going on. As a simple example (not criticism), your draft lists a "workspace stack". So the label "workspace stack" is not to be found in any catkin documentation, nor is it clear which direction the chain is, nor what the effect is. Compare to: ´´´
Also I believe the necessity for displaying vital information rather indicates catkin_tools should strive to be far more restrictive than catkin with much less possible variation in the folder layout. Also remember that for a development workspace, there are always 3 use-cases:
Both case 2+3 require a run-space to be sourced, while for case 1, for pristine results, no runspace of this workspace should be sourced. So the names "build-space" and "run-space" may be more confusing than helpful, they are esoteric. I would suggest using names for spaces that relate to the content of the spaces, not processes about the spaces. I wish I had a good suggestion, too. |
Commands like |
There are plenty of nice ideas of how to either fill a marker file with meta-data, or how to place such meta-data in files relative to the marker file. But those are just ideas for now. (And realizing those is more complex than just writing meta-data into a file, BTW.) If that were to be changed, then a command like catkin info could become obsolete, as it could be replaceable by |
Agreed. Edit: What I meant to say is that until some implements this,
In particular |
Slightly OT, but why is this an advisory? Assuming you mean "...you have built into a devel space but not an install space...", I think that is a perfectly valid scenario. |
This is handled by the |
In #63 (comment) I proposed that in addition to a "build summary" after each build, catkin could also display certain advisories. These advisories, however, could be useful even when the user isn't performing a build, so there should be some other way to access them.
Where
catkin_lint
is for checking catkin packages for mistake this would be the main entry point for debugging problems with a catkin environment.Example of the proposed usage and output:
Possible advisories:
Additionally, you could alias
catkin wtf
to runcatkin info
.The text was updated successfully, but these errors were encountered: