Commit Graph

32 Commits

Author SHA1 Message Date
Lubos Kocman
64ce1a517a fixed typo in rida.py 2016-07-14 14:32:04 +02:00
Lubos Kocman
020e75865b Merge branch 'master' of ssh://pagure.io/fm-orchestrator into ridad 2016-07-14 13:48:05 +02:00
Ralph Bean
14a4536583 Reorganize the db somewhat.. 2016-07-13 15:40:39 -04:00
Ralph Bean
c25f681731 Allow turning of ssl for rida.py
Even if it means that authn won't work.

Nice for development.
2016-07-13 14:40:59 -04:00
Ralph Bean
12a9f6d7db Give the Database a context manager interface. 2016-07-13 14:39:00 -04:00
Ralph Bean
bd30153feb Move ridad into an importable location and validate module state strings. 2016-07-13 14:03:17 -04:00
Ralph Bean
5e7244fe9c Allow configurable host and port for rida.py 2016-07-13 11:34:36 -04:00
Ralph Bean
907556ddb4 Break the ssl stuff out into a function and validate that the files are present. 2016-07-12 10:17:56 -04:00
Petr Šabata
bb814d3d55 rida.py cleanup
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-07-09 14:45:40 +02:00
Petr Šabata
d7b69fcece Check if all the submitted components are available
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-07-09 14:36:39 +02:00
Petr Šabata
3f9ebea700 First bit of the input validation
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-07-08 17:30:42 +02:00
Petr Šabata
2b62d67387 Check whether the module already exists in the database
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-07-08 14:29:42 +02:00
Petr Šabata
a45f1888a8 Attempt to fetch the modulemd file
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-07-08 14:11:39 +02:00
Petr Šabata
4da929ac93 Read raw data and add a submit-build.sh test script
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-07-08 12:32:28 +02:00
Petr Šabata
fc91ed08dc Sort imports, remove obsolete TODOs
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-07-08 10:15:21 +02:00
Jan Kaluza
6314354fd4 Use built-in 'logging' module for logging. Add Logger.init_logging function to initialize logging according to config file. 2016-07-08 07:28:25 +02:00
Jan Kaluza
fbfdf1a561 Fix type in 'ClientCertRequestHander' 2016-07-07 15:20:09 +02:00
Jan Kaluza
36faac7040 Add simple auth based on the client certificate and pkgdb API. 2016-07-07 14:35:47 +02:00
Petr Šabata
ebb23a4274 Merge #4 Bugfix - this was backwards. 2016-06-30 16:40:10 +00:00
Petr Šabata
6931ce04e7 Merge #3 Basics of messaging. 2016-06-30 16:39:20 +00:00
Ralph Bean
a1188f972e Bugfix - this was backwards. 2016-06-30 12:32:03 -04:00
Ralph Bean
c691973601 Basics of messaging. 2016-06-30 12:30:01 -04:00
Ralph Bean
7b3224e2a8 Return error explanations to the user. 2016-06-30 10:47:12 -04:00
Petr Šabata
b7eb131d22 Clean up TODOs and pretend the submission works
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-30 10:54:24 +02:00
Petr Šabata
d54d1dcabb Rename the Session class to Database
This feels way more natural; you don't have sessions with session properties
anymore.

Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-30 10:40:47 +02:00
Petr Šabata
9395650eb5 Extend the module build submission handler
This is still not done.  See all the FIXMEs.  Oh my.

Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-29 18:13:45 +02:00
Petr Šabata
9d3a1b1e03 Add python3 shellbangs to rida and ridad
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-29 17:15:09 +02:00
Petr Šabata
edcc35440a Add basic checks to module build submission handler
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-29 17:14:05 +02:00
Petr Šabata
fdfb1ed830 Implement the query bits of the API
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-28 18:31:58 +02:00
Petr Šabata
400e8bfde8 Sharing an early development version
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-24 10:28:04 +02:00
Petr Šabata
e08865cee7 Add TODOs to rida and ridad.
This is hopefully the complete outline of what needs to be done.

Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-23 13:40:57 +02:00
Petr Šabata
87df2d3b3d Add the base file structure.
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-23 12:57:45 +02:00