-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Labels
Milestone
Description
Via #65 (comment):
It would be better to optionally extend the cache building to explicitly know how to walk source repos. And then with the extended cache the rosinstall_generator could take advantage of the extended cache and fallback to upstream sources.
The biggest issue I see here is that unlike with the GBP release branches, it's harder to tell if a devel branch cache is stale or not. The best thing you could do would be cache the commit hash, and then use git ls-remote to determine if the branch has moved on from that point.
Apart from that, there are two major ways I see this going:
rosdistro_build_cachegets a switch like--from-source, and the resulting cache format is unchanged. Has the disadvantage of needing to build a separate cache for source, but the advantage is that other tooling like rosinstall_generator is unchanged.- The cache format changes, and the source branch package.xml is cached alongside the release one.
Thoughts?
Reactions are currently unavailable