Skip to content

Refactor classes Component and Package to have a shared base class #608

@simu

Description

@simu

Context

The current implementation uses standalone classes for managing components and packages, but the two implementations share a bunch of code, see e.g. #602 or #607. We really should refactor the two classes to have a shared base class which implements the generic functions which are identical for both dependency types.

Look at ComponentTemplater, PackageTemplater and their base class Templater for inspiration.

Alternatives

Keep code base as it currently is, accepting that we duplicate some identical code between classes Component and Package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    changePR with a minor change which affects users

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions