Commit Graph

947 Commits

Author SHA1 Message Date
Thomas Hobson 5a82e0308b
ensure cli always has packages installed 2021-06-13 19:12:14 +12:00
Thomas Hobson 0598c5c9be
Management tool additions
* Command to build packages locally
* Help message
* Start/Stop/Restart commands
* Select production/development environements
* clean pkgs/repo commands
2021-06-13 18:54:59 +12:00
Thomas Hobson b24edf2ac1
repo: dockerignore 2021-06-13 18:52:14 +12:00
Thomas Hobson 6cfef7b7ce
cli: remove random file 2021-06-13 18:45:39 +12:00
Thomas Hobson 1fcb7604d7
cli: add `ppman spec` command 2021-06-13 18:41:01 +12:00
Thomas d68a1d67c8
brainfuck(2.7.3): input requires each char on new line 2021-06-07 21:32:44 +12:00
Atharva 22018cbc9b
Updated the readme (#273)
* Install/Uninstall multiple packages using ppman

* Updated the readme

* updated a variable

Co-authored-by: Thomas <git@hexf.me>
2021-06-05 19:34:43 +12:00
Atharva 1c3aa4a3e6
Install/Uninstall multiple packages using ppman (#272) 2021-06-05 19:20:06 +12:00
dc 98cc1111c2
Readme: adds additional clarity on runtime installation (#267)
* Update readme

Added additional clarity on runtime installation

* Update readme.md
2021-05-27 21:54:09 +12:00
Cory ea9f48fa00
add sympy to python 3.9.4 (#263)
Co-authored-by: Bones <cory@callref.com.au>
2021-05-26 23:09:08 +12:00
Thomas Hobson c71aea6166
compute hash in chunks.
Previously we were loading the entire package file into memory, then
updating the hash. Now we update the hash with chunks of the data as it is read in.
Should fix #259
2021-05-18 21:07:40 +12:00
Tushar Sadhwani 79c7f471a1
Add py3 alias for Python3 (#255)
* Add py3 alias

* Add py3 alias

* Add py3 alias

* Add py3 alias
2021-05-15 16:25:10 +12:00
Dan Vargas f28cc2a917
pkg(kotlin-1.4.31): add args (#258) 2021-05-15 16:24:47 +12:00
Dan Vargas c7764161a8
pkg(scala-3.0.0): use compile (#257) 2021-05-15 16:24:37 +12:00
Dan Vargas 00bd298665
pkg(kotlin-1.4.31): use jdk8 with kotlin (#256) 2021-05-13 21:45:21 +12:00
Dan Vargas 3e9705bcd3
pkg(julia-1.5.4): switch to build from source (#254)
* pkg(julia-1.5.4): switch to build from source

* fix install lang in ci test step

* use x86-64 cpu target list
2021-05-09 13:40:41 +12:00
Thomas Hobson 93188099b7
fix cli 2021-05-08 12:57:37 +12:00
Thomas Hobson 543cb11e69
Change package manager request signature 2021-05-08 12:41:41 +12:00
Thomas Hobson b3be57e0b4
lint like rest of codebase 2021-05-08 12:30:40 +12:00
Thomas Hobson 1b7504a191
switch back to startsWith
This is because application/json;charset=utf8 is perfectly valid!
2021-05-08 12:25:04 +12:00
Thomas Hobson 4259e89bb2
lint api 2021-05-08 12:20:21 +12:00
Thomas Hobson 2beb0abff7
Merge branch 'master' of github.com:engineer-man/piston 2021-05-08 12:08:30 +12:00
Thomas Hobson b51350489f
Up the default max file size limit 2021-05-08 12:08:13 +12:00
Brian Seymour 106d5c72c9 fix json validation 2021-05-07 14:50:50 -05:00
Brian Seymour 3ea6ca1180 fix json validation 2021-05-07 14:42:55 -05:00
Brian Seymour 5830d7fb43 fix json validation 2021-05-07 14:35:27 -05: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 0da1cd5867
use real uid for killing processes instead of using euid (#206) 2021-05-07 22:11:28 +12:00
Thomas Hobson 972228412a
switch to taking config by env
To help with ease of deployment, configuration now is administered through the use of environment variables.
This allows for easy configuration directly from the docker-compose file and is a much more robust solution.
2021-05-07 21:11:36 +12:00
Felix fb102ebe83
Improved memory limits (#248)
* Added optional compile_memory_limit and run_memory_limit parameters

* Combined memory limit parameters into one
2021-05-07 20:21:25 +12:00
Thomas Hobson eaf0ba34bd
Allow additional content-type parameters 2021-05-07 20:12:27 +12:00
Thomas Hobson d95d67071c
reject on non-json content-types (#233) 2021-05-07 19:37:22 +12:00
Thomas Hobson 9590d5afbc
Patch for race condition with filesystem and process cleanup 2021-05-07 19:23:34 +12:00
MrExquisite 95421c9e15
pkg(octave-6.2.0): add aliases/file extensions (#249)
Octave aliases/file extensions compliant to https://octave.org/doc/v6.2.0/Introduction-to-Function-and-Script-Files.html
2021-05-05 22:46:11 +12:00
Meghan 2ae78b954b
zig/0.7.1: set release most to safe so executers can still observe runtime checks (#250) 2021-05-05 22:45:42 +12:00
Dan Vargas dae0c57aae
pkg(rockstar-1.0.0): switch to rocky implementation (#251) 2021-05-05 22:45:33 +12:00
Thomas Hobson 09d32a521e
Merge branch 'master' of https://github.com/engineer-man/piston 2021-05-02 20:12:06 +12:00
Thomas Hobson 8b90c12c5c
chown directories to root, ensuring they are not writable by runners 2021-05-02 20:11:55 +12:00
Dan Vargas 50cb0f1996
pkg(octave-6.2.0): add octave 6.2.0 (#247) 2021-05-02 18:36:41 +12:00
Thomas Hobson 38ab15081e
Merge branch 'master' of https://github.com/engineer-man/piston 2021-05-02 17:02:26 +12:00
Thomas Hobson 37c760b081
allow empty contents 2021-05-02 17:01:50 +12:00
Thomas d55d158fb6
bump repo ci 2021-05-02 15:21:54 +12:00
Thomas d577072749
Revert "Added max_memory_usage parameter (#238)" (#246)
This reverts commit a49acc7dbe.
2021-05-02 14:55:37 +12:00
Dan Vargas 7f3a0854fd
pkg(octave-6.2.0): add deps for octave (#245) 2021-05-02 14:45:26 +12:00
Dan Vargas 2412d50f82
pkg(octave-6.2.0): add deps for octave (#245) 2021-05-02 14:41:53 +12:00
Felix a49acc7dbe
Added max_memory_usage parameter (#238)
* Added max_memory_usage parameter

* Added max_memory_usage description to readme
2021-05-01 21:10:53 +12:00
Dan Vargas f2973f0536
pkg(ruby-3.0.1): add ruby 3.0.1 (#242)
Co-authored-by: Vargas, Dan <dan.vargas@frostbank.com>
2021-04-30 23:33:29 +12:00
vcokltfre 37946d8542
fix: add yeethon to supported languages list (#240) 2021-04-30 20:10:26 +12:00
Thomas Hobson 6e748c614c
Merge branch 'master' of https://github.com/engineer-man/piston 2021-04-29 13:57:46 +12:00
Thomas Hobson 5221cdc7f4
make /tmp executable 2021-04-29 13:57:29 +12:00