- Feb 06, 2019
-
-
David Douard authored
making 2 of them fail (in test_bb_lister.py and test_gh_lister.py).
-
David Douard authored
-
David Douard authored
-
David Douard authored
with conventional structure { 'cls': cls, 'args': {}} r
-
David Douard authored
-
David Douard authored
and add a 'all' possibel value for it, so that one can initialize all the database for all listers at once.
-
- Feb 01, 2019
-
-
David Douard authored
-
David Douard authored
the db query actually returns a table-like (2d) structure.
-
David Douard authored
-
David Douard authored
-
- Jan 30, 2019
-
-
Antoine Lambert authored
-
- Jan 17, 2019
-
-
David Douard authored
since this is now handled by the SWHTask itself.
-
- Jan 16, 2019
-
-
David Douard authored
pytest<4 because of https://github.com/pytest-dev/pytest/issues/4641
-
- Jan 15, 2019
-
-
David Douard authored
-
David Douard authored
-
David Douard authored
-
David Douard authored
when this lister is called for the first time, db_num_entries() may return a null value, so the min() will also be zero, making the range() call crash.
-
David Douard authored
which it won't be when the lister is called for the first time (since the run() method will be be called with min_bond=None in this case).
-
- Jan 14, 2019
-
-
David Douard authored
so that we can easily manage its configuration (especially in the docker environment) by referring to this lister as only 'bitbucket' everywhere (ie. python package name and config file names).
-
- Jan 10, 2019
-
-
David Douard authored
since it's now the default base class in swh-scheduler (>= 0.0.39)
-
David Douard authored
-
David Douard authored
using the host of the given url. This allows to create a lister task by simply specify the API base url and prevent 'inconsistent by default' behavior, eg. with: swh-scheduler task add swh-lister-gitlab-full \ api_baseurl=https://0xacab.org/api/v4 the created task does not use 'gitlab' as instance name (but '0xacab.org' here). It's still possible to explicitely specify the instance name if needed.
-
- Jan 08, 2019
-
-
David Douard authored
-
David Douard authored
-
David Douard authored
-
David Douard authored
-
David Douard authored
-
David Douard authored
-
David Douard authored
in order to be able to run unit tests using celery pytest fixtures, we use a dedicated swh_app fixture that ensure the "main" celery app is the test app (otherwise subtasks won't work).
-
David Douard authored
- use a generator instead of a while loop - declare a local logger and use it instead of the root logger.
-
David Douard authored
-
David Douard authored
Get rid of the class based task definition in favor of decorator-based task declarations. Doing so, we can get rid of core/tasks.py Task names are explicitely set to keep compatibility with task definitions in schedulers' database. This also add debug statements at the beginning and end of each lister task.
-
- Dec 20, 2018
-
-
David Douard authored
-
David Douard authored
-
- Dec 12, 2018
-
-
David Douard authored
the default implementation of SQLAlchemy's declarative API should work just fine.
-
David Douard authored
it looks unused.
-
- Dec 03, 2018
-
-
Antoine Lambert authored
This new lister enables to get only new or updated npm packages since the last listing operation. Related T1378 Closes T1398
-
- Nov 26, 2018
-
-
Antoine Lambert authored
Related T1378 Closes T1380
-
- Nov 23, 2018
-
-
David Douard authored
related to T1330
-
- Nov 09, 2018
-
-
David Douard authored
-