-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Incorrect comparison of paths for namespace resolution #104
Labels
Comments
pavel-kirienko
added
class-defect
help wanted
Extra attention is needed
priority-high
labels
Jun 4, 2024
thirtytwobits
added a commit
to thirtytwobits/pydsdl
that referenced
this issue
Jun 27, 2024
This changes our logic for detecting duplicate definitions on case-sensitive file-systems to only operate on files of interest and to fix this detection logic per issue OpenCyphal#104. If globular searches find duplicates we do not waste time detecting this until/unless these duplicates are actually considered when parsing target definitions.
Closed
thirtytwobits
added a commit
to thirtytwobits/pydsdl
that referenced
this issue
Jun 28, 2024
This changes our logic for detecting duplicate definitions on case-sensitive file-systems to only operate on files of interest and to fix this detection logic per issue OpenCyphal#104. If globular searches find duplicates we do not waste time detecting this until/unless these duplicates are actually considered when parsing target definitions. # Conflicts: # pydsdl/_namespace.py
thirtytwobits
added a commit
to thirtytwobits/pydsdl
that referenced
this issue
Jun 28, 2024
This changes our logic for detecting duplicate definitions on case-sensitive file-systems to only operate on files of interest and to fix this detection logic per issue OpenCyphal#104. If globular searches find duplicates we do not waste time detecting this until/unless these duplicates are actually considered when parsing target definitions.
thirtytwobits
added a commit
to thirtytwobits/pydsdl
that referenced
this issue
Jun 28, 2024
This changes our logic for detecting duplicate definitions on case-sensitive file-systems to only operate on files of interest and to fix this detection logic per issue OpenCyphal#104. If globular searches find duplicates we do not waste time detecting this until/unless these duplicates are actually considered when parsing target definitions.
Merged
thirtytwobits
added a commit
that referenced
this issue
Jul 16, 2024
This changes our logic for detecting duplicate definitions on case-sensitive file-systems to only operate on files of interest and to fix this detection logic per issue #104. If globular searches find duplicates we do not waste time detecting this until/unless these duplicates are actually considered when parsing target definitions. --------- Co-authored-by: Pavel Kirienko <pavel.kirienko@gmail.com>
This fix will be available with version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When trying to defend against
/a/b/c.dsdl
from colliding with/a/b/c/d.dsdl
it also stops/a/b/cother/d.dsdl
since it compares with astartswith
and not a full basename compare inpydsdl/pydsdl/_namespace.py
Line 270 in 98453a4
The text was updated successfully, but these errors were encountered: