-
Notifications
You must be signed in to change notification settings - Fork 14
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
Support multifile gists #36
Comments
Probably depends on #25 |
Blocked by #25. |
Actually, it's not that hard, and I'll go ahead and do it. Nowadays we have |
Resolves a long-standing issue #36 (but no tests yet). It works by saving all files in ‘sandbox/’, which is pretty much the only writable path. As a bonus, you should be able to use all saved files from other bots (note that all bots will now support multifile gists, so being able to reuse the files is not strictly needed). Also, this commit somewhat resolves an annoying issue #66 (support for non-raw github links), but I think we'd need to add gitlab and bitbucket in order to close it completely. How does it figure out which file should be executed? There are some heuristics in place, but generally it will prefer perl6 scripts over anything else (either use .p6 extension or include a shebang). There's no such problem when there's only one file. Note that in order to use .pm6 files you'd also need to write 「use lib ‘sandbox/’」.
Not sure what would this mean exactly, but that would be great.
The text was updated successfully, but these errors were encountered: