-
Notifications
You must be signed in to change notification settings - Fork 324
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
Analyzer does not allow to have multiple independent projects with the same type / name / version #8498
Comments
@oss-review-toolkit/core-devs, how about if we simply add parent directory names as suffixes to the project name until the is unique? |
A couple of questions: Do you propose this as a general solution or specific to Cargo? Why add the directory names as suffixes and not prefixes? That seems unintuitive. I would rather prefix them and always take the full path, as it could otherwise be confusing. So for the example above use the names Should this always happen or only if there are conflicting names? |
As a general solution, see also the PIP case mentioned in the quoted TODO.
Because at the Cargo example, I find
Probably yes, as otherwise names could get unnecessary complicated. |
I kind of like this approach, however I'm not sure about the details. For example, this approach could be difficult for package managers that support project dependencies (e.g. Maven), because those references might break if we rename projects. |
Some insights here, are we aiming to a common global identification ?
Is this a little more logic considering that we have a better tracking from exact folder |
IIRC in |
See
ort/analyzer/src/main/kotlin/AnalyzerResultBuilder.kt
Lines 57 to 59 in 6fca267
The same occurs when analyzing e.g. https://github.com/aws/glide-for-redis.git as it contains multiple (independent)
Cargo.toml
files wit the same content, likeThe text was updated successfully, but these errors were encountered: