Commit graph

19 commits

Author SHA1 Message Date
Omar Brikaa
c4afd97a38 Use pkgdir inside isolate sandbox to account for packages that have been built with a custom PREFIX
closes #686
2024-09-15 20:48:45 +03:00
Omar Brikaa
bd42fe3357
Improve isolation, execution limits and execution metrics by using Isolate (#683)
* Initial: use Isolate for isolation

* Continue: use Isolate for isolation

* Bug fixes

* timeout is wall-time for backward compatibility

* Documentation, signal names, reported time in ms

* Report memory usage in bytes

* Add privileged flags where needed

* Remove tmpfs

* Remove tmpfs

* Fix package installation

* Fix path, fix Zig: CRLF -> LF
2024-09-08 13:58:40 +12:00
Brikaa
f2c91acbe6 Piston lint 2021-10-09 18:10:58 +02:00
Brikaa
94af5639bf Add per-language constraint overrides 2021-10-04 16:56:08 +02:00
Thomas Hobson
b3be57e0b4
lint like rest of codebase 2021-05-08 12:30:40 +12:00
Thomas Hobson
4259e89bb2
lint api 2021-05-08 12:20:21 +12:00
Brian Seymour
de449c6d56 validate json instead of a json header, and lots of cleanup 2021-05-07 14:22:25 -05:00
Thomas Hobson
45eb4c799d
dont crash if there are no aliases 2021-04-25 16:37:05 +12:00
Thomas Hobson
30fa1d1425
use correct var name 2021-04-25 15:11:32 +12:00
Thomas Hobson
a328b3eeda
better support for multiple languages per package 2021-04-25 15:02:57 +12:00
Thomas Hobson
81cdc766b6
Uninstallation (#211) 2021-04-10 16:10:18 +12:00
Brian Seymour
902ad71578 remove unnecessary author fields 2021-03-28 14:29:28 -05:00
Thomas Hobson
4621f34e47
api: fixes from refactor 2021-03-13 23:09:13 +13:00
Brian Seymour
b3d18600cd api refactoring 2021-03-12 23:01:04 -06:00
Thomas Hobson
812069cc3f
api: remove repos from ppman 2021-03-06 19:17:56 +13:00
Thomas Hobson
870a4c1282
api: fix compile stage
runtime.compiled always returned false as it was undefined.
This made the code think it's a run-only language, and never called the compile script.
2021-02-28 01:18:04 +13:00
Thomas Hobson
233fb9bf26
api: trim whitespace off env vars 2021-02-21 12:57:20 +13:00
Thomas Hobson
60c004eea9
api: lint **everything** 2021-02-21 11:39:03 +13:00
Thomas Hobson
91420c39d7
api: v3 2021-02-21 03:13:56 +13:00