-
Notifications
You must be signed in to change notification settings - Fork 7
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
Work without FUSE #1
Comments
What environment is this running in? Mounting of course requires FUSE. Trusty is not officially supported. |
This is on Docker, FUSE is not enabled, which is why I was using |
appimagelint doesn't work in such an environment yet. I also am not sure whether it's a good idea to e.g., add a fallback that extracts AppImages before checking them. What are you trying to do here? |
I just wanted to try the tool out and since I am not on a Linux machine all the time, I wanted to use an account I have on a server to try it. |
I haven't come up with a solution how to properly implement an "extract" feature automatically. I guess there should be an env var that, when set, will make the tool extract instead of mount. |
Or allow to lint AppDirs instead of/in addition to AppImages. Then I could
|
I already thought about how this could be realized properly. Right now, the contract for checks is based completely on AppImages. The checks can mount AppImages and check the contents, but they are free to run checks on the AppImage itself, too. This design decision allows for implementing a very simple interface for checks. Some checks like the glibc or glibcxx compatibility also check the runtime for compatibility, which is somewhat interesting and IMO important. I've been thinking about how to implement an interface that allows for constructing checks for AppDirs instead of AppImages, but this makes things a lot more complex workflow wise than you might think. I'm using the template method pattern a lot to avoid any kind of redundant code. There will probably be such a feature at some point. But in the end, this tool is appimagelint, not appdirlint. So that's not a priority yet. |
The question is whether we actually need |
There's tons of things to check about an AppImage, and it's not just the runtime's compatibility:
|
True! |
Shall we make this issue a "extract as fallback when there's no FUSE" one? It doesn't really crash due to the fact it's Ubuntu trusty. |
Yes, if it helps to make it usable in non-FUSE environments. |
The text was updated successfully, but these errors were encountered: