Right now fetchers and parsers are supposed to set total and progress, later a progress floating point number between 0.0 and 1.0 is computed on the FeedsSource level.

This means the assumption is that a natural number total and progress are managed at $state->total and $state->progress by plugins.

We should consolidate this into a single float 'progress' that is set by plugins with a helper function. Thus we consolidate progress tracking into a single floating point.

Comments

alex_b’s picture

Status: Active » Needs review
StatusFileSize
new8.77 KB

Tested manually, running simple tests right now. Will commit shortly.

alex_b’s picture

StatusFileSize
new8.85 KB

- progress needs to be FEEDS_BATCH_COMPLETE by default.
- we're still using FEEDS_BATCH_ACTIVE

alex_b’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.