Commit Graph

47 Commits

Author SHA1 Message Date
Thomas Hobson 564da5a7eb
BREAKING: replace custom build scripts with nix
General:
- Switched to yarn to better work with nix-based tooling
- Switched package system to use nix. This stops double dependencies and slow cloud compile times, while providing more compile/runtime support to the Nix project
- Removed container builder in favor of internal container tooling
- Package versions no-longer need to be SemVer compliant
- Removed "piston package spec" files, replaced with nix-flake based runtimes
- Exported nosocket and piston-api as packages within the nix-flake
- Removed repo container
- Switched docker building to nix-based container outputting
- Removed docker compose as this is a single container
- Removed package commands from CLI

Packages:
- Move bash, clojure, cobol, node, python2, python3 to new format
- Remainder of packages still need to be moved

v2 API:
- Removed "version" specifier. To select specific versions, use the v3 api
- Removed "/package" endpoints as this doesn't work with the new nix-based system

v3 API:
- Duplicate of v2 API, except instead of passing in a language name an ID is used intead.
2022-01-31 14:42:12 +13:00
Brikaa 52fb900603 Don't read the file twice 2021-10-16 11:55:22 +02:00
Brikaa 821d5496e4 Check for base64 in CLI 2021-10-16 11:50:07 +02:00
Brikaa f2c91acbe6 Piston lint 2021-10-09 18:10:58 +02:00
Brikaa 5cdc71d268 pkg(sqlite3-3.36.0): Added sqlite3 3.36.0 2021-09-30 09:12:22 +02:00
Thomas Hobson 7d05f4e305
Merge branch 'master' into websocket 2021-09-22 08:21:31 +12:00
dependabot[bot] 252987932c
build(deps): bump axios from 0.21.1 to 0.21.2 in /cli
Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.21.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.21.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-12 12:57:09 +00:00
Thomas Hobson 230cb3abe1
bump versions major 2021-07-17 01:00:44 +12:00
Thomas Hobson 4933577dae
cli: interactive run with -t flag 2021-07-17 00:23:45 +12:00
Thomas Hobson 7d40abfb3f
cli: fix issue where negate removes too many packages 2021-06-13 19:17:04 +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
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
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
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
Brian Seymour a1eb732406 update readme, refactor some code 2021-04-22 22:27:50 -05:00
Thomas Hobson f683dfc2cf
no version = latest version 2021-04-23 11:59:54 +12:00
Thomas Hobson 9814217aee
remove main 2021-04-23 11:52:50 +12:00
Brian Seymour b3575246bd change urls, fix docker compose file 2021-04-22 18:43:21 -05:00
Dan Vargas d2e05a4a7e
pkg(*-*): Fix uninstall (#213) 2021-04-11 13:15:14 +12:00
Thomas Hobson 81cdc766b6
Uninstallation (#211) 2021-04-10 16:10:18 +12:00
Thomas Hobson be47ab802c
Merge branch 'v3' of https://github.com/engineer-man/piston into v3 2021-03-29 21:33:54 +13:00
Thomas Hobson 607123f73d
switch to yarn 2021-03-29 21:33:49 +13:00
Brian Seymour 902ad71578 remove unnecessary author fields 2021-03-28 14:29:28 -05:00
Brian Seymour b31deaddbc change port to match old piston, some formatting change, add env to fix debian warning/error 2021-03-28 14:01:46 -05:00
Thomas Hobson 2ab508b4d2
cli: basename main file 2021-03-14 19:36:12 +13:00
Thomas Hobson 3bec1c3499
cli: fix breaks caused by refactor 2021-03-13 23:09:30 +13:00
Thomas Hobson 5e400cb782
cli: fix execute 2021-03-13 19:49:05 +13:00
Thomas Hobson 5a05537a7f
cli: switch to axios 2021-03-13 16:44:33 +13:00
Thomas Hobson a1536ffe56
cli: merge with api-client 2021-03-13 16:08:35 +13:00
Thomas Hobson f615e26493
cli: change shebang to use env 2021-03-13 13:19:05 +13:00
Thomas Hobson fe2e2f4e30
cli: new api-client version 2021-03-06 19:27:13 +13:00
Thomas Hobson 7ec714723b
cli: fix execute not working 2021-03-06 00:44:35 +13:00
Thomas Hobson d1b41e3c2f
cli: code cleanup 2021-03-05 19:40:47 +13:00
Thomas Hobson 7d3777aef8
cli: fix ppman install output 2021-02-28 01:16:33 +13:00
Thomas Hobson ff69a28a68
cli: add ppman install and list 2021-02-27 19:30:11 +13:00
Thomas Hobson 2505b89fcf
cli: correct package name 2021-02-22 23:39:34 +13:00
Thomas Hobson 1fd3dce31d
cil: execute command 2021-02-22 23:38:11 +13:00
Thomas Hobson c5f3305c23
remove **everything** in preparations for v3 2021-02-18 18:32:26 +13:00
Brian Seymour 5cf2d5853d move around files 2021-01-25 12:54:39 -06:00
Vrganj c537cab2da Add stdin 2021-01-16 18:41:41 +01:00
Vrganj f685bdc751 Fix aliases, update readme 2021-01-16 13:27:14 +01:00
Vrganj f78aa34c10 Read file as string in CLI 2021-01-16 13:14:46 +01:00
Vrganj d8b6379b9a Add CLI written in Node 2021-01-16 13:14:17 +01:00