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

sync reports have an error when diffing source repos #44

Open
tfoote opened this issue May 2, 2017 · 0 comments
Open

sync reports have an error when diffing source repos #44

tfoote opened this issue May 2, 2017 · 0 comments

Comments

@tfoote
Copy link
Member

tfoote commented May 2, 2017

The exception looks like this:

Exeception: Failed to load from url file:///var/repos/ubuntu/main/dists/xenial/main/source/Packages [<urlopen error [Errno 2] No such file or directory: '/var/repos/ubuntu/main/dists/xenial/main/source/Packages'>] 

This is because source directories differ from binary directories in the debian repository layout and use Source.gz instead of Packages for the filename.

The correct thing to do would be to detect we're looking for source entires, switch the url to Source.gz and unpack the result before trying to diff the packages.

Right now it's the exception is caught and ignored. And we don't need the result from that section. So this is a low priority enhancement.

Thanks to @wjwwood for flagging this. An example of this failure is: http://build.ros.org/job/Jrel_sync-packages-to-main/12/consoleFull

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

No branches or pull requests

1 participant