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

Try to validate addon grossly before doing anything #21

Open
myselfhimself opened this issue Apr 1, 2020 · 0 comments
Open

Try to validate addon grossly before doing anything #21

myselfhimself opened this issue Apr 1, 2020 · 0 comments

Comments

@myselfhimself
Copy link
Collaborator

for blender-addon-tester 0.1, when piping a non-plugin path (eg. pictures directory), blender gets downloaded first, then blender detects that it's not a plugin..
We could detect grossly that there are files in it (compressed or uncompressed dir), with one file exposing one type of comment or methods, with a proper directories layout.

Note that such an archive validator could be imitated also to validate that: any plugin is a plugin according to a spec (could be used to check hundreds of them), any blender release is a supported blender release (eg. tar.bz2, tar.gz, tar.xz, dmg, *lender.app with executable in Contents/MacOSX etc..).

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

1 participant