Commit Graph

235 Commits

Author SHA1 Message Date
Arthur Lu
e04245952a merged data and pull functions into Client class,
removed pull.py dep.py,
modified existing code to work with new Client class
2022-03-29 05:48:39 +00:00
Arthur Lu
2ebaddb92c updated usage 2022-03-29 04:44:59 +00:00
Arthur Lu
8b09e155dc updated changelog 2022-03-29 04:42:26 +00:00
Arthur Lu
5ca474d158 finished removing socket functionality 2022-03-29 04:39:52 +00:00
Arthur Lu
e7a8a259fc finished removing daemon functionality 2022-03-29 04:35:01 +00:00
Arthur Lu
5553e3dddf fixed CLI options,
implemented better config attr search member,
fixed imports
2022-03-29 04:28:09 +00:00
Arthur Lu
0212e6b2ca pylint now uses tab indent 2022-03-29 04:15:47 +00:00
Arthur Lu
14f8901803 removed unnecessary imports 2022-03-28 23:22:42 +00:00
Arthur Lu
a5f9e55cf4 fixed build scripts 2022-03-28 23:15:13 +00:00
Arthur Lu
34f0b3f10c removed: daemonization,
socket messaging

added: CLI option to specify config file

Not working, requires data.py changes in competition branch
2022-03-28 22:42:04 +00:00
Arthur Lu
6b070c7b08 fixed merge changes 2022-03-15 05:31:51 +00:00
Arthur Lu
9279311664 Merge branch 'master' into superscript-v1 2022-03-15 05:27:11 +00:00
Arthur Lu
4836f48a34 pyinstaller onedir workaround for requests issue,
moved spec file to build folder


Former-commit-id: 4427eba5c993222cd2ebfdfc76a4685e25e18b0c
2022-02-24 02:56:08 +00:00
Arthur Lu
9a1a45f1c9 removed cert verification for requests library
Former-commit-id: 4914b98a21478a10be7d2f737dd6d5669b4c5681
2022-02-20 23:38:18 +00:00
Arthur Lu
d7ed695ad1 fixed build script,
added binutils to docker container for build requirements,
added required scipy modules to superscript.spec


Former-commit-id: 60a6fc1106dc90514bd1270138ab9166efa29290
2022-02-20 23:16:02 +00:00
Arthur Lu
21d92e65b2 add binary paths to devcontainer.json
Former-commit-id: a323f3161d6ea326b0215d5ed5ebbadae0f38597
2022-02-20 22:53:11 +00:00
Arthur Lu
0cace3cec3 improved exit code reporting
Former-commit-id: f36f45bc6a2773b8a821d0e046ce1b47fc4ced0f
2022-02-19 23:29:58 +00:00
Arthur Lu
80b63269df readded zmq messaging
Former-commit-id: e38653c4dc4ffe6aada19cac2251c3ec28bfbc2b
2022-02-19 22:58:58 +00:00
Arthur Lu
56447603e1 implemented logger,
dropped zmq because of constant inconsistency,
daemon process now outputs to file,
deleted client.py


Former-commit-id: d3251e5f6404d0dce42da49e5d577651e718e168
2022-02-19 08:52:49 +00:00
Arthur Lu
2130182212 fixed pull APIError calls (removed endpoint arg)
Former-commit-id: 5090eefdbd5b13bfda285d5480e79896dd3610a5
2022-02-19 06:50:34 +00:00
Arthur Lu
b1eff19ea4 removec __all__ property from superscript
Former-commit-id: 67c4684b5943467cc07b8cc638dc438ad0ee3e54
2022-02-19 06:46:39 +00:00
Arthur Lu
b43836899d moved config functions into Configuration class,
simplified exception class by removing error codes,
removed exec_threads from module parameters


Former-commit-id: 545ef765653970e1cdebac692eccd227effb2508
2022-02-19 06:19:13 +00:00
Arthur Lu
524a0a211d removed gui (last commit tagged "gui"),
removed print statement in pit module


Former-commit-id: 4978aee142eaf9431913b44eabfc0dfb79c7b600
2022-02-09 05:36:19 +00:00
Arthur Lu
9c152fb109 Merge pull request #23 from titanscouting/improve-devdocker
switch docker image to python:slim

Former-commit-id: 28b440725d338dd830ac9d3e0905eba54b05811f
2022-02-08 20:17:38 -08:00
Arthur Lu
491508a400 switch docker image to python:slim,
move requirements.txt to .devcontainer/


