Refactor #1508
closedStory #1150: As a user, I can lazily fetch repositories
Refactor the lazy download tasks to avoid the Step pattern
0%
Description
Until recently, the lazy download task made use of the Step pattern to do things like progress reporting. However, this has changed and the LazyDownloadStep in pulp/server/controllers/repository.py is still written in the Step pattern.
This involves turning the LazyDownloadStep class into a pure Listener class and moving the progress reporting into a place accessible outside the class. This will also allow the task to report progress on things like building the download requests, which can take quite a while and would be nice to know about.
Updated by bmbouter over 5 years ago
- Status changed from NEW to CLOSED - WONTFIX
Updated by bmbouter over 5 years ago
Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.