Commit Graph

31 Commits

Author SHA1 Message Date
Petr Šabata
6931ce04e7 Merge #3 Basics of messaging. 2016-06-30 16:39:20 +00: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