Former-commit-id: 427a37e514
2022-02-04 08:38:03 +00:00
Arthur Lu
b0ffdbab9a fixed pit processing issue due to config change
Former-commit-id: 15f95b778b
2022-02-04 03:28:08 +00:00
Arthur Lu
c4bb633e08 fixed pit data fetching
Former-commit-id: d017ec52a7
2022-02-04 03:24:47 +00:00
Dev Singh
c46e74036b get team nums at comp
Former-commit-id: 028f6f775d
2022-02-04 03:16:45 +00:00
Arthur Lu
c08d3d3ae7 Merge branch 'superscript-v1' of https://github.com/titanscouting/tra-superscript into superscript-v1
Former-commit-id: 2b72743b27
2022-02-04 03:06:14 +00:00
Arthur Lu
6cfe4e3f33 fixed bugs in data.py to work with database,
fixed object field in module.py: Metric,
fixed timestamp input in superscripy.py


Former-commit-id: 1e18cddc47
2022-02-04 03:06:09 +00:00
Dev Singh
40673169b2 update validation schema
Former-commit-id: 982cb0aa6b
2022-02-04 02:44:48 +00:00
Arthur Lu
7d08194636 patched issue in multiprocessing,
moved ConfigurationError to exceptions.py,
made pull use load_config in config.py


Former-commit-id: aed03369c9
2022-01-10 20:23:14 +00:00
Dev Singh
a940f3ffeb use tab size 4
Former-commit-id: 2f83604e14
2022-01-10 20:02:58 +00:00
Dev Singh
db4b020851 allow overriding competition in config
Former-commit-id: 40252dd74c
2022-01-10 15:40:58 +00:00
Dev Singh
18d4438f7f fix typo
Former-commit-id: e16295da2b
2022-01-10 15:35:06 +00:00
Dev Singh
c77dd1ea5f set tab config
Former-commit-id: 1c3fc9a872
2022-01-10 09:23:43 -06:00
Dev Singh
74542c1d8f add validation schema for persistent keys
Former-commit-id: ceaf3f2891
2022-01-10 09:21:46 -06:00
Dev Singh
b4c9ef22b6 pull some data from API, fix some datatype compats
Former-commit-id: 03ec0dd8fd
2022-01-09 22:19:50 -06:00
Arthur Lu
af74a69579 removed commented out code
Signed-off-by: Arthur Lu <learthurgo@gmail.com>

Former-commit-id: 3669712bec
2021-11-24 02:27:03 +00:00
Arthur Lu
ac66545226 changed Module interface to 3 functions
Signed-off-by: Arthur Lu <learthurgo@gmail.com>

Former-commit-id: 356b71be62
2021-11-23 22:23:59 +00:00
Arthur Lu
4b5db1aba8 moved config parsing functions to config.py
Former-commit-id: a251fef024
2021-11-06 01:50:55 +00:00
Arthur Lu
b9610b7b46 improved and streamlined config error handling
Former-commit-id: 99efefd302
2021-11-06 00:04:11 +00:00
Arthur Lu
14ed3cc507 Merge pull request #19 from titanscouting/modularize
Reflect modularization changes into v1

Former-commit-id: b0a0632b99
2021-11-05 16:22:04 -07:00
Arthur Lu
c90a35ff51 added empty modules for future additions
Former-commit-id: d234302cdc
2021-11-05 23:17:42 +00:00
Arthur Lu
60e88a5987 formalized module interface
Former-commit-id: 108284a94b
2021-11-02 05:37:27 +00:00
Arthur Lu
9c2946718f removed testing notebook,
anticipated removal of pandas requirement,
added pandas and matplotlib to pyinstaller exclusion,
removed unessasary option in build scripts


Former-commit-id: 0fd24d42e1
2021-10-30 03:51:03 +00:00
Arthur Lu
bd0c0d99f9 module replaces processing
Former-commit-id: d798bfe7d2
2021-10-30 03:11:10 +00:00
Arthur Lu
9ddf61621e fixed debug logging
Signed-off-by: Arthur Lu <learthurgo@gmail.com>

Former-commit-id: bd87111e08
2021-10-28 21:12:28 +00:00
Arthur Lu
0af93238be implemented dynamic module loading/running,
fixed minor issue in metric module

Signed-off-by: Arthur Lu <learthurgo@gmail.com>

Former-commit-id: 7be48af85e
2021-10-28 20:40:56 +00:00
Arthur Lu
6c8e738420 added Metric, Pit modules (theoretically working)
Signed-off-by: Arthur Lu <learthurgo@gmail.com>

Former-commit-id: 3ac4e96d2d
2021-10-28 20:13:57 +00:00