We will gradually move to an alternative approach: the idea is to use a Web API (an entry point) and send data through POST/PUT HTTP requests.
That is, instead of using insert_result_into_database
we will use another method that will perform an HTTP request will all information
Right now we're sending data through SQL: https://github.com/TuxML/tuxml/blob/master/compilation/main.py#L238-L246 with the infamous
insert_result_into_database
We will gradually move to an alternative approach: the idea is to use a Web API (an entry point) and send data through POST/PUT HTTP requests.
That is, instead of using
insert_result_into_database
we will use another method that will perform an HTTP request will all informationsomething like: https://stackoverflow.com/questions/22947905/flask-example-with-post https://stackoverflow.com/questions/57517856/how-to-apply-compression-while-uploading-file-using-files-argument-with-request
This task involves two main tasks:
main.py
in tuxml for (1) assembling/structuring data (eg in JSON) and (2) send dataWe can partly reuse the ongoing work of Thomas about JSON export...