1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-21 09:46:19 +02:00
github.com_openSUSE_osc/osc
Marcus Huewe b6c9505274 - reworked the plugin loading mechanism
Using the "old" exec approach isn't possible anymore because it'll break all
plugins which aren't compatible with python3 (for instance the usage of
python2's "print" statement will lead to an error). In order to circumvent
this problem we do the following:

- import the plugin/module
- update the module's global symbol table with the "globals()" of the
  commandline module
- bind the module's "do_*" functions to the "Osc" class

This basically mimics the old "exec" semantics.
2013-06-13 20:10:12 +02:00
..
util util/archquery.py: remove unnecessary semicolon 2013-05-27 14:30:08 +02:00
__init__.py add vim mode lines to avoid evil tab characters :-) 2010-02-25 09:53:45 +01:00
.gitignore convert svn:ignore to gitignore 2009-12-03 19:19:53 +01:00
babysitter.py - babysitter: print out headers in case of status 5XX 2013-05-02 22:33:04 +02:00
build.py - reverted commit 9acda37d5f 2013-06-03 16:32:39 +02:00
checker.py checker.py: "More than one statement on a single line" 2013-05-27 14:58:58 +02:00
cmdln.py cmdln.py: fix reimport of 're' 2013-05-27 14:13:19 +02:00
commandline.py - reworked the plugin loading mechanism 2013-06-13 20:10:12 +02:00
conf.py - fixed issue #28 ("calling with -H option causes traceback") 2013-05-02 14:55:31 +02:00
core.py - do not show unpublished information in dirty situation 2013-06-13 16:42:25 +02:00
fetch.py fetch.py: fix "More than one statement on a single line" 2013-05-27 14:58:15 +02:00
meter.py python3 compatibility: print function 2013-04-16 10:51:41 +02:00
OscConfigParser.py OscConfigParser.py: silence pylint false positive E0702 2013-05-27 15:20:56 +02:00
oscerr.py - handle errors of source service runs 2011-05-24 10:49:08 +02:00
oscssl.py oscssl.py: remove reimport of m2 from M2Crypto 2013-05-27 13:47:48 +02:00
oscsslexcp.py - remove shebang line to make rpmlint happy 2010-03-21 22:57:06 +01:00