Skip to content
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

Feature Request: Code Viewing Capability #15

Open
jspeed-meyers opened this issue Sep 14, 2021 · 1 comment
Open

Feature Request: Code Viewing Capability #15

jspeed-meyers opened this issue Sep 14, 2021 · 1 comment

Comments

@jspeed-meyers
Copy link

@RootLUG,

I'm sure you've thought of this and it would probably be a pain. But I find myself clicking on the indicators in the HTML view hoping that I get taken to a view of the code GitHub-style, so that I can do deeper code investigation. Thought I would mention it.

JS

@RootLUG
Copy link
Contributor

RootLUG commented Sep 28, 2021

Hi John,
thanks for the suggestion, I indeed have thought about this but it would be very problematic to get this working. There is no direct relation between a file in a wheel and something on github, in many cases the git repo is not even set in the metadata of the package and at the same time aura also scans blobs of dat that are extracted from within existing files (like long bytes or string definition inside the source code). In theory it could be done but I suspect that in practice the scanner would spend more time trying to browse existing linked repo to find the exact file/commit that matches the file from the package and this would work in a small percentage of packages on pypi.

In past, the sqlite format output of aura also stored all the data that was scanned which could be possible to re-use for this code viewing feature. This would also massively increase the output size from a scan from few kbs, to mb or even gb sizes in some cases.

Suggestions for how to get this working are welcome :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants