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
Allow installation of different repositories with the same name in a … #1366
Conversation
…single install transaction.
Ping @gregvonkuster @bgruening |
@mvdbeek Thanks for looking into this issue. I think it would be better to not Repositories in the tool shed are usually defined uniquely by a combination of repository name, owner and changeset revision. If I remember correctly, each repo_info_dict in this case has this structure: {<repository name> : Have you found this to be correct? If so, the following may be a better approach for your check (this has not been tested!!): Note that I've also added a break in the for loop so that is does not continue If the above structure is not correct, then we just need the owner (and possibly the changeset_revision as well) rather than a tool_id. Will a combination of repository name and owner be sufficient to make this check? owner = required_repo_infor_dict[required_repo_info_dict_key[4] |
I don't think this is currently limited to tools, packages have a tool_id as well. You're right about break, that saves an additional loop though. |
@mvdbeek Ok, sounds good! ;) |
I'll add the break and do more testing, marking this WIP in the meantime. |
OK, i tested this now with the smaller white_ghost testsuite (which doesn't contain any tools) and also with the very large metavisitor suite that we will send out for peer-review soon. |
Works for me on with the test repo and does not break a few tools I tested. |
This looks great, thanks a bunch @mvdbeek ! |
next beer is on me, @mvdbeek ! |
Allow installation of different repositories with the same name in a …
@bgruening I think this is fine. ;) |
Awesome! Thanks a bunch @mvdbeek! |
Alright, thanks everyone! |
…single install transaction.
Addresses issue #1338