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

Cookbook dependencies are listed twice #442

Closed
juliandunn opened this Issue Jun 13, 2014 · 4 comments

Comments

Projects
None yet
4 participants
@juliandunn
Contributor

juliandunn commented Jun 13, 2014

In the beta site, cookbook dependencies are listed twice. See attached.
screen shot 2014-06-13 at 2 05 53 am

@tristanoneil tristanoneil added the Bug label Jun 13, 2014

@sethvargo sethvargo changed the title from dependencies are listed twice to Cookbook dependencies are listed twice Jun 13, 2014

@sethvargo

This comment has been minimized.

sethvargo commented Jun 13, 2014

I'm curious if they are in the DB twice. And if that's the case, it will likely mess with the /universe endpoint too.

@bcobb bcobb self-assigned this Jun 13, 2014

@bcobb

This comment has been minimized.

Contributor

bcobb commented Jun 13, 2014

It looks like there are duplicates in the database. I'll be looking into the underlying issue and get a fix out by early next week. Duplicates shouldn't affect the universe endpoint, though, since dependencies are a map from name to version constraint (not that we should have any duplicates, but Berkshelf's API design appears to be resilient to them).

This was referenced Jun 16, 2014

@bcobb bcobb closed this in #461 Jun 17, 2014

@bcobb

This comment has been minimized.

Contributor

bcobb commented Jun 17, 2014

A chef-client run this morning pushed out #461 which removed existing duplicates and put an index in place to prevent any further duplicates.

@sethvargo

This comment has been minimized.

sethvargo commented Jun 17, 2014

Awesome. Thank you!

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