| Commit message (Collapse) | Author | Age | Lines | ||
|---|---|---|---|---|---|
| ... | |||||
| | * | Read the Python path and args from the config file | 2021-01-10 | -3/+2 | ||
| | | | |||||
| | * | Read cgroup values from the config file | 2021-01-10 | -18/+7 | ||
| | | | |||||
| | * | Read the nsjail config into a protobuf Message object | 2021-01-10 | -0/+13 | ||
| | | | |||||
| | * | Compile the NsJail config protobuf into Python code | 2021-01-10 | -1/+1265 | ||
| | | | | | | | | | Include a helper shell script for compilation. | ||||
| | * | Add protobuf as a dependency | 2021-01-10 | -4/+29 | ||
| | | | |||||
| * | | Remove trailing whitespaces from the README | 2021-01-22 | -1/+1 | ||
| | | | |||||
| * | | Update the README badges | 2021-01-22 | -1/+6 | ||
| | | | |||||
| * | | Merge PR #90 - fix caching of exposed packages | 2021-01-13 | -22/+23 | ||
| |\ \ | |||||
| | * | | CI: don't do a user install for pre-commit | 2021-01-12 | -1/+2 | ||
| | | | | |||||
| | * | | Docker: update pipenv | 2021-01-12 | -1/+1 | ||
| | | | | |||||
| | * | | Fix caching of exposed packages | 2021-01-12 | -16/+14 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem with --ignore-installed is that it also ignores packages in the target site, therefore re-installing all packages and making caching futile. Install snekbox's dependencies to the default user site. During installation of the exposed packages, switch the user site to a custom one to ensure pip will not skip packages due to seeing them as already installed as one of snekbox's dependencies. If pip made the --root option ignore packages outside the root, then using --root would be the best solution. There is a 5+ year old issue open about that. | ||||
| | * | | Docker: simplify pipenv install command | 2021-01-11 | -6/+1 | ||
| | | | | |||||
| | * | | Docker: add comments to separate stages | 2021-01-11 | -0/+3 | ||
| | | | | |||||
| | * | | Docker: move env var definitions to the base stage | 2021-01-11 | -1/+5 | ||
| |/ / | | | | | | | Just a refactor. | ||||
| * / | Force extant packages to install to the user site too during deployment | 2021-01-11 | -1/+1 | ||
| |/ | | | | Fix #89 | ||||
| * | Merge pull request #64 from python-discord/feat/deps/63/pep8-naming | 2021-01-10 | -29/+77 | ||
| |\ | |||||
| | * | Removing trailing whitespaces from README.md | 2021-01-09 | -1/+1 | ||
| | | | |||||
| | * | CI: install git in the container | 2021-01-09 | -0/+6 | ||
| | | | | | | | | | Pre-commit requires git. | ||||
| | * | CI: run pre-commit hooks | 2021-01-09 | -0/+6 | ||
| | | | |||||
| | * | CI: improve readability of some run commands | 2021-01-09 | -5/+7 | ||
| | | | |||||
| | * | Re-arrange settings in .flake8 file | 2021-01-09 | -11/+13 | ||
| | | | |||||
| | * | Add more pre-commit hooks | 2021-01-09 | -1/+17 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hooks added: * check-merge-conflict - checks for files with merge conflict strings * check-toml - attempts to load all toml files to verify syntax * check-yaml - attempts to load all yaml files to verify syntax * end-of-file-fixer - ensures files end in a newline and only a newline * mixed-line-ending - replaces mixed line endings with LF * trailing-whitespace - trims trailing whitespace * python-check-blanket-noqa - enforces that noqa annotations always occur with specific codes See: python-discord/organisation#138 | ||||
| | * | Install pep8-naming | 2021-01-09 | -1/+17 | ||
| | | | | | | | | | | | | | It is a flake8 plugin which enforces PEP 8 naming conventions. Resolves #63 | ||||
| | * | Update dev dependencies | 2021-01-09 | -11/+11 | ||
| |/ | |||||
| * | Create dependency cache directory if not present | 2021-01-10 | -1/+1 | ||
| | | |||||
| * | Remove erroneous slash from dependencies list | 2021-01-10 | -1/+1 | ||
| | | |||||
| * | Add leading slash to post-start command | 2021-01-10 | -1/+1 | ||
| | | |||||
| * | Merge pull request #87 from python-discord/feat/deps/site-isolation | 2021-01-10 | -446/+149 | ||
| |\ | |||||
| | * | CI: install numpy | 2021-01-09 | -1/+2 | ||
| | | | | | | | | | One of the unit tests depends on numpy. | ||||
| | * | Prevent setting GIT_SHA from invalidating the Docker layer cache | 2021-01-09 | -2/+5 | ||
| | | | |||||
| | * | Document how to install additional packages | 2021-01-09 | -1/+22 | ||
| | | | |||||
| | * | Swap out configMap for a hostPath for psuedo-persistence | 2021-01-09 | -2/+3 | ||
| | | | | | | | Co-authored-by: Joe Banks <[email protected]> | ||||
| | * | Add a Docker volume for the user base | 2021-01-09 | -0/+13 | ||
| | | | |||||
| | * | Install exposed packages separately during deployment | 2021-01-09 | -438/+100 | ||
| | | | |||||
| | * | Use a custom directory for exposed Python packages | 2021-01-09 | -5/+7 | ||
| |/ | | | | | | | | | | | | | | | | | Isolate snekbox's dependencies from the packages available within the Python interpreter. Disable Python's default behaviour of site-dependent manipulations of sys.path. The custom directory looks like a user site to allow `pip install --user` to work with it. However, snekbox will see it as simply an additional search path for modules rather than as a user site. Disable isolated mode (-I) because it implies (-E), which ignores PYTHON* environment variables. This conflicts with the reliance on `PYTHONPATH`. Specify `PYTHONUSERBASE` in the Dockerfile to make installing packages to expose more intuitive for users. Otherwise, they'd have to remember to set this variable every time they need to install something. | ||||
| * | Merge pull request #86 from python-discord/precommit-pycharm | 2021-01-02 | -1/+1 | ||
| |\ | | | | | Make flake8 properly run through pre-commit in PyCharm. | ||||
| | * | Changed Python language hook to system. | 2021-01-02 | -1/+1 | ||
| |/ | |||||
| * | Merge PR #85 - Sentry releases | 2020-12-20 | -2/+32 | ||
| |\ | |||||
| | * | Fix getting Git SHA in workflow | 2020-12-20 | -1/+1 | ||
| | | | |||||
| | * | Add Sentry release to SDK initialization | 2020-12-20 | -1/+3 | ||
| | | | |||||
| | * | Create workflow for Sentry release creation | 2020-12-20 | -0/+24 | ||
| | | | |||||
| | * | Add Git SHA build argument to Docker build in workflow | 2020-12-20 | -0/+2 | ||
| | | | |||||
| | * | Inject Git SHA to environment from build argument | 2020-12-20 | -1/+3 | ||
| |/ | |||||
| * | Add @Akarys42 to the codeowners | 2020-11-27 | -1/+1 | ||
| | | |||||
| * | Add Mark to code owners | 2020-11-24 | -2/+2 | ||
| | | |||||
| * | Update CODEOWNERS | 2020-11-24 | -2/+2 | ||
| | | |||||
| * | Update CODEOWNERS | 2020-11-24 | -1/+2 | ||
| | | |||||
| * | Update CODEOWNERS | 2020-11-24 | -1/+1 | ||
| | | |||||
| * | Merge pull request #81 - Limit STDOUT to prevent OOM | 2020-11-20 | -6/+76 | ||
| |\ | |||||
| | * | Fix typo in _consume_stdout docstring | 2020-11-21 | -1/+1 | ||
| | | | |||||