You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running conan info -g foo.html . to generate a dependency graph, the generated HTML includes hard-coded links to cdnjs for vis.min.js and vis.min.css:
In a corporate environment users may not have access to these URLs so the generated file is not useful. It would be nice if we could package these files in conan itself and output them alongside the generated html file if requested (via command-line flag, for example).
I think it is doable, but feels a bit dirty. But yes, I understand the use case.
The implementation (packaging and distributing those files), needs to check for license compatibility, and it might be a bit dirty to package the files. But embedding the strings in python files is always possible, so they could directly be embedded in the html file, so it is self-contained.
I have submitted a PR #4133 for this.
The problem is embedding the vis library resources, it is more problematic than it should be (taking into account also the different ways conan is distributed). So I have proposed to workaround it by letting users provide their own vis.js resources in the local conan cache, so they can be installed with conan config install.
Conan version: 1.7.4
When running
conan info -g foo.html .
to generate a dependency graph, the generated HTML includes hard-coded links to cdnjs forvis.min.js
andvis.min.css
:In a corporate environment users may not have access to these URLs so the generated file is not useful. It would be nice if we could package these files in conan itself and output them alongside the generated html file if requested (via command-line flag, for example).
To help us debug your issue please explain:
The text was updated successfully, but these errors were encountered: