Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run mock_init in Future + init dnf sack #255

Open
jsilhan opened this issue Aug 19, 2015 · 4 comments
Open

run mock_init in Future + init dnf sack #255

jsilhan opened this issue Aug 19, 2015 · 4 comments
Assignees
Labels

Comments

@jsilhan
Copy link
Member

jsilhan commented Aug 19, 2015

use Futures
DNF sack should be also Future, the repodir should be set to /etc/yum.repos.d/ in mock and cachedir should be set to /var/cache/dnf/ in mock.

@jsilhan
Copy link
Member Author

jsilhan commented Aug 19, 2015

it should be one commit each:

  • make mock init a Future with defined end
  • previous from page 2 to 1 should cancel Future (GUI)
  • load dnf sack as Future mapped to mock init

@jsilhan
Copy link
Member Author

jsilhan commented Feb 3, 2016

#372 should replace this. QtScheduler could be probably used.

@onionka
Copy link
Member

onionka commented Mar 6, 2016

Will we ever need to cancel running initialization of mock and dnf? Because it cannot be done with future object (or I don't know the right way).

@jsilhan
Copy link
Member Author

jsilhan commented Mar 8, 2016

you don't need to deal with canceling the Future right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants