tweag / nixpkgs-graph-explorer

Explore the nixpkgs dependency graph
MIT License
15 stars 0 forks source link

Modify pname and version in nixpkgs_metadata to fix pname conflicts #88

Closed zz1874 closed 1 year ago

zz1874 commented 1 year ago

Within this PR, we have made modifications to the pname and version attributes in nixpkgs_metadata by utilizing the parseDrvName function.

This adjustment enables us to obtain accurate values for pname and version. The updated pname will help resolve conflicts in the UI, while retaining the original pname and version outside of nixpkgs_metadata for future reference.

fix #84

zz1874 commented 1 year ago

@GuillaumeDesforges Ah I might have misunderstood your point. Now, I keep the data itself as it should be, and change the data model and the ingestion process a bit to let it absorb the parsed pname rather than the pname from Nix.