-
Notifications
You must be signed in to change notification settings - Fork 174
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
ros2doctor: add support for warning on out of date packages #343
Comments
I'm using |
How do you know the location of the sources of the packages? The same problem was discussed in #75. |
Good question. I think that I'm facing the same dilemma as in the discussion. |
In a similar case we are using |
closing since pr is merged |
A common error that people have is that they may have old our outdated packages on their system. This is most common with build pipeline tools, but can also have an effect due to a partial install or update of their debian packages.
ros2doctor could collect the list of all local packages in the workspace with their version number and then check against a declared rosdistro for the released version number. And if the latest version number and the version in the rosdistro do not match it should add it to the warnings.
We don't have the rosdistro cache for our latest bootstrap packages, but there may be an approach that would be reasonable to query pypi for the latest version or the apt servers, or possibly a github API. Bloom has logic like this to warn if it's not the latest version that could potentially be replicated.
In the report mode it would be valuable to be able to export the list of packages present on the system as well as their version number.
In report mode another extension that would be valuable would be the
vcs export --exact
of the workspace for easier reproduction/debugging. As well as potentially listing the exact debian packages (with build numbers) that have been installed for easier reproduction.The text was updated successfully, but these errors were encountered: