Page MenuHomeSoftware Heritage
Paste P459

ugly bitbucket lister workaround
ActivePublic

Authored by ardumont on Jul 4 2019, 4:53 PM.
on worker09:
```
@app.task(name=__name__ + '.IncrementalBitBucketLister')
def incremental_bitbucket_lister(**lister_args):
lister = new_lister(**lister_args)
# HACK: remove when unstuck
from urllib.parse import unquote
from iso8601 import parse_date
min_bound = parse_date(unquote('2015-05-02T1537%3A26.103002%2B00%3A00'))
lister.run(min_bound=min_bound, max_bound=None)
```
Rescheduling the task and now it lists again!

Event Timeline

ardumont changed the title of this paste from beurk to irk: unstuck bitbucket lister.Jul 4 2019, 4:57 PM
ardumont edited the content of this paste. (Show Details)
ardumont changed the title of this paste from irk: unstuck bitbucket lister to ugly unstucking bitbucket lister.
ardumont changed the title of this paste from ugly unstucking bitbucket lister to ugly bitbucket lister workaround.Aug 26 2019, 10:33 AM