Skip to content

Introduce the concept of a "successor package" to the purldb data model #175

Open

Description

@DennisClark

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.

Activity

  1. added this to the v3.0.0 milestone on Aug 29, 2023
  2. Hritik14 commented on Sep 5, 2023

    @Hritik14
  3. Hritik14 commented on Sep 5, 2023

    @Hritik14

    Just a food for thought: If the commit history can be leveraged to trace a package, that could be super helpful.

  4. pombredanne commented on Sep 7, 2023

    @pombredanne
    Member
  5. armijnhemel commented on Dec 31, 2023

    @armijnhemel

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions