TuxML / tuxml

The main repository of the TuxML project contains the scripts for building Linux kernel configurations in the large.
Apache License 2.0
4 stars 2 forks source link

Alternative way of sending data #46

Closed acherm closed 3 years ago

acherm commented 3 years ago

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 information

something 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:

We can partly reuse the ongoing work of Thomas about JSON export...

acherm commented 3 years ago

nice work guys!