You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Introduce the concept of a "successor package" to the purldb data model #175
It is not a super-common situation (fortunately) but sometimes a package gets moved and/or renamed to an entirely new namespace. Consider log4j
pkg:maven/log4j/log4j@1.2.27 is followed by pkg:maven/org.apache.logging.log4j/log4j@2.0
indicating that it became part of a "logging" project. This is fine, but it can make it challenging to find the "next" or "later" versions of a specific package.
Modeling details to be determined: possibly a new field on the basic package definition called successor_package (purl format of course) or possibly a new relation, since this is a relatively rare occurrence.
this should probably be a 1:n mapping. There are some packages that have been split into multiple packages. One example is hostap which was succeeded by hostapd and wpa_supplicant. This is rare though.
Activity
Hritik14 commentedon Sep 5, 2023
More such examples:
Hritik14 commentedon Sep 5, 2023
Just a food for thought: If the commit history can be leveraged to trace a package, that could be super helpful.
pombredanne commentedon Sep 7, 2023
See also aboutcode-org/vulnerablecode#1284 and aboutcode-org/vulnerablecode#1285
armijnhemel commentedon Dec 31, 2023
this should probably be a 1:n mapping. There are some packages that have been split into multiple packages. One example is hostap which was succeeded by hostapd and wpa_supplicant. This is rare though.