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

use cached repodata.json #20

Merged
merged 3 commits into from
Nov 4, 2021
Merged

use cached repodata.json #20

merged 3 commits into from
Nov 4, 2021

Conversation

wolfv
Copy link
Member

@wolfv wolfv commented Nov 3, 2021

@Tobias-Fischer I am continuing here.

The remaining problem is about the graph sorting.

Basically we have a subset of packages that need to be migrated. However, if we only topologically sort the packages that need to be migrated then we don't end up with the proper sorting. We need to sort the entire graph and then use that to find the right order to build the packages in.

For that we could use either the repodata.json or the rosdistro data. I think I'd like to use the repodata.json info for now, and see if that works out.

@Tobias-Fischer
Copy link
Contributor

Gotcha, thanks for that! Agreed that using the repodata.json is probably the better way to go.

@wolfv
Copy link
Member Author

wolfv commented Nov 4, 2021

Ok, this now sorts based on the whole tree!

Takes a bit more time, but results are better! :)

@wolfv wolfv merged commit 13e99d5 into RoboStack:master Nov 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants