Commit Graph

1573 Commits

Author SHA1 Message Date
Matt Prahl
81e6b69b37 Use the m2ext RPM instead of install via pip in Docker 2016-10-10 13:07:34 -04:00
Matt Prahl
33b9234acd Change the Jenkins Dockerfile to only have the build dependencies to install via pip 2016-10-10 13:05:50 -04:00
Nils Philippsen
2ae9e872fa create koji sessions on behalf of users 2016-10-05 15:30:24 +02:00
Lubos Kocman
45c61c9249 Change loglevel for Dev and Test Configuration to DEBUG + note in readme 2016-10-04 15:52:24 +02:00
Lubos Kocman
151d4ebadb messaging: amq PEP improvements 2016-10-04 15:07:54 +02:00
Lubos Kocman
452aba0373 messaging: publish*, unify order of args, remove positional arg 2016-10-04 15:07:54 +02:00
Lubos Kocman
b00ea5ac95 messaging: fixed typo 2016-10-04 15:07:54 +02:00
Lubos Kocman
6ec05fd058 messaging.py: mng -> msngr 2016-10-04 15:07:54 +02:00
Lubos Kocman
bb1110758e remove unuseful/obsolete get_amq_addr call 2016-10-04 15:07:54 +02:00
Lubos Kocman
b090a8d7f8 messaging: add space after comma 2016-10-04 15:07:53 +02:00
Lubos Kocman
3daef24158 config.py: get rid of meaningless str() oneliners 2016-10-04 15:07:53 +02:00
Lubos Kocman
372367bb9c messaging: use single isinstance() 2016-10-04 15:07:53 +02:00
Lubos Kocman
b576dd70d7 config: fixed typo in path 2016-10-04 15:07:53 +02:00
Lubos Kocman
11703ccb41 Improved conditions for message filtering 2016-10-04 15:07:53 +02:00
Lubos Kocman
9783fe6c04 Fixed hasattr 2016-10-04 15:07:53 +02:00
Lubos Kocman
c83eb15194 config.py: example amq config
Signed-off-by: Lubos Kocman <lkocman@redhat.com>
2016-10-04 15:07:53 +02:00
Lubos Kocman
823f851d29 rida.messaging add initial amq support
Signed-off-by: Lubos Kocman <lkocman@redhat.com>
2016-10-04 15:07:53 +02:00
Lubos Kocman
0787abd1b5 rida.messaging: few changes:
- pass over conf as param (helps amq implementation)
- modname -> service to be less fedmsg centric

Signed-off-by: Lubos Kocman <lkocman@redhat.com>
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
31ec1835db rename method to KojiModuleBuilder.get_session()
KojiModuleBuilder.get_session_from_config() will require the owner as an
argument, therefore drop encoding arguments in the method name.
2016-10-04 13:58:23 +02:00
Nils Philippsen
b94c460184 add owner attribute to Builder classes 2016-10-04 13:58:23 +02:00
Nils Philippsen
300f947425 get rid of unused koji profile module 2016-10-04 13:58:23 +02:00
Nils Philippsen
5368b6b344 actually use Builder factory 2016-10-04 13:58:17 +02:00
Nils Philippsen
ede7543970 make Builder a new-style class 2016-10-04 13:55:35 +02:00
Matt Prahl
388687a19d Fix subheadings in the README 2016-09-30 11:15:13 -04:00
Nils Philippsen
d1c03c1309 Merge branch 'mprahl/vagrant-ridad' 2016-09-30 17:04:49 +02:00
Matt Prahl
482a6b3cff Add documentation on using Vagrant for development 2016-09-30 17:04:10 +02:00
Matt Prahl
0aab0b6edb Add support for running ridad in the Vagrant guest 2016-09-30 17:04:10 +02:00
Lubos Kocman
e6e8d13b5c fix incorrect rida.logger reference to rida.log
Signed-off-by: Lubos Kocman <lkocman@redhat.com>
2016-09-30 16:59:08 +02:00
Nils Philippsen
632812f15d Merge branch 'mprahl/message-signing' 2016-09-30 09:59:07 +02:00
Matt Prahl
7a84e65752 Fix the API URL in submit-build.sh 2016-09-27 16:40:03 -04:00
Matt Prahl
02b24cdda9 Replace generate_localhost_cert.sh with python manage.py generatelocalhostcert 2016-09-27 16:40:03 -04:00
Matt Prahl
d86374f360 Add documentation on how to setup fedmsg signing in development 2016-09-27 16:40:03 -04:00
Matt Prahl
c77be1c4d3 Add the dependencies required for fedmsg signing 2016-09-27 16:40:03 -04:00
Matt Prahl
681ca5a8cf Implement python manage.py gendevfedmsgcert command 2016-09-27 16:40:03 -04:00
Matt Prahl
610d6a8c81 Split up long lines to comply with PEP8 standards 2016-09-27 16:40:02 -04:00
Nils Philippsen
7260a029d1 Merge branch 'abstract-messaging-repr' 2016-09-22 16:08:59 +02:00
Matt Prahl
94723614f5 Remove the use of pprint in main.run function 2016-09-22 16:08:52 +02:00
Nils Philippsen
2233f60f58 implement BaseMessage.__repr__
Take advantage of the information contained in signature/parameter
objects to represent positional and keyword arguments properly. Fall
back to using the funcsigs module on Python 2.
2016-09-22 16:08:52 +02:00
Matt Prahl
8f36d863cf Merge #66 Put Kerberos options in rida config 2016-09-22 16:07:49 +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
Nils Philippsen
7689c05c51 remove bogus code 2016-09-22 16:06:35 +02:00
Nils Philippsen
1c18f00a52 Merge branch 'mprahl/change-api-layout' 2016-09-22 13:27:06 +02:00
Matt Prahl
4f629fe64c Use view type better suited for a REST API
MethodView maps to REST APIs intuitively, the method names on the class
are the same as the handled HTTP methods (just lowercase).
2016-09-22 13:26:31 +02:00
Matt Prahl
5aef7fed98 Fix whitespace, indentation 2016-09-22 13:26:11 +02:00
Nils Philippsen
9cc7649444 Merge branch 'mprahl/python3-compatibility' 2016-09-22 12:49:08 +02:00
Matt Prahl
ec8126c226 Fix/cleanup Python 3 compatibility 2016-09-22 12:48:51 +02:00
Matt Prahl
256a57e906 Remove unnecessary import statement 2016-09-22 12:48:51 +02:00
Matt Prahl
634fabb798 Fix bug "object has no attribute" 2016-09-21 16:30:45 -04:00
Jan Kaluza
e236e86fce Prefix API calls with version number (for example '/1/'). Add initial support for multiple versions of API calls. 2016-09-21 15:58:15 +02:00