Commit Graph

46 Commits

Author SHA1 Message Date
Jan Kaluza
fbfdf1a561 Fix type in 'ClientCertRequestHander' 2016-07-07 15:20:09 +02:00
Jan Kaluza
dd71a5a496 Add 'generate_localhost_cert.sh' script to generate localhost server.crt and server.key for testing 2016-07-07 14:43:04 +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
ad4bcc846e Add the basic skeleton code for ridad and move some TODOs around
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-07-04 17:17:43 +02:00
Petr Šabata
b802e72086 Files cleanup
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-07-01 16:17:46 +02:00
Petr Šabata
815626e47b Merge #8 Add listening for notifications as well. 2016-06-30 18:53:06 +00:00
Petr Šabata
43bd2e233a Merge #7 Add a requirements.txt file. 2016-06-30 18:53:00 +00:00
Ralph Bean
1099752c90 Also "listen" for messaging. 2016-06-30 13:23:30 -04:00
Ralph Bean
1e924139f1 Add a requirements.txt file.
I know you're recommending that people use the copr... but this should
let people develop in a virtualenv (like I do).
2016-06-30 12:41:33 -04:00
Petr Šabata
b6e5ee55ed Merge #6 A little script for submitting test builds. 2016-06-30 16:40:54 +00:00
Petr Šabata
57fd6b9e9b Merge #5 Create database with python. 2016-06-30 16:40:28 +00: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
82690718b3 A little script for submitting test builds. 2016-06-30 12:36:08 -04:00
Ralph Bean
a0c3d035a5 Create database with python. 2016-06-30 12:34:18 -04: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
Petr Šabata
c48ed2285a Merge #2 Add a gitignore file. 2016-06-30 15:39:40 +00:00
Ralph Bean
ac2024ca48 Add a gitignore file. 2016-06-30 10:48:37 -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
6e9af1a55e Document the HTTP 422 status in the README
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-29 18:14:27 +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
ef592d0e00 Add config options for default RPM repositories and caches
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-29 10:47:27 +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
adcbc55c78 Clear up some bits in the API
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-28 18:30:54 +02:00
Petr Šabata
9325bf01a6 Add a basic database class with an SQLAlchemy declarative scheme
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-28 15:15:38 +02:00
Petr Šabata
482c57ee07 Add a config option for the messaging system
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-28 15:08:13 +02:00
Petr Šabata
009475e18d Add a simple configuration class and a config file
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-28 14:26:59 +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
0d47dce6c0 Change the module build states
Locking is now implicit; the module should be composed only when it's marked as
ready.  That should be done by another service that handles dependant modules
rebuilds.

Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-23 13:44:28 +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
Petr Šabata
634bcd2eb7 Remove the old database schema
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-23 12:32:24 +02:00
Petr Šabata
c517765d60 Changed the database schema somewhat
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-23 12:31:16 +02:00
Petr Šabata
8b405dd7b6 Explicitly mention the koji build states in the DB schema
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-21 16:43:18 +02:00
Petr Šabata
01e868b9df README: Reword some API paragraphs
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-21 16:38:41 +02:00
Petr Šabata
b9e447c874 Don't use JSON code blocks, pagure.io doesn't play well with them
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-21 16:30:03 +02:00
Petr Šabata
8b05a0d495 First take at the orchestrator API, unversioned
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-21 16:28:05 +02:00
Petr Šabata
119861a989 Update README, describing what the orchestrator is
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-21 15:11:54 +02:00
Petr Šabata
5c7cc06820 Add the internal database schema
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-16 16:25:32 +02:00
Petr Šabata
214c95487e Add the workflow diagram
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-16 14:06:20 +02:00
Petr Šabata
eb16942e57 Add a README file
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-16 14:05:36 +02:00