Lubos Kocman
3daef24158
config.py: get rid of meaningless str() oneliners
2016-10-04 15:07:53 +02:00
Lubos Kocman
2f2688dc01
rida.config: add Apache MQ config options
...
Signed-off-by: Lubos Kocman <lkocman@redhat.com >
2016-10-04 15:07:53 +02:00
Nils Philippsen
a4cc011eed
put kerberos config params in rida configuration
...
koji.read_config() filters out configuration options it doesn't know
about silently. Currently this is about the keytab, principal, ccache
options. The latter may be needed e.g. in Docker containers which
currently(?) can't use Linux kernel keyrings and need the credential
cache to be a normal file.
2016-09-22 16:06:35 +02:00
Matt Prahl
256a57e906
Remove unnecessary import statement
2016-09-22 12:48:51 +02:00
Ralph Bean
b12bda2d55
Check FAS for packager status, not pkgdb.
...
Before this, we were consulting pkgdb to see if the given user was the
maintainer of any packages.
That mostly works... but technically, we want to consult FAS to see if
the user is in the packager group.
We found this when @mprahl was unable to submit builds to rida. I added
him to the packager group, but nothing changed! (As written, he had to
actually own a package).
This change fixes all that so that we query FAS instead of pkgdb.
Tests are added.
2016-09-07 16:35:25 -04:00
Ralph Bean
124b3c3900
Fix NameError for missing query.
2016-08-10 13:48:15 -04:00
Ralph Bean
36947b07a5
Do away with all this manual copying.
...
A breath of fresh air!!
2016-08-10 13:47:50 -04:00
Matt Prahl
7a928c3e8c
Adds database migration support, converts rida.conf to config.py, adds Vagrant support, seperates out app views to views.py, control of the app now manage.py
2016-08-01 13:22:01 -04:00
Ralph Bean
ecd2f5ce46
Found another missing config copy statement. This approach may not be scalable.
2016-07-16 20:23:39 -04:00
Ralph Bean
e1c9cde9a5
Fix to config.polling_interval.
2016-07-15 23:51:28 -04:00
Lubos Kocman
ef48854aa6
IOError prints filename. Very useful for debugging
2016-07-15 15:05:35 +02: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
5e7244fe9c
Allow configurable host and port for rida.py
2016-07-13 11:34:36 -04:00
Ralph Bean
80cd8c3fad
Get things working on py2 as well as py3.
2016-07-13 11:25:02 -04:00
Lubos Kocman
9eb5c25e25
Add rida/pdc.py - A rida related product definition center calls
...
* renamed and split config.pdc to config.pdc_url, config.pdc_insecure, config.pdc_develop
* test-pdc.py contains example usage
Signed-off-by: Lubos Kocman <lkocman@redhat.com >
2016-07-13 10:31:13 +02:00
Petr Šabata
3566271601
Add polling_interval to config
...
This will be used by ridad.
Signed-off-by: Petr Šabata <contyk@redhat.com >
2016-07-09 18:18:10 +02:00
Petr Šabata
cb68402c48
Merge #10 builder.py: Add Builder, GenericBuilder, KojiModuleBuilder classes
2016-07-08 12:32:34 +00:00
Jan Kaluza
3c865497bf
Use log_backend to choose from 'console', 'file' or 'journal' logging backends.
2016-07-08 10:46:59 +02:00
Lubos Kocman
a0e33c1649
Add Builder, GenericBuilder, KojiBuilder classes
...
* change config to reflect koji_config path and koji_profile
Signed-off-by: Lubos Kocman <lkocman@redhat.com >
2016-07-08 07:58:15 +00: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
36faac7040
Add simple auth based on the client certificate and pkgdb API.
2016-07-07 14:35:47 +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
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