Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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/’」.
- Loading branch information
1 parent
726cfa9
commit 11aa020
Showing
14 changed files
with
130 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.