Commit Graph

309 Commits

Author SHA1 Message Date
b10e23dd16 Upgrade to newest Sentry 2021-03-04 14:02:16 +01:00
ba4e09e2d7 Rename STDOUT to $stdout in Rake task 2021-02-11 14:33:00 +01:00
13fb6e7f5f Merge branch 'jz_cpp_adapter'
# Conflicts:
#	debian_installer/setup_debian_2_install_docker.sh
2021-01-24 22:49:37 +01:00
ad3e4ce4e2 Use default language for PyLint if non is specified 2021-01-24 22:33:35 +01:00
37d92cadc6 Prevent logging unknown PyLint messages 2021-01-24 22:27:29 +01:00
ae47913ca8 Pass locale to PyLint translator and allow switchable output 2021-01-20 22:41:49 +01:00
b1f21509ae Log info about timeout in RegEx 2021-01-11 18:18:13 +01:00
4d270d8fc8 Cache results for Docker bindings 2021-01-11 17:49:24 +01:00
f3dc15e9d4 Raise error on writes outside Docker shared folder
* Don't replace path before execute
* Use config option for LOCAL_WORKSPACE_ROOT
2020-12-04 10:39:48 +01:00
f15c9f9251 PyLint: Add Sentry capture if no match found 2020-11-30 18:33:16 +01:00
f96da0833b Set RECYCLE_CONTAINERS to false 2020-11-24 17:46:19 +01:00
519fe43d4f Adjust PyLint log again to reduce Sentry messages 2020-11-17 23:45:32 +01:00
4523cebbdc Adjust PyLint log to reduce Sentry messages 2020-11-17 23:22:35 +01:00
82169b3afc Exclude keys from syntax error 2020-11-14 00:04:23 +01:00
5fe1590b39 Add filter for unknown PyLint messages 2020-11-13 22:52:56 +01:00
56b6cc1477 Hotfix: Convert Hash to JSON before sending to Sentry 2020-11-12 15:02:51 +01:00
7faae55ff5 Log unknown PyLint values to Sentry for translation 2020-11-11 17:20:08 +01:00
c509725cf7 Merge pull request #778 from openHPI/misc
Miscellaneous changes
2020-11-09 00:14:22 +01:00
4d09c8a6d6 Prevent exception if no detailed_linter_results are available 2020-11-09 00:00:31 +01:00
902e1e46da Allow linter for exercises 3.1.X in Python course 2020-11-08 15:15:00 +01:00
c1843ff963 Lint: Catch StandardError during assess 2020-11-08 14:50:19 +01:00
5fdfb12e62 Add German translations for PyLint adapter with basic spec 2020-11-08 01:04:39 +01:00
5849f1c463 Add ping for Faye WebSocket to Docker 2020-10-29 00:40:36 +01:00
e01f2f9ee6 Improve PyLintAdapter to match more results 2020-10-26 21:14:09 +01:00
0f2f2df665 Merge pull request #757 from openHPI/pylint_filename
Add filename to PyLint Adapter
2020-10-25 16:31:11 +01:00
d12c72b04e Add filename to PyLint Adapter 2020-10-25 16:12:16 +01:00
fda120559c Prepare Python20 Course Experiments 2020-10-25 13:29:26 +01:00
380b1a5ba1 Get more details from PyLint 2020-10-24 16:11:12 +02:00
9beefd0feb Improve PyLint RegEx to match single lines
* Also return more detailed results for further analysis
2020-10-23 22:23:57 +02:00
712810dada Allow negative scores for PyLintAdapter and improve regex handling 2020-10-20 12:16:46 +02:00
ca9467bf3c Merge branch 'linter_toggle'
# Conflicts:
#	config/locales/de.yml
2020-10-15 18:33:19 +02:00
be3ec82bd4 Add new file role teacher_defined_linter 2020-10-15 00:43:57 +02:00
f7c41db70c Fix invalid reference to ContainerPool
This was a copy & paste mistake
2020-10-14 14:34:26 +02:00
fae60a21e5 Sync DockerClient with DockerContainerPool
Fix failing specs after upgrade
2020-09-28 16:53:15 +02:00
b5c5790d7e Fix timeout for PyLint and PyUnit Adapter 2020-05-14 01:55:01 +02:00
ba8e08aee4 Add timeout for PyLint and PyUnit Adapter 2020-05-13 01:27:33 +02:00
2b7170b202 better error handling 2020-05-12 18:52:08 +02:00
d912062abd Copy output to file and stdout / stderr 2020-05-12 17:51:07 +02:00
daa39336fb Fix happy path for scoring 2020-05-12 17:51:07 +02:00
b6db9e186c Add information if execution timed out during scoring 2020-05-12 17:51:07 +02:00
99979eeb4f Rescue RuntimeError (FayeWebsocket) and apply style 2020-05-05 22:46:28 +02:00
4bf483cfb3 Add PyLint Adapter and a combined PyUnit and PyLint adapter. 2020-05-05 16:52:28 +02:00
cb3eece863 Python: PyUnit will identify more results and work with real PyUnit 2020-05-05 16:52:28 +02:00
0a989e31ae Apply file permissions after copying files to workspace 2020-04-17 23:51:13 +02:00
8fd81fb05e Ignore permission problems when deleting files 2020-04-16 14:52:16 +02:00
28d40605c8 Fix specs 2020-04-14 15:20:15 +02:00
520a62125e Add some naive exception handling 2020-04-14 14:23:35 +02:00
48d06b6dbe Persist metrics for container usage (execution time and waiting time) to Testrun table 2020-03-26 16:28:56 +01:00
380b2ce6c7 Enhance kill for container 2020-03-25 11:47:59 +01:00
b0761dbdb5 Extract pool handling to separate service 2020-03-25 11:30:11 +01:00