Skip to content

python_dep_local_graph case sensitivity #2

@Vaults

Description

@Vaults

Hi,

Unfortunately the neo4j database in https://github.com/wagenrace/python_dep_local_graph has some quirks with case sensitivity. It seems that the Package column has a capitalized first letter on Windows, whereas it has a non-capitalized first letter on Linux. This leads to neo4j having a lower case package identifier on Linux (production) and the query breaking.

Proposed fix:

  • Force lowercase on the identifiers on import somehow
  • Change MATCH (n:Package)-[:DEPENDS_ON*0..]->(m:Package) to MATCH (n:package)-[:DEPENDS_ON*0..]->(m:package)
    in line
    MATCH (n:Package)-[:DEPENDS_ON*0..]->(m:Package)
    as this is currently the case in production.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions