- 19 Aug, 2012 1 commit
-
-
Clément Schreiner authored
-
- 15 Aug, 2012 4 commits
-
-
Clément Schreiner authored
-
Clément Schreiner authored
- Comments, debug messages, cleanup imports, better variable names. - nicer code in the ``nb_results`` property (BasePlugin)
-
Clément Schreiner authored
BasePlugin: - new methods: ``load`` and ``save`` for loading the data and committing the sqlalchemy session - ``_load_result``, allowing easy overridding in specific plugins' classes (e.g. QAPlugin) - ``db_objects`` attribute replaced by ``results`` Plugins class now simpler.
-
Clément Schreiner authored
Changes visible in plugins: - new decorator: importercmd, for BasePlugin subclasses' method. Make the method runnable by the importer for adding new data to the DB. - add a module-level variable in the plugin, ``models``, with the list of the plugin's models - the name of the plugin is passed as an argument to the BasePlugin subclass; it is no longer needed to add a 'plugin' class attribute in each model and the plugin class - new method for QAPlugin subclasses: ``new_test_result``, returning an instance of the ``test_model`` class - small detail: ``_new_result`` now ``new_result``, since the method is called in subclasses Implementation details: - nicer ``run`` method, using the above-described decorator and the ``inspect`` module instead of the former ugly ``test_*`` method discovery - new methods, ``_load_model`` and ``_load_models`` for processing the model list defined in the plugins. Easily derived in specific plugin classes (for example, in QAPlugin)
-
- 10 Aug, 2012 1 commit
-
-
Clément Schreiner authored
Comments and cosmetics. Add ``Base`` in debexpo.model.meta.__all__.
-
- 08 Aug, 2012 2 commits
-
-
Clément Schreiner authored
True if we found results in the DB.
-
Clément Schreiner authored
- Importer._run_plugins method needed to call load_plugins - Plugins.run_plugins now using the ``plugins`` attribute with loaded instances - ugly but temporary workaround in BasePlugin.run because of properties whose name starts with 'test_'
-
- 06 Aug, 2012 5 commits
-
-
Clément Schreiner authored
-
Clément Schreiner authored
- probably won't need all of them, will remove unnecessary ones
-
Clément Schreiner authored
-
Clément Schreiner authored
(comments, docstrings, missing imports, debug messages, breaking too long lines).
-
Clément Schreiner authored
- iteritems -> iter over the dictionary's item - __len__ -> gives the size of the dictionary
-
- 05 Aug, 2012 1 commit
-
-
Clément Schreiner authored
-
- 03 Aug, 2012 5 commits
-
-
Clément Schreiner authored
Status: working but ugly and not flexible enough.
-
Clément Schreiner authored
- 'modules' dictionary containing all plugin modules - 'plugins' dictionary containing only BasePlugin-derived class - new method '_what_plugins', for the configuration reading previously in import_plugins
-
Clément Schreiner authored
-
Clément Schreiner authored
-
Clément Schreiner authored
-
- 31 Jul, 2012 2 commits
-
-
Clément Schreiner authored
-
Clément Schreiner authored
-
- 29 Jul, 2012 2 commits
-
-
Clément Schreiner authored
-
Clément Schreiner authored
Needed to import all plugin models in debexpo.model (for setting up inheritance and relationships). Plugin modules are now loaded into the instance attribute 'modules' list, and run_plugins has been updated to use that.
-
- 21 Jul, 2012 1 commit
-
-
Clément Schreiner authored
Comment out extraction of sources (will have to be deleted, since Ko_lo's work has deprecated this).
-
- 03 Jul, 2012 5 commits
-
-
Clément Schreiner authored
-
Clément Schreiner authored
-
Clément Schreiner authored
-
Clément Schreiner authored
- run() only calls test methods - new db_objects property for accessing the results after tests have run
-
Clément Schreiner authored
-
- 02 Jul, 2012 1 commit
-
-
Clément Schreiner authored
-
- 30 Jun, 2012 1 commit
-
-
Clément Schreiner authored
-
- 25 Mar, 2012 1 commit
-
-
Nicolas Dandrimont authored
This addresses Bug [#313274]
-
- 07 Mar, 2012 2 commits
- 14 Feb, 2012 2 commits
-
-
Nicolas Dandrimont authored
-
Nicolas Dandrimont authored
The 'outcome' database field contains the long description of the plugin output.
-
- 27 Jan, 2012 1 commit
-
-
Nicolas Dandrimont authored
-
- 21 Sep, 2011 1 commit
-
-
Arno Töll authored
Fix a nasty bug with the orig.tar.gz handling. Make return status of find_orig_tarball() more obvious, optimize the importer not to copy the orig.tar.gz twice, fix the getorigtarball plugin handling
-
- 18 Sep, 2011 1 commit
-
-
Arno Töll authored
Fix a nasty bug with the orig.tar.gz handling. Make return status of find_orig_tarball() more obvious, optimize the importer not to copy the orig.tar.gz twice, fix the getorigtarball plugin handling
-
- 25 Aug, 2011 1 commit
-
-
Arno Töll authored
-